Alex Plate
f40a86e744
Refactorings after review
2019-05-30 12:18:42 +03:00
Alex Plate
5b594a4a7b
Fix bad visual -> motion refactoring
2019-05-30 12:16:59 +03:00
Alex Plate
ea857b9c7b
Fix single execution for visual operation
2019-05-28 15:44:04 +03:00
Alex Plate
14a11f06e5
Merge pull request #196 from citizenmatt/VIM-1061
...
VIM-1061 Explicitly register shortcuts for digraphs
Ensures that the keyboard shortcuts required for digraphs (<C-K>, <C-V>, <C-Q> and <BS>) are all explicitly registered.
Digraphs are handled directly by the key handler, so there is no action that can provide keys to be registered. If the keys aren't registered, the key stroke doesn't get to the key handler and digraphs don't work.
Technically, these shortcuts are already registered by other actions, but it is better to be explicit, as VIM-1061 demonstrates. Digraphs with <C-K> were broken in 0.51, but fixed by accident by #194 , which included the key sequence <C-W><C-K>, meaning <C-K> is registered.
Tests are not possible for this change as it affects the IDE event loop and the tests invoke handleKey directly,
2019-05-27 15:55:07 +03:00
Matt Ellis
987c89774c
VIM-1061 Explicitly register shortcuts for digraphs
2019-05-24 15:34:21 +01:00
Alex Plate
52d0c44014
Fix enter action for select mode
2019-05-24 15:43:21 +03:00
Alex Plate
e70d188b82
Add logging for visual operations
2019-05-24 15:13:37 +03:00
Alex Plate
9419c4b796
Fix gq (reformat code) action
2019-05-24 14:52:36 +03:00
Alex Plate
58c6aba6af
Move all special keys handlers to single file
2019-05-24 12:00:40 +03:00
Alex Plate
d09ae1a66e
Fix bad refactoring
2019-05-24 11:54:05 +03:00
Alex Plate
12717d13de
Make VisualStartFinishWrapper private
2019-05-24 11:52:04 +03:00
Alex Plate
b363a05a7d
Remove caretMergingListener in finally block
2019-05-24 11:51:12 +03:00
Alex Plate
318515db6f
Rename Util to Helper
2019-05-24 11:46:08 +03:00
Alex Plate
da7ff06734
Rename acontinue* to acontinue*
2019-05-24 11:41:40 +03:00
Alex Plate
86f4a2743a
Remove some items from CONTRIBUTING
2019-05-24 11:38:42 +03:00
Alex Plate
f86a1a0002
Hide alwaysBatchExecution
property from inheritors
2019-05-24 11:01:15 +03:00
Alex Plate
e5d4a5f061
Put ShiftedArrowKeyHandler to ShiftedSpecialKeyHandler
2019-05-23 22:23:52 +03:00
Alex Plate
7be884b138
Remove FLAG_FORCE_LINEWISE and FLAG_FORCE_VISUAL flags
2019-05-23 18:06:11 +03:00
Alex Plate
4eacdeec5e
Check if caret valid before adjusting selection
2019-05-23 16:09:28 +03:00
Alex Plate
8a9a5919f2
Reset handler after exiting visual mode during tab switch
2019-05-23 15:46:51 +03:00
Alex Plate
442883c377
Make Command data class
2019-05-23 15:26:49 +03:00
Alex Plate
33939917c0
Print actionId of visual command to log
2019-05-22 14:59:51 +03:00
Alex Plate
e1721bf337
Handle backspace via vim with active lookup
2019-05-21 16:53:52 +03:00
Alex Plate
5081ede268
[VIM-1666] properly handling of digraphs after pressing backspace
2019-05-21 15:52:17 +03:00
Alex Plate
393416a925
Format KeyHandler file
2019-05-21 15:49:00 +03:00
Alex Plate
34ec791ba3
Add VimOptionDefault to docs
2019-05-21 12:25:27 +03:00
Alex Plate
f4b80d4d80
Add docs to VimListOptionTestCase
2019-05-20 19:10:37 +03:00
Alex Plate
fcbc1773ad
Add VimListOptionTestCase for testing IdeaVim options
2019-05-20 17:34:06 +03:00
Alex Plate
4d971be732
Support End and Shift-End motions
2019-05-20 13:21:24 +03:00
Alex Plate
deff56db29
Extract handler for shifted arrows
2019-05-20 12:54:05 +03:00
Matt Ellis
5b78a02a53
Update CHANGES.md
2019-05-19 20:06:57 +02:00
Matt Ellis
9c5420c79c
Fix exception highlighting last CR in file
...
Custom implementation of offsetToCharacterPosition failed when the text range of the last CR in the file wrapped to a line that didn't exist in the editor. This caused an exception when search highlights included the last CR in the file
2019-05-19 19:40:26 +02:00
Matt Ellis
bd58802ed6
Make incsearch work with entering digraphs
2019-05-17 23:19:02 +01:00
Matt Ellis
71504d0ded
Merge branch 'master' into ideavim-search
...
# Conflicts:
# src/com/maddyhome/idea/vim/ui/ExEntryPanel.java
2019-05-17 23:00:22 +01:00
Matt Ellis
3aff7693c7
Use same formatting as Find for search/replace
2019-05-17 22:29:59 +01:00
Matt Ellis
b46f426f30
Reset highlights when options change
2019-05-17 22:29:59 +01:00
Matt Ellis
70652d445c
Fix next/prev after search word and smartcase
...
Makes sure that search word forward/backward ignores smartcase for first and subsequent searches.
2019-05-17 22:29:58 +01:00
Matt Ellis
35f96b28bc
VIM-128 Substitute works with ignorecase and smartcase
2019-05-17 22:28:40 +01:00
Matt Ellis
dd40bb3850
Move current line during incsearch
2019-05-17 11:26:36 +01:00
Alex Plate
849c0cbd49
Support shifted and non-shifter Home key
2019-05-16 17:22:47 +02:00
Alex Plate
201d613ac1
Extract handler for non-shifted special keys
2019-05-16 16:11:40 +02:00
Alex Plate
8897ecd0d5
Extract handler for shifted special keys
2019-05-16 16:09:39 +02:00
Alex Plate
784a8e625f
Set log level to info for VisualCommands
2019-05-16 13:40:05 +02:00
Alex Plate
770cc2cd72
Use !! in tests instead of ?: run
2019-05-15 19:57:17 +02:00
Alex Plate
fa620be738
Fill doc for new commands
2019-05-15 19:40:30 +02:00
Alex Plate
34893e7847
Support the rest of selectmodel options
2019-05-15 18:55:56 +02:00
Alex Plate
c49d5b4ffa
Move packages to better location
2019-05-15 15:47:29 +02:00
Alex Plate
c37387db64
Full support for selectmode option
2019-05-15 15:22:55 +02:00
Alex Plate
83b626b77e
Remove ExtendSelection actions
2019-05-15 13:01:18 +02:00
Alex Plate
45932d9189
Save last column during shift-motions
2019-05-15 10:25:38 +02:00