Jan Palus
50b2093548
generalize check on offset boundaries
2018-06-02 15:09:28 +02:00
Andrey Vlasovskikh
bc5ca28b13
Fixed API incompatibility
2018-05-30 22:26:50 +03:00
Andrey Vlasovskikh
3eed987488
Fixed code inspection warnings in FileGroup
2018-05-30 21:51:20 +03:00
Andrey Vlasovskikh
6f633700ae
Removed deprecated API usages
2018-05-30 21:27:57 +03:00
Andrey Vlasovskikh
a7670829d5
Fixed NPE
2018-05-30 21:27:01 +03:00
Andrey Vlasovskikh
6fb8817391
Code style
2018-05-30 21:24:02 +03:00
Jan Palus
e90b7276cb
VIM-1431 handle empty documents when checking if line is empty
...
Signed-off-by: Jan Palus <jpalus@fastmail.com >
2018-05-29 23:08:40 +02:00
Andrey Vlasovskikh
a1ba5fec2b
Updated the index of supported and not supported commands
2018-05-29 22:45:04 +03:00
Andrey Vlasovskikh
6606211233
Incomplete commands index with the current status of multi-caret support
2018-05-29 20:08:32 +03:00
Andrey Vlasovskikh
b1daacc9fb
Added TODO items for unused actions
2018-05-29 20:04:23 +03:00
Jan Palus
03fe7d9ea2
VIM-1427 add count support to tag motion
2018-05-29 00:45:44 +02:00
Vasily Alferov
2d3da163a8
Attempt to fix Visual Block down movements
2018-05-26 21:52:57 +03:00
Vasily Alferov
49c59764ac
Merge in change.insert actions
2018-05-26 20:17:12 +03:00
Vasily Alferov
06cc59b7a3
Got rid of deprecated overrides in EditorActionHandlerBase
2018-05-26 19:47:47 +03:00
Vasily Alferov
7754080323
Various fixes
2018-05-25 11:45:11 +03:00
Vasily Alferov
ebf081e273
Multicaret shift
2018-05-22 22:51:49 +03:00
Vasily Alferov
258467467b
Multicaret insert
2018-05-22 22:02:26 +03:00
Vasily Alferov
4f468cace7
Multicaret change.change
2018-05-22 00:16:58 +03:00
Vasily Alferov
9ddedbe752
Multicaret delete visual operator actions
2018-05-21 19:08:40 +03:00
Vasily Alferov
63b237114a
Multicaret version for VisualOperatorActionHandler
2018-05-21 17:05:38 +03:00
Vasily Alferov
29c789dcf3
Implementations of all of the delete actions whose handlers doesn't override VisualOperatorActionHandler.
2018-05-20 13:55:33 +03:00
Vasily Alferov
59e2ae552e
ChangeEditorActionHandler multicaret version and multicaret delete tests
2018-05-12 21:24:28 +03:00
Vasily Alferov
422557d4ce
Cosmetical changes
2018-05-12 19:01:01 +03:00
Vasily Alferov
0919e9d560
Multicaret merging selections & text objects
2018-05-12 17:08:19 +03:00
Vasily Alferov
13c475d73c
Fix multiple carets movement in case i<ESC>i<ESC>
2018-05-05 12:01:00 +03:00
Vasily Alferov
3b46e44e4f
action.motion.text.* multicaret tests and implementation
2018-04-27 20:24:26 +03:00
Vasily Alferov
a75db02d05
Fix failed tests on Visual Block Mode.
2018-04-24 22:17:10 +03:00
Vasily Alferov
4698f1be5c
Reformat code with IntellIJ IDEA tool.
2018-04-16 16:11:53 +03:00
Vasily Alferov
1db103e352
Basic multicaret up-down motions.
...
+ Create a class for caret-specific data and move LAST_COLUMN getter/setter there.
2018-04-16 16:05:52 +03:00
Vasily Alferov
5037a1182f
Fix unused imports
2018-03-29 17:21:30 +05:30
Vasily Alferov
4d46000ec6
Write most of multicaret leftright actions.
...
MotionColumnAction, MotionFirstColumnAction, MotionFirstNonSpaceAction, MotionLastColumnAction, MostionLastMatchCharAction, MotionLastMatchCharReverseAction, MotionLastNonSpaceAction, MotionLeftAction, MotionLeftMatchCharAction, MotionLeftTillMatchCharAction, MotionRightAction, MotionRightMatchCharAction, MotionRightTillMatchCharAction now have their own native multi-caret implementations.
2018-03-29 10:18:35 +05:30
Vasily Alferov
56ad6b4c0d
Multi-caret basic leftright motions.
...
Add basic multi-caret interfaces (i.e. deprecated and new functions to EditorActionHandlerBase) and overloaded them in MotionLeftAction and MotionRightAction.
2018-03-21 17:13:57 +03:00
Florian Hassmann
ab750b6e75
Fixes #VIM-1404.
2018-01-29 12:22:15 +01:00
Andrey Vlasovskikh
44a4a858fe
IDEA-184351 Check if project is disposed before setting editor line numbers
...
Setting line numbers requires re-initializing the editor that means
accessing project code style settings. If the project has been disposed
then this operation is illegal.
2017-12-29 11:34:56 +03:00
Andrey Vlasovskikh
dbdc15f21f
Merge branch 'cypok/vim-1380'
2017-12-29 10:29:34 +03:00
Andrey Vlasovskikh
1a8c72d721
Merge branch 'cypok/vim-1379'
2017-12-29 10:19:08 +03:00
Andrey Vlasovskikh
b7273bc4f2
VIM-1379 Added check for empty ranges
2017-12-29 10:09:09 +03:00
qzed
b98427472f
VIM-1110 Fix caret jumping after escape from block-insert mode
2017-12-28 15:53:02 +03:00
Andrey Vlasovskikh
bf42822626
VIM-862 Keep selected text after running possibly async IDE action
...
E.g. `:action ReformatCode` is run asynchronously in another thread, so
we used to exit the visual mode (and thus dropped the selection) before
it was run.
2017-12-27 19:00:42 +03:00
Andrey Vlasovskikh
2c99da538e
VIM-1329 Use default modality state to run actions after focus settles down
2017-12-18 00:54:52 +03:00
Andrey Vlasovskikh
1393e60ca8
VIM-862 Properly apply and reset visual mode for running visual :action commands
...
Also fixed minor formatting and Java 8 issues.
2017-12-18 00:53:56 +03:00
Andrey Vlasovskikh
2e67c704f7
VIM-862 Fixed off-by-1 in restoring visual character selection after 'gv'
2017-12-18 00:52:29 +03:00
Andrey Vlasovskikh
c0410131bf
Merge remote-tracking branch 'ikenox/feature/action-in-visual-mode'
2017-12-15 01:37:40 +03:00
Andrey Vlasovskikh
473a305e5f
Use SecondaryLoop of JDK 8
...
The current version of IdeaVim is compatible with IntelliJ 2017.1+
which has switched to Java 8+, so we no longer need compatibility
layers for earlier versions.
2017-12-15 01:25:58 +03:00
Andrey Vlasovskikh
bd84babecd
Converted UiHelper into Kotlin
2017-12-14 03:26:01 +03:00
Andrey Vlasovskikh
1b83231b1c
VIM-1329 Use IntelliJ API to request focus reliably
2017-12-14 00:29:11 +03:00
Andrey Vlasovskikh
f39ad34057
VIM-1368 Use IntelliJ API to run stuff after the current component gets focus
2017-12-14 00:28:02 +03:00
Vladimir Parfinenko
52d26f9fb6
VIM-1380 Fixed 'cNw' at the last character of a word
...
Bug was introduced while fixing VIM-200
2017-11-20 11:37:42 +07:00
Naoto Ikeno
b7d124ce8d
Make :action commands work in visual mode
2017-11-19 20:06:02 +09:00
Vladimir Parfinenko
6a5c70ee6a
VIM-1379 Fix usage TextRange.size() as lines count
...
TextRange.size() should be used only for iterating over starts/ends
2017-11-19 13:49:12 +07:00