Commit Graph
9697 Commits
Author SHA1 Message Date
Xinhe WangandAlex Plãte 0d38ac8d6f Allow focusing components with hints 2025-09-05 16:26:03 +03:00
Xinhe WangandAlex Plãte fd1f762bc2 Adjust the hint color to make it clearer 2025-09-05 16:26:03 +03:00
Xinhe WangandAlex Plãte cfdc3b7dc3 Display only hints prefixed by the currently entered letters 2025-09-05 16:26:03 +03:00
Xinhe WangandAlex Plãte eaaab34434 Bring clicked component highlighting back
The highlight will remain active for a fixed period of time.
2025-09-05 16:26:03 +03:00
Xinhe WangandAlex Plãte 80f52d70c8 Encapsulate ShortcutDispatcher for use in NERDTree 2025-09-05 16:26:03 +03:00
Xinhe WangandAlex Plãte ff13845b57 Use custom key listener instead of ListPopup to select hints
As a result, the user no longer needs to press ENTER to action.

Note that component highlighting is temporarily removed.
2025-09-05 16:26:03 +03:00
Xinhe WangandAlex Plãte b349bb74db Encapsulate hints generation 2025-09-05 16:26:03 +03:00
Xinhe WangandAlex Plãte 90cc7de761 Preserve previous hints if possible 2025-09-05 16:26:03 +03:00
Xinhe WangandAlex Plãte d674d33735 Basic hint generation (permutation) 2025-09-05 16:26:03 +03:00
Xinhe WangandAlex Plãte c4713ed89d Highlight the current selected component 2025-09-05 16:26:03 +03:00
Xinhe WangandAlex Plãte 337fc91261 Traverse the accessible tree instead to support Skia components 2025-09-05 16:26:03 +03:00
Xinhe WangandAlex Plãte bd8dc5a74f Show a popup instead of a dialog to select the component 2025-09-05 16:26:03 +03:00
Xinhe WangandAlex Plãte 9ae2bfea8d Select elements to click 2025-09-05 16:26:03 +03:00
Xinhe WangandAlex Plãte 19ef7588f7 Create class Hint 2025-09-05 16:26:03 +03:00
Xinhe WangandAlex Plãte 248111bd1c Change ToggleOptionAction to DumbAwareToggleAction 2025-09-05 16:26:03 +03:00
Xinhe WangandAlex Plãte 76b0f13804 Use accessibleContext for checking clickable elements 2025-09-05 16:26:03 +03:00
Xinhe WangandAlex Plãte 7ac9ce78ca Toggle hints with ToggleOptionAction
However, this does not work in Dumb Mode
2025-09-05 16:26:03 +03:00
Xinhe WangandAlex Plãte b304905b35 Simplify KeyStrokeTrie.getData by delegating to getTrieNode 2025-09-05 13:14:34 +03:00
Xinhe WangandAlex Plãte 3d19696f3b Fix casting error in KeyStrokeTrie.getEntries
Return an empty sequence if the prefix node is not found in `KeyStrokeTrie`.
Passing a non-existent prefix previously would result in a casting error.
2025-09-05 13:14:34 +03:00
Matt EllisandAlex Plãte 572c24ff31 Insert text from incsearch end offset 2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte c4a43eef92 Support insert filename literally 2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte c22992c16c Extract find filename at cursor to VimSearchHelper 2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte 01a612ad60 Add insert filename under caret action 2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte 606e5c6a9f Add 'isfname' option, not yet applied
Relates to VIM-4018
2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte 93ef18b32c Remove unnecessary JvmField annotations 2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte fa4c62ebde Add insert big word at cursor literally action
Relates to VIM-2511
2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte c5f6b2e336 Add insert big word at cursor command line action
Relates to VIM-2511
2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte 1e27220eaa Support insert word literally
Inserting a word and inserting it literally is the same operation. No need for another action

Fixes VIM-2511
2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte b5484345f8 Add insert word under caret action for command line
Fixes VIM-2511
2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte 5d68ba26c2 Add insert current line literally action 2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte 5c8ca893e1 Insert current line by replaying keys 2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte 6aff6a07af Add insert current line in command line
Fixes VIM-2511
2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte c580aaceed Add insert register literally action
Fixes VIM-2511
2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte d204860a26 Remove write action from insert register action
Fixes VIM-3650
2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte 4bd4aefaca Add minor optimisation for simple register contents 2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte 161bb2b28b Insert register by replaying keys 2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte 4be143f4ff Fix move caret to previous big word to match Vim
The docs says it moves to the previous WORD, but in practice it moves to the previous whitespace character
2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte 4a86af9071 Fix move caret to next big word to match Vim
The docs says it moves to the next WORD, but in practice it moves to the next whitespace character
2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte 9a5339d8af Fix delete to use word instead of WORD 2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte b70f15584f Remove obsolete comments 2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte 38928e82c8 Extract insert literal command line tests 2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte aa5975485e Extract digraph command line tests 2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte b6be329a08 Add tests for saving history when cancelling ex field 2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte 1a566b70d9 Add cmd history before executing
But save to register after executing. Matches Vim behaviour
2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte b4eee5d45e Show indicator for current history entry 2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte 30dae9f4d9 Rename HistoryDownFilterAction and add tests 2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte 3ca51d0361 Rename HistoryDownAction and add tests 2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte f282131414 Rename HistoryUpFilterAction and add tests 2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte f5f14f308b Rename HistoryUpAction and add tests 2025-09-05 12:37:45 +03:00
Matt EllisandAlex Plãte 6557169eec Remove unnecessary textExInput function 2025-09-05 12:37:45 +03:00