Skip to content

Fix multicursor undo selection restoration

Waqar Ahmed requested to merge work/fix-multicursor-undo-sel into master

Broke with the last change. Add a test to ensure it keeps working

Included is a fix that sets the selection anchor for primary selection correctly after undo. Before this, the cursor and select anchor would become the same leading in weird behaviour. To test, do shift + wordLeft(), then backspace, then undo and try to change the selection by one character.

Merge request reports