micro icon indicating copy to clipboard operation
micro copied to clipboard

Fix various issues with `SpawnMultiCursor{Up,Down}`

Open dmaluka opened this issue 1 year ago • 0 comments

Fix various issues with spawning multicursors via SpawnMultiCursorUp and SpawnMultiCursorDown actions (Alt-Shift-Up and Alt-Shift-Down):

  • Visual text width (e.g. tabs width) not respected:

Current behavior: image Expected behavior: image

  • When spawning new cursor, current cursor unexpectedly moved too:

Current behavior: image Expected behavior: image

  • LastVisualX not respected:

Current behavior: image Expected behavior: image

  • Softwrapping not respected.
  • RemoveMultiCursor action (Alt-p key) removes not the last spawned cursor but the last one before it.
  • Cursor selections are not unset when spawning new cursors, which causes weird user experience.

dmaluka avatar Feb 20 '24 00:02 dmaluka