haberdashPI / vscode-selection-utilities

Kakaune-inspired collection of useful commands for manipulating selections.
MIT License
9 stars 0 forks source link

Bugfix: subsection motions can move by start without skipping a subsection #55

Closed haberdashPI closed 1 month ago

haberdashPI commented 1 month ago

Some subection motion would previously skip selecting the current section when selectWhole = true, value = 1 and unit = 'start'. This fixes the issue by always checking if we need the unit boundary that occurs just before the cursor when resolving the unit boundaries.

codecov-commenter commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 42.07%. Comparing base (5eb4026) to head (7e28045).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #55 +/- ## ======================================= Coverage 42.07% 42.07% ======================================= Files 10 10 Lines 927 927 Branches 240 240 ======================================= Hits 390 390 Misses 535 535 Partials 2 2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.