View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0032865||Lazarus||IDE||public||2017-12-21 04:05||2020-08-16 14:42|
|Reporter||cordylus||Assigned To||Martin Friebe|
|Fixed in Version||2.2|
|Summary||0032865: When I undo to unchanged state, lines are still marked yellow and I can't save to mark them green|
|Description||I'm talking about those bars on the left of the editor.|
Unchanged state is when there is no star at the tab header and no Modified word in the status bar. In this state Ctrl+S is blocked, even though the lines may be still marked as changed.
I'd like to see them become green automatically once I am at the saved (unchanged) state, but allowing Ctrl+S is an acceptable solution too. Currently I have to add and delete a character to work around it.
|Steps To Reproduce||Open a file, make a change, undo, try Ctrl+S, doesn't make the bars green.|
|Tags||No tags attached.|
|Fixed in Revision||63752|
I see a third option: To make them unmarked (no color) if they return to unchanged.
Not yet decided which option will be implemented.
I like the idea of unmarking (in the best case - on every undo), just thought it would be too complex to implement. IIUC, it would be like removing the yellow layer and restoring either unmarked or green, depending on what was there before the change.
Please test with r63752
|2017-12-21 04:05||cordylus||New Issue|
|2017-12-23 11:57||Martin Friebe||Assigned To||=> Martin Friebe|
|2017-12-23 11:57||Martin Friebe||Status||new => assigned|
|2017-12-23 11:59||Martin Friebe||Note Added: 0104963|
|2017-12-23 22:24||cordylus||Note Added: 0104977|
|2017-12-23 23:23||cordylus||Note Edited: 0104977||View Revisions|
|2020-06-12 23:00||Martin Friebe||Relationship added||has duplicate 0037209|
|2020-08-16 14:42||Martin Friebe||Status||assigned => resolved|
|2020-08-16 14:42||Martin Friebe||Resolution||open => fixed|
|2020-08-16 14:42||Martin Friebe||Fixed in Version||=> 2.2|
|2020-08-16 14:42||Martin Friebe||Fixed in Revision||=> 63752|
|2020-08-16 14:42||Martin Friebe||LazTarget||=> 2.2|
|2020-08-16 14:42||Martin Friebe||Note Added: 0124921|