-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
caret position is not reverted by Undo in splitted ui-tab #5285
Comments
26sec.mp4these steps? |
what if you run 'Undo' by a hotkey, instead of Cmd Palette? |
the same like on the video - doesn't matter if Undo by hotkey and/or by Cmd… |
Hmmmm. I reproduced it also on macOS. will check on Win32 later. |
current code in atstrings.pas has events to change carets/markers/attribs during Undo action
but code lacks events for the paired editor (which has the same Strings object).
and editor must set these new events when editor-frame is splitted. not hard work. but not interesting. maybe later. |
make new tab, split it, and type in the right part.
call 'undo' also in the right part -> text undoes OK but caret stays at old position in the right part (at line 4, in the middle column).
The text was updated successfully, but these errors were encountered: