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+Home/End to navigate line, not subline #429

Closed ProgerXP closed 6 months ago

ProgerXP commented 2 years ago

Currently, Alt+Home/End put the caret to the beginning/end of the wrapped subline, Shift+Alt+Home toggles between selection to line start with/out indentation, and Shift+Alt+End selects to line end.

Change these to ignore indentation and subline boundaries, always putting caret/selecting to line start/end.

Example (a single wrapped line with 3 sublines, . = space):

..abcd
ef|gh
ij

Alt+Home: |..abcd Shift+Alt+Home: [..abcd ef]gh Alt+End: ij| Shift+Alt+End: [gh ij] (matches current behaviour)

cshnik commented 6 months ago

Done.