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
{{ message }}
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
Select multiple lines in a document and Press Ctrl/Cmd-Shift-Down/Up arrow to move line down/up.
Press Ctrl/Cmd-Z to undo.
Result: The line above/below the originally selected lines is removed and not really restored to the previous state. If you undo one more time, then you get back the missing line.
It seems like "Move Line Up/Down" command is removing the above/below line first and then put that line to the opposite side of the selection. And we need to make these two operations into one atomic operation if possible.
The text was updated successfully, but these errors were encountered:
@peterflynn No, when I tried with a single line, I can't reproduce it. But if I tried with multiple lines as in step 1, then I still can reproduce the issue.
I cant reproduce it in the main editor, but I can in the inline editors. I think that the problem with the inline editors might be a different one to what we fixed at #2132.
Result: The line above/below the originally selected lines is removed and not really restored to the previous state. If you undo one more time, then you get back the missing line.
It seems like "Move Line Up/Down" command is removing the above/below line first and then put that line to the opposite side of the selection. And we need to make these two operations into one atomic operation if possible.
The text was updated successfully, but these errors were encountered: