Skip to content
Commit 38cc7420 authored by Šimon Rataj's avatar Šimon Rataj
Browse files

Fix chaotic up/down cursor movement in Block Selection Mode


(cherry picked from commit 083ad87a)
parent 742596b1
Pipeline #432839 passed with stage
in 5 minutes and 12 seconds
  • I 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.

  • Author Developer

    To share some details, the problem was due to spaceWidth() being a double, while x being an integer, so the cursor column was often set to the wrong value.

    I’m attaching a comparison of ‘before’ and ‘after’ (spaceWidth() is 7.79688).

    Screencast_20230707_193301

    Screencast_20230707_193301-1

  • Thanks, yes, the new behavior is better.

0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment