Fix chaotic up/down cursor movement in Block Selection Mode
(cherry picked from commit 083ad87a)
-
🍨 @cullmannDeveloperI am for fixes, but it would make sense to have some review for them, especially if they are backported. In addition it would be nice to have some test.
-
To share some details, the problem was due to
spaceWidth()
being a double, whilex
being an integer, so the cursor column was often set to the wrong value.I’m attaching a comparison of ‘before’ and ‘after’ (
spaceWidth()
is7.79688
). -
🍨 @cullmannDeveloperThanks, yes, the new behavior is better.
Please register or sign in to comment