You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An issue that has appeared with change markers is that SciTE's Revert command leads to the whole document getting a green change mark as revert just reloads each byte of the file. Since its useful to undo to before the revert, this point can't just be set as the start of change history to appear clear.
It may be possible to add a 'revert' state to the change history that could appear clear but its not obvious what the semantics of this state would be.
At least one downstream project has resorted to emptying the undo buffer on file reload, then toggling change history off and on, to simulate a freshly opened file: notepad-plus-plus/notepad-plus-plus#13858
What should happen on undo of the reload?
I guess that would depend on the state of the files.keep_edit_history_on_reload option . . . ?
If I read the linked notepad issue correctly notepad can't undo the reload, so truncating there makes sense, but Geany can undo the reload (depending on the option but its default is true IIRC) like Scite. So as Neil says on the Scintilla issue, (thanks for finding, I thought I had seen it somewhere) its not clear how to handle it.
See title
geany 2.1 (git >= 06b8e6b) (built on 2024-04-05 with GTK 3.24.33, GLib 2.72.4)
The text was updated successfully, but these errors were encountered: