Alex Plate
cbc5e8aea1
Make visual put single-executable
...
Preparation for VIM-25
2019-05-31 19:27:43 +03:00
Alex Plate
7ebb888c31
WIP: Renaming file 'PutVisualTextNoIndentAction' with Kotlin extension
2019-05-31 19:27:43 +03:00
Alex Plate
93c6a03287
WIP: Renaming file 'PutVisualTextMoveCursorAction' with Kotlin extension
2019-05-31 19:27:43 +03:00
Alex Plate
ae97fbbcc3
WIP: Renaming file 'PutVisualTextAction' with Kotlin extension
2019-05-31 19:27:42 +03:00
Alex Plate
7ef381f1a4
Make 192-EAP-SNAPSHOT as a default idea version
2019-05-31 19:02:43 +03:00
Alex Plate
70fad46534
Fill CHANGES.MD with fixed bugs
2019-05-31 17:51:28 +03:00
Alex Plate
cb8d253dc5
Fix compilation for IC-2019.1
2019-05-31 16:48:54 +03:00
Alex Plate
cacab1e039
Make companion object private in VisualOperatorActionHandler
2019-05-31 16:40:38 +03:00
Alex Plate
0bf49ebe9a
Event could be null in IdeaSpecifics
2019-05-31 16:31:38 +03:00
Alex Plate
fa9b1933fa
Merge pull request #186 from JetBrains/VIM-510
...
This huge branch was created as a result of VIM-510. It provides many
changes aiming to solve the problems associated with selection.
Main changes:
Introducing select mode.
[VIM-510] Structural selection enables visual mode.
[VIM-274] During refactoring, select mode is enabled (which works almost
like normal IntelliJ IDEA selection).
2019-05-31 12:24:33 +03:00
Alex Plate
444f676d2d
Move connection to message but in IdeaSpecifics to EventFacade
2019-05-30 12:39:03 +03:00
Alex Plate
2ccba4b345
Remove @Deprecated from TextRange class
2019-05-30 12:34:25 +03:00
Alex Plate
0b76e86ace
Create different method for isVisualBlock and isBlockSubMode
2019-05-30 12:26:13 +03:00
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