ProgerXP / Notepad2e

Word highlighting, simultaneous editing, split views, math evaluation, un/grep, comment reformatting, UAC elevation, complete regexps (PCRE), Lua lexers, DPI awareness and more (XP+)
Other
372 stars 52 forks source link

Alt+Up/Down to navigate lines skipping sublines #430

Open ProgerXP opened 2 years ago

ProgerXP commented 2 years ago

Currently, these two hotkeys seem to be unused while their Shift versions work like regular Up/Down. Is it correct?

Make them move caret to next line, not subline.

Example (a wrapped line with 3 sublines and 2 short lines):

123
abcd
ef|gh
ij
789

Alt+Up: 123| Shift+Alt+Up: 123[ abcd ef]gh Alt+Down: 789| Shift+Alt+Down: ef[gh ij 789]

Compare with: Up: ab|cd Shift+Up: ab[cd ef]gh Down: ij| Shift+Down: ef[gh ij]