Closed ProgerXP closed 1 year ago
Please consider changes (committed to temporary branch) related to Scintilla code required for feature implementation.
This works extremely well.
Add processing of Alt+Shift+Arrow by analogy with Ctrl+Shift+Arrow, i.e. in addition to moving caret make it select the text.
Done.
Great. Merge the branch if ready and delete it.
Great. Merge the branch if ready and delete it.
Done.
Let's add two more similar hotkeys:
bW
in Vim) - like Ctrl+Backspace, with inverted WordNavigationMode
dW
in Vim) - like Ctrl+Delete, with inverted WordNavigationModeLet's add two more similar hotkeys:
Alt+Backspace (
bW
in Vim) - like Ctrl+Backspace, with inverted WordNavigationMode
- Notepad2 is using it for Undo, remove this binding
- Alt+Delete (
dW
in Vim) - like Ctrl+Delete, with inverted WordNavigationMode
Done.
Works but Alt+Backspace produces an audible "beep", as if Windows tries to execute a non-existing hotkey.
Works but Alt+Backspace produces an audible "beep", as if Windows tries to execute a non-existing hotkey.
Fixed.
Let's add two more similar hotkeys:
Must conform to #348.
Done. Alt+Backspace/Delete works for current selection (if any).
Is it possible to hook two Alt+Arrows (Left and Right) combinations so that they don't trigger any side effects? Asking because Alt is used for &accelerators (main menu, etc.) and it often conflicts in other programs.
If yes then make them move caret as if
WordNavigationMode
(#89) was inverted. For example, by default Ctrl+Arrow Left moves to the preceding word while Alt+Arrow Left would move to the preceding whitespace. IfWordNavigationMode
is enabled then Ctrl+Left moves to whitespace and Alt+Left - to word. Ctrl+Alt+Arrow are not affected by this change.This is like vim's word/WORD motions, e.g.
w
(word, move by word symbols) andW
(WORD, move by whitespace).