Alex Plate
f1ae3607e4
Rename .java to .kt
2019-11-25 14:16:57 +03:00
Alex Plate
d03bfaeb53
Convert action package to kt
2019-11-25 14:05:23 +03:00
Alex Plate
33f363cb31
Rename .java to .kt
2019-11-25 14:05:23 +03:00
Alex Plate
cdb87b6a70
Convert file package to kt
2019-11-25 13:59:27 +03:00
Alex Plate
b5497d83a9
Rename .java to .kt
2019-11-25 13:59:26 +03:00
Alex Plate
802b7c33b6
Convert copy package to kt
2019-11-25 13:36:00 +03:00
Alex Plate
bb4f81fb84
Rename .java to .kt
2019-11-25 13:35:59 +03:00
Alex Plate
998073ac7f
Convert shift package to kt
2019-11-25 12:13:55 +03:00
Alex Plate
93c7a5bdd2
Rename .java to .kt
2019-11-25 12:13:55 +03:00
Alex Plate
3fb2ce47e9
Convert insert package to kt
2019-11-25 12:04:57 +03:00
Alex Plate
61a8217d83
Rename .java to .kt
2019-11-25 12:04:56 +03:00
Alex Plate
ad5e4341fa
Convert delete package to kt
2019-11-25 11:57:42 +03:00
Alex Plate
5b192795e6
Rename .java to .kt
2019-11-25 11:57:42 +03:00
Alex Plate
5db9c5d31e
Convert change package to kt
2019-11-25 11:36:29 +03:00
Alex Plate
ff469a386e
Rename .java to .kt
2019-11-25 11:36:29 +03:00
Alex Plate
3a90cf0e7b
Convert number package to kt
2019-11-25 11:31:27 +03:00
Alex Plate
07dbad8c70
Rename .java to .kt
2019-11-25 11:31:27 +03:00
Alex Plate
390d92b16f
Fix bindings for active lookup
...
VIM-1325
2019-11-22 19:37:52 +03:00
Alex Plate
d45d56f330
Find action by id without all actions initiation
2019-11-22 17:35:20 +03:00
Alex Plate
2e7cde3ca5
Replace TODO with TO BE IMPLEMENTED in info file
2019-11-22 16:55:49 +03:00
Alex Plate
0594ea0b98
Convert macro package to kt
2019-11-22 16:26:05 +03:00
Alex Plate
37d09781b4
Rename .java to .kt
2019-11-22 16:25:43 +03:00
Alex Plate
b0f3a0ea30
Convert motion package to kt
2019-11-22 15:54:57 +03:00
Alex Plate
8282abf264
Rename .java to .kt
2019-11-22 15:53:22 +03:00
Alex Plate
e863ffd949
Update getKeyStroke for Neo layouts
...
VIM-987
2019-11-21 17:06:00 +03:00
Alex Plate
d3d35bbea1
Fix incapability with <193
2019-11-20 18:12:20 +03:00
Alex Plate
8eff6d80a2
Fix after update
2019-11-20 18:09:11 +03:00
Alex Plate
77c8947ccd
Fix after update
2019-11-20 18:00:54 +03:00
Alex Plate
48556f6917
Update first plugin initialization
2019-11-20 17:59:08 +03:00
Alex Plate
2e8dc4234f
Do not connect to the EditorAcgtionManager before the first editor is created
2019-11-20 17:59:07 +03:00
Alex Plate
a6a60b6e71
Do not start project manager
2019-11-20 17:59:05 +03:00
Alex Plate
eba9eaf37a
Faster command parser
2019-11-20 17:59:04 +03:00
Alex Plate
ae31b1c23d
Faster keys parsing
2019-11-20 17:59:02 +03:00
Alex Plate
535a0532df
Use ArrayList implementation for KeyMapping
2019-11-20 17:59:01 +03:00
Alex Plate
0579d242f6
Lazy loading of KeywordOption
2019-11-20 17:58:59 +03:00
Alex Plate
b4910ed8f4
Refactor key parsing
2019-11-20 17:58:58 +03:00
Alex Plate
2bb1399ae7
Remove unnecessary reset
2019-11-20 17:58:56 +03:00
Alex Plate
062ada96ff
Do not initialize some services on first startup
2019-11-20 17:58:56 +03:00
Alex Plate
bb94238e9c
Remove invertMap function
2019-11-20 17:58:55 +03:00
Alex Plate
43a40c1f6b
Update keyparser to accept « brackets
2019-11-20 17:58:53 +03:00
Alex Plate
639866a9e1
Remove unused name property
2019-11-20 17:58:53 +03:00
Alex Plate
05bbe6b799
Rename name to names
2019-11-20 17:58:51 +03:00
Alex Plate
e19b1c8bf0
Create interface for complicated commands
2019-11-20 17:58:49 +03:00
Alex Plate
0648d621b5
Move handler names to plugin.xml
2019-11-20 17:58:47 +03:00
Alex Plate
93c0de9ebb
Create bean class for ex commandsï¿¿
2019-11-20 17:58:45 +03:00
Alex Plate
1af7f9388d
Create a ktdoc for ActionBeanClass
2019-11-20 17:58:42 +03:00
Alex Plate
76f0eaebce
Remove keyStrokesSet field
2019-11-20 17:58:41 +03:00
Alex Plate
ae71957236
Remove usages of getKeyStrokesSet
2019-11-20 17:58:40 +03:00
Alex Plate
5004f0280e
Refactor duplicable commands
2019-11-20 17:58:27 +03:00
Alex Plate
8a63fa42ae
Reformat actions source code
2019-11-20 17:36:49 +03:00
Alex Plate
05ecb92a88
Use plugin.xml to define mappings for actions
2019-11-20 17:36:10 +03:00
Alex Plate
d05cc3cd35
Merge pull request #210 from igrekster/format-motion
...
Implement `gq<motion>` code formatting command for motions
2019-11-20 15:51:39 +03:00
Alex Plate
96dff832ba
Merge pull request #209 from igrekster/multicaret-ignorecase-fix
...
Fix multiple cursors selection getting stuck with ignorecase
2019-11-20 15:47:23 +03:00
Alex Plate
e43339613c
Add Rafał Hajdacki to contributors list
2019-11-20 15:32:23 +03:00
Rafał Hajdacki
28d9bd0c73
Read ideavimrc from XDG config home directory
2019-11-19 22:20:52 +01:00
Alex Plate
8e12c9bef0
Fix backward motion for ex commands
2019-11-19 14:31:30 +03:00
Alex Plate
46cf112378
Revert user statistic
2019-11-14 13:12:50 +03:00
Alex Plate
a6ea89162a
Change collector option
2019-11-08 14:50:02 +03:00
Alex Plate
1039cf661d
Fix capability with 183
2019-11-08 14:41:18 +03:00
Alex Plate
eaf9f0bbfa
Fix compatibility with older IDEA versions
2019-11-07 18:24:34 +03:00
Alex Plate
31e1edcc72
Add userstatistic info
2019-11-07 16:26:22 +03:00
Alex Plate
7d9d8d4a02
Fix execution of actions in visual mode with incsearch enabled
2019-11-07 11:14:16 +03:00
Alex Plate
71cb43e751
Remove garbage
2019-11-05 17:40:15 +03:00
Alex Plate
76634e3eed
Fix "wrap with if"
2019-11-05 15:53:33 +03:00
igrekster
21536fb3ef
Implement gq<motion>
code formatting command for motions
2019-11-02 17:17:09 +11:00
igrekster
7c0ee2429d
Allow duplicable commands with g
prefix key
...
Change the implementation for `dd`, `yy`, etc. to support commands with
`g` prefix key - (`gqq`, `guu`, `g~~`).
2019-11-02 17:17:09 +11:00
Alex Plate
9d6f43cfeb
Fix problem with lookup selection
2019-11-01 13:55:32 +03:00
Alex Plate
316cd2c02c
Rename refactoring to ideaselection
2019-10-31 13:05:22 +03:00
Alex Plate
bfdf54db67
Add tests for idearefactormode option
2019-10-30 17:46:25 +03:00
Alex Plate
4ca9e74249
Refactor controlNonVimSelection
2019-10-30 16:43:54 +03:00
Alex Plate
33caeeaf1d
Fix log
2019-10-30 16:02:12 +03:00
Alex Plate
53a8c3ecc8
Move all mode exit methods to the same place
2019-10-30 16:00:03 +03:00
igrekster
0ddb7f971d
Fix multiple cursors selection getting stuck with ignorecase
...
With `ignorecase` enabled, select next (`<A-n>`) would get stuck on the
second occurrence even though there are more occurrences to select. This
was happening because part of logic was still doing case sensitive
comparison against the current pattern. The fix is to use case
insensitive comparator everywhere the pattern is used, if `ignorecase`
option is set.
2019-10-30 23:59:32 +11:00
Alex Plate
fabe066f94
Move selection control methods to the separate file
2019-10-30 14:45:40 +03:00
Alex Plate
5672bc0fb2
Rename function
2019-10-30 14:29:51 +03:00
Alex Plate
c77f43e7c7
Initial idearefactormode support
2019-10-30 13:00:04 +03:00
Alex Plate
d47ad34909
Fix removed vimstate saving
2019-10-30 12:38:06 +03:00
Alex Plate
96f731e9c9
Refactor MotionUp/Down actions
2019-10-29 15:37:48 +03:00
Alex Plate
1b9376a9f5
Rename motion up/down actions
2019-10-29 15:31:54 +03:00
Alex Plate
1425ee0048
Ctrl-N and Ctrl-P actions for lookup in normal mode
2019-10-29 15:28:54 +03:00
Alex Plate
3a014b2a13
Convert VimPluginToggleAction to kotlin
2019-10-29 14:39:55 +03:00
Alex Plate
38c4e6bebc
Rename .java to .kt
2019-10-29 14:39:05 +03:00
Alex Plate
171404bf43
Change the superclass of VimPluginToggleAction
2019-10-29 14:33:14 +03:00
Alex Plate
73b1adce1b
Make common action for enabling/disabling IdeaVim
2019-10-28 18:42:37 +03:00
Alex Plate
fee8009f38
Make vim actions popup as a separate action
2019-10-28 14:59:35 +03:00
Alex Plate
8d698aeacd
Update the Join EAP dialog
2019-10-28 13:50:21 +03:00
Alex Plate
fbd588444f
Hide some icon actions to sublist
2019-10-26 16:06:21 +03:00
Alex Plate
5735769ee7
null save marks restoring
2019-10-25 20:19:40 +03:00
Alex Plate
150f9190d5
Add customisation for surround with for
2019-10-25 19:58:00 +03:00
Alex Plate
6a1e8a0c22
Fix template with multiple variables
2019-10-25 17:14:23 +03:00
Alex Plate
66fca4a921
[VIM-1819] Fix execution of some rider actions
2019-10-25 15:26:33 +03:00
Alex Plate
9a2accc74b
Use the correct action for next variable
2019-10-25 14:33:52 +03:00
Alex Plate
5584b5ec3a
Refactor selection correction during the template
2019-10-24 16:17:34 +03:00
Alex Plate
3b4121f59a
Reformat code
2019-10-24 16:15:11 +03:00
Alex Plate
c9bb160291
Add savemodefor option
2019-10-23 13:17:02 +03:00
Alex Plate
586979644c
Add inNormalMode helper function
2019-10-23 13:15:09 +03:00
Alex Plate
0d376eaa1d
Update icon list labels
2019-10-22 12:44:25 +03:00
Alex Plate
086c3d1a24
Update the join EAP dialog
2019-10-22 12:33:45 +03:00
Alex Plate
91e75561a3
Remove the default shortcut
2019-10-21 17:35:55 +03:00
Alex Plate
979bf26441
Change the implementation of system marks
2019-10-21 16:58:22 +03:00
Alex Plate
49844ddd9b
Refactor fileLocation classes
2019-10-21 15:30:46 +03:00
Alex Plate
d095ebb2f3
Rename .java to .kt
2019-10-21 15:07:14 +03:00
Alex Plate
36f473508a
Disable mappings for the second part of multikey commands
2019-10-21 13:40:53 +03:00
Alex Plate
5eb2810352
Add new corrections for caret vertical motion
2019-10-18 15:15:35 +03:00
Alex Plate
ee9e3a6673
Covert DocumentManager.kt to kotlin
2019-10-18 10:24:48 +03:00
Alex Plate
81a6bd528d
WIP: Renaming file 'DocumentManager' with Kotlin extension
2019-10-18 10:09:20 +03:00
Alex Plate
9bef55c63e
Correct selection processing
...
The last character in the line is not selected if the selection was started from the middle of this character and has a negative direction
2019-10-17 19:17:38 +03:00
Alex Plate
9b8686c25f
Reset caret on escape
2019-10-17 17:43:37 +03:00
Alex Plate
7130760114
Fix vertical caret movements with inlays
2019-10-17 17:34:10 +03:00
Alex Plate
2258ffa5eb
Fix incompatibilities with older version of IJ
2019-10-17 15:38:14 +03:00
Alex Plate
20b8e8db8b
Add icon to status bar
2019-10-17 15:20:01 +03:00
Alex Plate
0738d965fd
Add ideavim icon for actions
2019-10-16 15:05:45 +03:00
Alex Plate
a3a421410f
[VIM-1749] Tag surround is finished on >
2019-10-15 19:52:48 +03:00
Alex Plate
03c38e3454
[VIM-1804] Correct disabling and enabling IdeaVim
2019-10-15 18:14:13 +03:00
Alex Plate
be7d632cba
Disable IdeaVim while AceJump is active.
...
https://github.com/acejump/AceJump/issues/266
2019-10-14 17:05:18 +03:00
Alex Plate
8c0a85abf4
Vim script supports evaluating of integers
2019-10-14 12:44:08 +03:00
Alex Plate
497e8c06f1
Create getter for last direction
2019-10-10 19:35:04 +03:00
Alex Plate
c1bf84605c
Make findAll function public
2019-10-10 18:44:37 +03:00
Alex Plate
e362f12394
Add comment for toRegex function
2019-10-10 16:29:51 +03:00
Alex Plate
02d201a2f1
Parse the scope of let expression
2019-10-10 16:28:27 +03:00
Alex Plate
48915cc6ad
Print iskeyword value as a regex string
2019-10-09 18:20:16 +03:00
Alex Plate
02b065cc2c
Extensions can use linewise selection
2019-10-08 14:36:20 +03:00
Alex Plate
a255597bc0
Fix exception
2019-10-08 10:37:11 +03:00
Alex Plate
29858e8b10
Do not handle plugin incomplete mappings
2019-10-08 10:31:47 +03:00
Alex Plate
972cfb265b
Change MapHandler formatting
2019-10-04 18:46:30 +03:00
Alex Plate
5e8a3afe61
Provide correct mapping names
...
vmap - mapping for visual and select mode
xmap - mapping for visual mode
2019-10-04 18:45:46 +03:00
Alex Plate
700decb2e0
Update mappings handler for properly handler intersecting mappings.
2019-10-02 18:44:43 +03:00
Alex Plate
8368055397
Registrar should be written in java due to capability problems
2019-10-01 20:33:00 +03:00
Alex Plate
0d0f1f1c0c
External plugins can now contribute to vimExtension
2019-10-01 19:59:41 +03:00
Alex Plate
db68ae5cea
Add tests for extension in op mode
2019-10-01 10:15:44 +03:00
Alex Plate
0fd7c4aa4f
Clean up
2019-09-30 19:46:40 +03:00
Alex Plate
8592e6ef60
Plugins can act as an operator
2019-09-30 19:46:03 +03:00
Alex Plate
e9fb02220a
Update api of ListenerSuppressor
2019-09-30 19:46:03 +03:00
Alex Plate
aa54a0cd98
Execute mapping in sync way
2019-09-30 19:46:02 +03:00
Alex Plate
eb724c8753
Fix yy command
2019-09-27 22:11:28 +03:00
Alex Plate
1bb0caa704
Fix dd for empty line
2019-09-27 17:46:00 +03:00
Alex Plate
5bf2bc4a7b
Reformat Command
2019-09-27 14:56:24 +03:00
Alex Plate
70fd7ef89d
operator-W doesn't affect the next line
2019-09-26 15:31:05 +03:00
Alex Plate
c236ddd967
Add docs to Nodes
2019-09-26 11:25:49 +03:00
Alex Plate
b551518911
Add additional checks for command consistency
2019-09-25 20:09:21 +03:00
Alex Plate
1be49b06f3
Fix processing of / and ? commands
2019-09-25 20:01:20 +03:00
Alex Plate
200a9c6318
Update key handling process
2019-09-25 20:01:19 +03:00
Alex Plate
9f10106d75
Use only one handler to process @@ and @: commands
2019-09-25 20:00:23 +03:00
Alex Plate
6d4ff752a0
Double commands are processed in original way
2019-09-25 16:22:54 +03:00
Alex Plate
29ecae66a9
Make baseExecute as final method
2019-09-25 13:20:16 +03:00
Alex Plate
9c5f50d0a6
Move change motion tests to the separate file
2019-09-25 13:02:49 +03:00
Alex Plate
8fcc9ac1e2
Some fixes on change motion actions.
2019-09-24 17:53:36 +03:00
Alex Plate
8d83b3b1e7
Remove parameter from getMotionRange
2019-09-24 17:13:20 +03:00
Alex Plate
155570b6bf
Remove unused flag
2019-09-24 16:44:12 +03:00
Alex Plate
831dc35935
Update processing of text objects
2019-09-24 16:42:46 +03:00
Alex Plate
b641f1b67c
Motion command should explicit define inclusive / exclusive
2019-09-24 15:24:39 +03:00
Alex Plate
3c4906b8ac
Get rid of useless FLAG_MOT_EXCLUSIVE
2019-09-23 17:31:17 +03:00
Alex Plate
a575bc92cc
Correctly process d_ command
2019-09-18 22:40:29 +03:00
Alex Plate
7794e9ccd2
Fix undo mapping
2019-09-18 21:28:28 +03:00
Alex Plate
4f5301a7e0
Fix mapping for undo action
2019-09-17 18:42:41 +03:00
Alex Plate
6842936a75
Add state for awaiting for digraph (or char) input
2019-09-17 18:42:41 +03:00
Alex Plate
a0bf6599fa
Add comment for command flags option
2019-09-17 18:42:41 +03:00
Alex Plate
c0384949a3
Add javadoc for key mapping
2019-09-17 18:42:41 +03:00
Alex Plate
371f4b128e
Rename EX_ENTRY to CMD_LINE mode
2019-09-17 18:42:41 +03:00
Alex Plate
29fc776293
Remove NONE argument
2019-09-17 18:42:40 +03:00
Alex Plate
bbdf87190c
Extract node argument into the separate variable
2019-09-17 18:42:40 +03:00
Alex Plate
02a448f284
Convert command nodes to kt
2019-09-17 18:42:40 +03:00
Alex Plate
8665878b04
Remove useless FLAG_OP_PEND flag
2019-09-17 18:42:40 +03:00
Alex Plate
c23812941b
Clean up Argument class
2019-09-17 18:42:40 +03:00
Alex Plate
fdac774745
Convert FilterMotionAction to kt
2019-09-17 18:42:40 +03:00
Alex Plate
0a38b65ded
WIP: Renaming file 'FilterMotionAction' with Kotlin extension
2019-09-17 18:42:39 +03:00
Alex Plate
a7f44c8dd1
Revert "Temporally disable multithread startup"
...
This reverts commit bef3b3ba
2019-09-17 18:32:12 +03:00
Alex Plate
bef3b3ba62
Temporally disable multithread startup
2019-09-17 17:49:11 +03:00
Alex Plate
037aee7c59
Make kotlin jvm 1.8 compatible.
2019-09-17 11:07:09 +03:00
Alex Plate
0e3c13099b
Do not use external APP_CONFIG variable
2019-09-17 10:36:18 +03:00
Alex Plate
c736de7875
Deprecate local storage due to bug in storage settings
2019-09-06 18:45:12 +03:00
Alex Plate
42375d143e
[VIM-1772] Fix last character for :y command
2019-09-04 17:30:34 +03:00
Alex Plate
7e6d7aed20
Add some docs to controlNonVimSelection method
2019-09-04 16:07:31 +03:00
Alex Plate
ea68d0c28f
Enter correct caret shape after new mode entering
2019-09-04 16:00:14 +03:00
Alex Plate
9cc82aedf2
Join exit visual functions
2019-09-04 15:13:10 +03:00
Alex Plate
c52abce656
Fix small problem with "wrap with if"
2019-09-04 13:07:22 +03:00
Alex Plate
cf2f223ad4
[VIM-1781] Fix yanking with $ motion
2019-09-04 11:30:24 +03:00
Alex Plate
daae1aec6c
[VIM-1785][VIM-1731] Fix yanking to clipboard
2019-09-03 18:41:38 +03:00
Alex Plate
59bcd24c47
Make actions loading async
2019-09-03 14:07:36 +03:00
Alex Plate
44e224489b
Update action registration
2019-09-03 14:07:35 +03:00
Alex Plate
8134e0223f
Disable async initialization
2019-09-03 14:07:35 +03:00
Alex Plate
482249a05b
Convert ex commands to extension points
2019-09-03 14:07:35 +03:00
Alex Plate
d0998dc093
Do not register sticky balloon
2019-09-03 14:07:35 +03:00
Alex Plate
848bb01c10
Get rid of VimActionBean
2019-09-03 14:07:35 +03:00
Alex Plate
e39eb76aca
Remove id and text from actions
2019-09-03 14:07:35 +03:00
Alex Plate
d6d2a55747
Use handlers directly (without actions)
2019-09-03 14:07:35 +03:00
Alex Plate
355fa1a622
Migrate methods from VimCommandAction to handlers
2019-09-03 14:07:34 +03:00
Alex Plate
fb007b8835
Move action settings to handler
2019-09-03 14:07:34 +03:00
Alex Plate
256f5fcd0e
Handlers do not execute EditorActionHandler anymore
2019-09-03 14:07:34 +03:00
Alex Plate
e698c950a3
VimCommandActionBase doesn't extend EditorAction anymore
2019-09-03 14:07:34 +03:00
Alex Plate
d0b9c3c118
Make action in command not nullable
2019-09-03 14:07:34 +03:00
Alex Plate
24358ca1a9
[A2EP] Add method to find vim action by id
...
A2EP - Process of convertation actions to extension points
2019-09-03 14:07:33 +03:00
Alex Plate
6a21c94a0c
[A2EP] Execute actions w/o using executeAction
...
A2EP - Process of convertation actions to extension points
2019-09-03 14:07:33 +03:00
Alex Plate
2d39a1e4b8
[A2EP] Move some actions to the level of VimActionBase
...
A2EP - Process of convertation actions to extension points
2019-09-03 14:07:33 +03:00
Alex Plate
e97a8da721
[A2EP] Remove action id from command tree
...
A2EP - Process of convertation actions to extension points
2019-09-03 14:07:33 +03:00
Alex Plate
665aaa3af9
[A2EP] Create "native actions"
...
A2EP - Process of convertation actions to extension points
2019-09-03 14:07:33 +03:00
Alex Plate
17fe1da4ed
[A2EP] Convert actions into extension point
...
A2EP - Process of convertation actions to extenstion points
2019-09-03 14:07:33 +03:00
Alex Plate
cb6c94b4f9
Transform all groups into application services
2019-09-03 14:07:33 +03:00
Alex Plate
6fd6765bee
Initialize IdeaVim components on non-EDT
2019-09-03 14:07:32 +03:00
Matt Ellis
261911f6de
[VIM-1773] Provide fall back error stripe colour
2019-09-02 17:37:44 +01:00
Matt Ellis
fe714a9003
Move caret during incsearch to match Vim behaviour
2019-09-02 17:05:27 +01:00
Matt Ellis
e8501a658b
Merge branch 'master' into bug/search-highlights
2019-09-02 12:31:28 +01:00
Alex Plate
39982b507a
[VIM-1685] Correct shape of caret in case of zero-width selection
2019-08-26 16:52:01 +03:00
Alex Plate
bd6d61c8c7
Merge pull request #201 from jorgengranseth/support-surround-function-name
...
Support f and F surround commands (function name)
2019-08-26 12:32:09 +03:00
Alex Plate
7045ffbdb8
Fix global marks removing
2019-08-26 12:27:23 +03:00
Alex Plate
c886e49682
Add comment for different types of marks
2019-08-26 12:13:35 +03:00
Alex Plate
8fdec8e816
Merge pull request #202 from jorgengranseth/implement-delmarks-command
...
VIM-1720 Implement Ex command :delm[arks]
2019-08-26 12:12:24 +03:00
Alex Plate
131387d0ff
Add comment about changes that should be performed on version update
2019-08-23 16:57:20 +03:00
Alex Plate
1c02ad6b4c
Merge pull request #204 from citizenmatt/feature/line-numbers
...
Improve relative line numbers and VCS annotations
2019-08-23 16:12:55 +03:00
Alex Plate
d93890ddcb
Merge pull request #205 from citizenmatt/bug/ex-caret
...
[VIM-1766] Fix ex caret rendering on Linux
2019-08-23 15:14:27 +03:00
sumoooru2
67896b7d3a
Fix jump between files with moveCaretToJump
2019-08-22 16:26:26 +09:00
Alex Plate
62466123ff
Change URLs to https
...
TPV-3480
2019-08-20 13:10:19 +03:00
Matt Ellis
14163a0791
[VIM-1766] Fix ex caret rendering on Linux
2019-08-13 20:28:22 +01:00
Jørgen Granseth
52a8a175a6
Move constants for :delmarks to MarkGroup
...
Reduce, reuse, recycle.
2019-08-12 20:19:14 +02:00
Matt Ellis
0a83b0826a
Use line number converter for relative line numbers
...
Fixes most problems with relative line numbers and VCS annotations. Only downside is that the current line is shown as blank unless :set number is set as well as :set relativenumber. There is also a chance some other plugin could install a different line number converter without us knowing, although there are no known examples of this.
Resolves VIM-1032, fixes VIM-1671, fixes VIM-1762
2019-08-10 14:26:16 +01:00
Matt Ellis
d854cd7024
Improve relative line numbers and VCS annotations
...
Improves TextAnnotationGutterProvider implementation, but still has issues. Relative line numbers can display alongside VCS annotations, but 183 and 191 treats the relative line number provider as a VCS annotation, so the VCS toggle is enabled incorrectly, and toggling incorrectly closes the relative line provider. 192 works much better - VCS annotations ignores the relative line numbers, but disabling relative line numbers also closes VCS annotations because we’re not using a 192 specific API.
Resolves VIM-1032, fixes VIM-1671, fixes VIM-1762
2019-08-09 23:39:02 +01:00
Matt Ellis
7ac8d7a43a
Fix moving caret while confirming replace
2019-08-08 12:13:38 +01:00
Alex Plate
b012618968
Add readonly marker
2019-08-07 17:24:19 +03:00
Alex Plate
fba59ff347
[EA-134791] Fix yank in motion
2019-08-07 17:24:18 +03:00
Matt Ellis
27d2742386
Fix bug with search updates getting stuck off
2019-08-07 09:42:45 +01:00
Matt Ellis
5ef25cfa6f
Keep scroll location when adding incsearch offset
2019-08-06 23:24:39 +01:00
Matt Ellis
17e3dfe2bb
[VIM-1757] Improve handling of search offsets
2019-08-06 22:32:47 +01:00
Alex Plate
307e438a1e
[EA-128752] Fix NPE on isPrimaryEditor
2019-08-06 15:38:33 +03:00
Alex Plate
89489f7c7f
[EA-144484] Fix NPE on panel activation
2019-08-06 15:15:31 +03:00
Alex Plate
923a4706a0
[EA-137898] Fix file is invalid exception
2019-08-06 14:23:03 +03:00
Alex Plate
2594c7179e
[EA-138502] Control-flow exceptions (like ProcessCanceledException) should never be logged
2019-08-06 14:21:33 +03:00
Matt Ellis
a334ff33cd
[VIM-1717] Reset scroll position correctly if no incsearch match
2019-08-06 00:33:58 +01:00
Alex Plate
0e2289caa6
[EA-129083] Fix OOBE for # action
2019-08-05 20:39:07 +03:00
Alex Plate
be26968237
[EA-138309] Fix possible exception
2019-08-05 20:20:44 +03:00
Jørgen Granseth
b0c1ecfdc5
Add access flag
2019-08-05 19:09:59 +02:00
Alex Plate
b4d5dcbf57
Reformat code
2019-08-05 19:06:27 +02:00
Jørgen Granseth
3161ba8983
Implement Ex command :delm[arks]
...
Deletes existing marks. See
http://vimdoc.sourceforge.net/htmldoc/motion.html#:delmarks
for details.
2019-08-05 19:06:19 +02:00
Alex Plate
022f1ededc
Fix caret shape after enabling of plugin
2019-08-05 19:50:32 +03:00
Alex Plate
70a19dd95d
Fix positioning on the end line in insert mode
2019-08-05 19:19:46 +03:00
Alex Plate
8b0bb413d8
Merge pull request #198 from citizenmatt/bug/ex-dead-keys
...
Fix exception with dead keys in ex entry
2019-08-05 13:14:14 +03:00
Matt Ellis
bd5e7d94fe
Fix tests
2019-08-02 21:21:32 +01:00
Matt Ellis
d43b2364a0
Reset ex entry panel when emulation is disabled
2019-08-02 16:49:00 +01:00
Matt Ellis
610e73d9e3
Merge branch 'master' into bug/ex-dead-keys
2019-08-02 13:55:31 +01:00
Alex Plate
6f2a454d46
[EA-141098] Fix exception during surround
2019-08-02 15:30:45 +03:00
Alex Plate
4edce29d53
[EA-209287] Fix exception on file close
2019-08-02 15:25:40 +03:00
Alex Plate
ed2b8dd129
Fix ex search for japanese language
2019-08-02 14:03:30 +03:00
Alex Plate
159c22ac21
[EA-117268 2352322] Fix OOBE for check in string function
2019-08-01 18:34:50 +03:00
Alex Plate
75b6833245
[EA-117268 2386601] Fix OOBE for sentence detection
2019-08-01 18:34:49 +03:00
Alex Plate
b567717c75
[EA-117268 2394021] Fix OOBE for isEmptyLine function
2019-08-01 18:34:49 +03:00
Alex Plate
b2af829e2e
[EA-117268 5135780] Fix OOBE for display ascii info
2019-08-01 18:34:49 +03:00
Alex Plate
6e81714937
[EA-117268 5154892] Fix OOBE for motion outer word
2019-08-01 18:34:49 +03:00
Alex Plate
cb9474d8d0
[EA-117268 5159449] Fix exception for inser character around cursor
2019-08-01 18:34:49 +03:00
Alex Plate
be47e4c050
[EA-117268 5165327] Fix a'
for last caret position
2019-08-01 18:34:45 +03:00
Alex Plate
c301898147
[EA-117268 5167045] Fix das for empty file
2019-08-01 17:35:51 +03:00
Alex Plate
8324561022
Remove code comments
2019-08-01 17:17:06 +03:00
Alex Plate
834d630ef7
[EA-117268] Fix exception with w action
2019-08-01 17:09:43 +03:00
Alex Plate
c6259adad1
[VIM-1743] Do not show ideaput notification during surround
2019-08-01 16:03:11 +03:00
Alex Plate
9d1be34958
[VIM-1648] Make S&R self synchronized
2019-08-01 13:20:00 +03:00
Alex Plate
ce4e64ec40
Create annotations to annotate whenever a function require write/read lock
2019-07-31 21:15:32 +03:00
Alex Plate
b017466270
Clean up searchAndReplace method
2019-07-31 20:35:10 +03:00
Alex Plate
568d2304ea
Ex commands should define write/read access explicitly
2019-07-31 20:15:09 +03:00
Alex Plate
5dc1b245d0
Get rid of OTHER_READ_WRITE flag because technically it's right action
2019-07-31 16:56:57 +03:00
Alex Plate
978d95b351
Clean up ex command processing
2019-07-31 16:47:19 +03:00
Alex Plate
90079c9dfe
Remove legacy DONT_REOPEN flag
...
It's not used since 18cd7547
2019-07-31 16:26:48 +03:00
Alex Plate
57dec7e211
Fix mouse click appearance
2019-07-30 19:32:54 +03:00
Alex Plate
fa75c853a7
Update mouse pressed caret rules
2019-07-30 18:53:03 +03:00
Alex Plate
0887a57e29
[VIM-1725] Enable selection adjustment with a small delay
2019-07-30 17:52:34 +03:00
Alex Plate
18901dcd44
[EA-104755] Fix "Editor is disposed" exception with CTRL-O command
2019-07-29 20:11:20 +03:00
Jørgen Granseth
a6e0fbd5e6
Add the s surround action (preceding space)
...
https://github.com/tpope/vim-surround/blob/master/doc/surround.txt#L148
2019-07-27 02:12:52 +02:00
Jørgen Granseth
c07d0353f0
Support f and F surround commands (function name)
...
https://github.com/tpope/vim-surround/blob/master/doc/surround.txt#L138
2019-07-26 22:14:10 +02:00
Alex Plate
caecbe5b63
Reformat isEndAllowed method
2019-07-26 20:24:54 +03:00
Alex Plate
077cab656b
[EA-209305] Fix SO exception on enabling disabled plugin
2019-07-26 19:57:09 +03:00
Alex Plate
95d7a7e860
Insert some inferred annotations
2019-07-26 16:10:30 +03:00
Alex Plate
77a77c34b8
Fix possible NPE
2019-07-26 16:09:25 +03:00
Alex Plate
4e21145808
Merge pull request #200 from NOLFXceptMe/master
...
Fix ideajoin examples URL
2019-07-26 15:59:39 +03:00
Alex Plate
258557ee5d
[VIM-1713] Add possibility to get ExEntryPanel without shortcuts
2019-07-26 15:27:30 +03:00
Naveen Kumar Molleti
4828e40f0d
Fix ideajoin examples URL
2019-07-25 17:49:34 -07:00
Alex Plate
5be29f5a07
Convert ExKeyBindings to kotlin
2019-07-25 18:29:31 +03:00
Alex Plate
48ac99a29b
WIP: Renaming file 'ExKeyBindings' with Kotlin extension
2019-07-25 17:20:59 +03:00
Alex Plate
2c4f2139dd
Fix warnings
2019-07-25 13:52:07 +03:00
Alex Plate
9feff84125
[VIM-1710] Fix opening empty file with "relative number" enabled
2019-07-24 16:34:42 +03:00
Alex Plate
c0fc62a1d6
[VIM-1712] Fix Y command for visual mode
2019-07-24 15:56:19 +03:00
Alex Plate
6b06d58759
[VIM-1711] Search is not triggered during surround action
2019-07-24 15:10:48 +03:00
Alex Plate
7c5dca202e
Preparation to 0.52 version
2019-07-23 14:18:31 +03:00
Alex Plate
180c870208
Add notification for enabling select mode while template editing
2019-07-18 17:13:02 +03:00
Alex Plate
5a81d02271
Create doc with explanation of handlers and commands structure
2019-07-18 14:18:11 +03:00
Alex Plate
465abf47c8
Use enum for parser state machine
2019-07-18 13:24:04 +03:00
Alex Plate
54544c2683
[VIM-1359] Fix behavior of i_Ctrl-W action
2019-07-18 12:32:54 +03:00
Alex Plate
cf41b8745a
Fixing execution actions from visual mode
2019-07-17 20:14:51 +03:00
Alex Plate
1a1fc8604a
Remove unused arguments from some methods
2019-07-17 18:19:15 +03:00
Alex Plate
68ae03ef85
Replace behaviour to the american-style behavior
2019-07-17 14:39:09 +03:00
Alex Plate
8750c30b7d
Move to selection start/end in select mode if template is active
2019-07-17 14:34:54 +03:00
Alex Plate
869945e68c
Extract template checking into separate file
2019-07-17 13:41:10 +03:00
Alex Plate
c263881586
Log about new shape of caret
2019-07-17 13:26:09 +03:00
Alex Plate
7d936041c0
Create toSimpleString function for CommandState.State
2019-07-16 19:12:12 +03:00
Alex Plate
8208def57a
Add logging to entering visual mode
2019-07-16 17:22:10 +03:00
Alex Plate
95e7464962
Remove mnemonics for actions
2019-07-16 15:41:10 +03:00
Alex Plate
4f644ee1fe
Add notification about ideaput option
2019-07-16 13:36:48 +03:00
Alex Plate
0f7528b73b
Create VimState class and move isIdeaJoinNotified to it
2019-07-16 12:25:32 +03:00
Alex Plate
354262ba9b
Update ideajoin notification
2019-07-15 19:50:52 +03:00
Alex Plate
707fb53dda
Move all notifications to notification service
2019-07-15 16:23:40 +03:00
Alex Plate
6f356f8390
Replace some java methods with kotlin functions
2019-07-15 14:25:26 +03:00
Alex Plate
dc2530957f
Rename smartjoin with ideajoin
2019-07-15 14:22:36 +03:00
Alex Plate
e88dcae1a0
Rename idemarks to ideamarks
2019-07-15 14:19:48 +03:00
Alex Plate
90eda82045
[VIM-1698] Paste clears clipboard
2019-07-12 19:04:56 +03:00
Alex Plate
c17ad0ef2d
Fix back search in texts with tabs
2019-07-12 16:11:59 +03:00
Alex Plate
3f71f58454
Reformat CharPointer class
2019-07-12 14:34:25 +03:00
Alex Plate
41baee7b43
Add VimFunctionMark and VimTestFunction annotations
2019-07-11 16:22:53 +03:00
Alex Plate
e0e94e482a
Add logs to controlSelection
2019-07-11 14:24:02 +03:00
Alex Plate
c5964c270d
Add logging to search process
2019-07-11 14:24:00 +03:00
Alex Plate
69c850d1ac
Move toCharacterPosition and fromCharPositionToOffset methods to CharacterPosition class
2019-07-11 12:25:26 +03:00
Alex Plate
004d0146b7
WIP: Renaming file 'CharacterPosition' with Kotlin extension
2019-07-11 12:16:33 +03:00
Alex Plate
cee9c81496
[VIM-1697] Fix wrong search with tab characters
2019-07-10 19:07:10 +03:00
Alex Plate
1c01097491
Add new options test
2019-07-10 16:44:06 +03:00
Alex Plate
e1f582bcfc
Register new actions in info file
2019-07-09 19:01:24 +03:00
Alex Plate
e50f95abb3
Reset modeBeforeEnteringNonVimVisual before each action
2019-07-09 18:41:33 +03:00
Alex Plate
4e16a8b6f9
Revert "Remove mode restoring after unexpected selection"
...
This reverts commit e23f5cb1
2019-07-09 15:18:46 +03:00
Alex Plate
cf1ec16fdd
Fix macro replay
2019-07-08 17:04:18 +03:00
Alex Plate
e23f5cb159
Remove mode restoring after unexpected selection
2019-07-08 16:54:47 +03:00
Alex Plate
4d07171aaa
Convert UndoRedoHelper to kotlin
2019-07-08 11:48:23 +03:00
Alex Plate
7c50662ef6
WIP: Renaming file 'UndoRedoHelper' with Kotlin extension
2019-07-08 11:46:44 +03:00
Alex Plate
90126b4d29
Remove unused action
2019-07-05 16:21:33 +03:00
Alex Plate
7580af1b5f
Support ctrl-up and ctrl-down jumps
2019-07-05 16:07:57 +03:00
Alex Plate
8188203aed
Remove version from javadocs
2019-07-05 14:17:17 +03:00
Alex Plate
d91f5461d5
Plugin listeners are not loaded if plugin is disabled
2019-07-05 13:24:39 +03:00
Alex Plate
066b18c792
Do not move one char back in insert mode
2019-07-05 12:40:47 +03:00
Alex Plate
91de1004e6
Fix small code smells
2019-07-05 12:22:25 +03:00
Alex Plate
fecd2d7111
Use BaseComponent instead of deprecated ApplicationComponent
2019-07-05 12:17:54 +03:00
Alex Plate
07dd0884f3
Fix "explicit type" inspection
2019-07-04 18:39:29 +03:00
Alex Plate
a1fb97bd90
Remove some deprecations
2019-07-04 17:52:29 +03:00
Alex Plate
2e002d76b2
Replace deprecated getTopLevelEditor method
2019-07-04 17:40:13 +03:00
Alex Plate
aa13742c9a
Remove deprecated rightJustify and leftJustify methods
2019-07-04 17:09:56 +03:00
Alex Plate
7effcb3aac
Define action place for executable actions
2019-07-04 16:48:23 +03:00
Alex Plate
6d1869af61
[VIM-1668] Fix smart step into
2019-07-02 14:22:15 +03:00
Alex Plate
6e005a0c62
Fir exception in paste via IDE
2019-07-02 13:18:48 +03:00
Alex Plate
2770634627
Protection against wrong handlers
2019-07-01 20:14:27 +03:00
Alex Plate
1602ab2355
Add logs to controlNonVimSelectionChange
2019-07-01 17:30:28 +03:00
Alex Plate
7a37cb6f0b
Checking whether current mode is command before entering insert mode
2019-07-01 16:21:55 +03:00
Alex Plate
4d6de7500e
[VIM-752] Finish template from normal mode
2019-07-01 15:33:09 +03:00
Alex Plate
13d36de121
WIP: Renaming file 'MotionDownFirstNonSpaceAction' with Kotlin extension
2019-07-01 15:05:22 +03:00
Alex Plate
ae992ed366
Convert Argument.java to kotlin
2019-07-01 14:48:27 +03:00
Alex Plate
c03b16a6e8
WIP: Renaming file 'Argument' with Kotlin extension
2019-07-01 14:39:40 +03:00
Alex Plate
7823291b44
Fix NPE while moving caret
2019-07-01 14:31:44 +03:00
Alex Plate
59d79cc329
Add debug info about pushing and popping state
2019-07-01 14:24:32 +03:00
Alex Plate
c24ebf3427
Create test for validating info file
2019-06-28 14:22:50 +03:00
Alex Plate
434d5be26c
Enable identity checker for unit test mode
2019-06-28 12:38:39 +03:00
Alex Plate
f904ceae7a
Remove bad test
2019-06-28 12:21:02 +03:00
Alex Plate
9e62eefee0
Write better logs during execution
2019-06-27 19:57:30 +03:00
Alex Plate
7fdb31abf0
Fix problems of actions registration
...
Different vim tree were build by different orders of command registering
2019-06-27 19:34:15 +03:00
Alex Plate
e1d4e2f526
Fix few caret position problems
2019-06-27 15:50:46 +03:00
Alex Plate
f18e317dcf
Reformat all listeners in project
2019-06-27 12:19:14 +03:00
Alex Plate
e143a286ef
Do not reset caret on small mouse dragging
2019-06-26 19:31:56 +03:00
Alex Plate
faa9c26283
Reformat resetCursor function
2019-06-26 19:21:45 +03:00
Alex Plate
da182f5539
Add protection for cases when vimSelectionStart is null in visual mode
2019-06-26 19:08:21 +03:00
Alex Plate
ced51e37b4
Convert all commands to VimCommandAction
2019-06-26 18:51:55 +03:00
Alex Plate
f61134fd69
Use VimCommandAction for insert commands
2019-06-26 15:43:01 +03:00
Alex Plate
578f60ba91
WIP: Renaming file 'ShiftRightLinesAction' with Kotlin extension
2019-06-26 15:29:42 +03:00
Alex Plate
02effac75c
WIP: Renaming file 'ShiftLeftLinesAction' with Kotlin extension
2019-06-26 15:26:11 +03:00
Alex Plate
72f4b21aea
Use VimCommandAction for COPY/PASTE actions
2019-06-26 13:53:58 +03:00
Alex Plate
1aa59afaf0
WIP: Renaming file 'YankLineAction' with Kotlin extension
2019-06-26 13:46:18 +03:00
Alex Plate
45df3ed168
Use VimCommandAction for NVO actions
2019-06-26 13:33:20 +03:00
Alex Plate
b344972931
WIP: Renaming file 'MotionScrollPageUpAction' with Kotlin extension
2019-06-26 13:24:33 +03:00
Alex Plate
7886a816b2
WIP: Renaming file 'MotionScrollPageDownAction' with Kotlin extension
2019-06-26 13:12:21 +03:00
Alex Plate
4722730aff
Move userData functions to UserDataManager.kt
2019-06-26 12:29:11 +03:00
Alex Plate
27a2c6192f
Rename CaretData to UserDataManager
2019-06-25 16:49:15 +03:00
Alex Plate
db77d133dc
Use userData() for managing editor's user data
2019-06-25 16:48:46 +03:00
Alex Plate
000ebfaf2f
Fix all missing @Override annotations
2019-06-25 15:20:31 +03:00
Alex Plate
a47001516d
Reformat HandlerBase
2019-06-25 15:18:37 +03:00
Alex Plate
fa9901271a
WIP: Renaming file 'EditorActionHandlerBase' with Kotlin extension
2019-06-25 15:18:37 +03:00
Alex Plate
913e8c355b
Fix tests after reformat
2019-06-25 15:18:36 +03:00
Alex Plate
aeef2f8948
Reformat ChangeEditorActionHandler
2019-06-25 15:18:36 +03:00
Alex Plate
9be8e2b5b9
WIP: Renaming file 'ChangeEditorActionHandler' with Kotlin extension
2019-06-25 15:18:36 +03:00
Alex Plate
99b68801d9
Remove CaretOrder
2019-06-25 15:18:36 +03:00
Alex Plate
4c766298f1
Change hierarchy of handlers
2019-06-25 15:18:36 +03:00
Alex Plate
2618d09ef8
VimCommandAction accepts EditorActionHandlerBase
2019-06-25 15:18:36 +03:00
Alex Plate
2bef98408c
MotionEditorAction new inherits VimCommandAction
2019-06-25 15:18:35 +03:00
Alex Plate
dbf90d4f37
Rename .java to .kt
2019-06-25 15:18:35 +03:00
Alex Plate
1e378dd1dd
Fix duplicated key mappings
2019-06-25 15:18:35 +03:00
Alex Plate
fa51c25919
TextObjects have now always MOTION type
2019-06-25 15:18:35 +03:00
Alex Plate
c880f49b81
Convert registerCommandLineActions to VimCommandAction
2019-06-25 15:18:35 +03:00
Alex Plate
1835220ba3
Convert registerVariousModesActions to VimCommandAction
2019-06-25 15:18:35 +03:00
Matt Ellis
86dbd3a03a
Correctly recognise abbreviated command in incsearch
2019-06-22 15:08:31 +02:00
Matt Ellis
948c2cd021
Only show one set of search results
...
Don't allow both IntelliJ and IdeaVim highlights to be visible at the same time
2019-06-22 15:08:20 +02:00
Matt Ellis
2aa45b8794
Merge branch 'master' into feature/search
2019-06-20 12:14:55 +02:00
Alex Plate
2b2fc27899
[VIM-608] Call save actions for :w commands
2019-06-19 16:06:21 +03:00
Alex Plate
35d5eb1713
Fix tests for idea marks
2019-06-19 15:30:37 +03:00
Alex Plate
86fab38407
[VIM-959] Add idemarks option
2019-06-19 13:45:18 +03:00
Matt Ellis
866fe5cc8d
Merge branch 'master' into feature/search
2019-06-18 20:07:21 +02:00
Alex Plate
2845f8543c
Use objects for options
2019-06-18 20:08:02 +03:00
Alex Plate
011699d58f
Add notification about smartjoin option
2019-06-18 17:23:52 +03:00
Alex Plate
ddd37f5bee
Reformat Options file
2019-06-18 16:27:40 +03:00
Alex Plate
44202b5c4d
Rename .java to .kt
2019-06-18 16:11:09 +03:00
Matt Ellis
b157d07b6d
Improve handling of Delete and Backspace in ex entry
2019-06-18 13:27:32 +01:00
Matt Ellis
31d30a9115
Only close ex entry with backspace if no text
2019-06-18 11:49:55 +01:00
Matt Ellis
cc7ee5acc0
Remove unused action
2019-06-18 11:44:44 +01:00
Matt Ellis
35bcb627c2
Correctly start/reset highlighting with :s command
2019-06-15 11:21:02 +01:00
Matt Ellis
a7882fadba
Reorder methods. No other changes
2019-06-15 10:39:59 +01:00
Alex Plate
fe4525b441
Add smartjoin option
2019-06-14 19:05:53 +03:00
Matt Ellis
416357bf27
Incsearch highlights current match if nohlsearch
...
This also fixes a bug which would return an incorrect range when searching backwards, and two matches are found on a line, one before and one after the search position. This is due to reusing a reference, rather than making a copy. This was never discovered because we only used the start offset, not the end!
2019-06-14 15:43:20 +01:00
Matt Ellis
32735a5e06
Fix start offset for incsearch with :s command
2019-06-14 12:20:07 +01:00
Matt Ellis
5b1d26263b
Add incsearch highlights for :substitute command
...
Includes support for :global and :vglobal for when IdeaVim adds them
2019-06-14 10:39:07 +01:00
Alex Plate
84be5bc732
Reformat Motion and Visual handlers
2019-06-13 19:28:43 +03:00
Alex Plate
bf1dee2bc4
Reformat CommandHandler
2019-06-13 18:43:49 +03:00
Alex Plate
e0aadacf93
Remove flags
function
2019-06-13 17:30:20 +03:00
Alex Plate
35481682a9
Fix NPE on text preprocessing during insert
2019-06-13 16:09:27 +03:00
Alex Plate
64291d336c
Fix selection with mouse on line end
2019-06-13 15:21:00 +03:00
Alex Plate
3fe1ee4bd8
Fix problems with vertical movement
2019-06-13 15:01:31 +03:00
Matt Ellis
130a8d0f00
Disable search highlights when disabling plugin
2019-06-13 11:51:25 +01:00
Matt Ellis
36c4596a08
Fix exception with dead keys in ex entry
...
Will also highlight composed text on Mac
2019-06-11 19:57:11 +01:00
Alex Plate
ebad3812e4
Add docs for TextObjectActionHandler
2019-06-11 19:52:31 +03:00
Alex Plate
004c1c915f
Rename VimActionCommand to VimCommands
2019-06-11 19:52:25 +03:00
Alex Plate
39bd13a6ca
Migrate text object to new registration model
2019-06-11 19:42:52 +03:00
Alex Plate
f10ac679e2
Rename .java to .kt
2019-06-11 19:36:55 +03:00
Alex Plate
8d49012d64
Reformat VimCommandAction: get handler from makeHandler method
2019-06-11 16:00:37 +03:00
Alex Plate
91392c1e83
Convert VimActionHandler to kotlin
2019-06-11 14:10:43 +03:00
Alex Plate
65bb31e92a
Rename .java to .kt
2019-06-11 14:10:43 +03:00
Alex Plate
c06fa72936
Remove empty javadocs
2019-06-11 13:20:53 +03:00
Alex Plate
a1adb1eb43
Create noneOfEnum helper function
2019-06-11 13:15:52 +03:00
Alex Plate
778ddb0e75
Support gn text objects
2019-06-11 13:06:36 +03:00
Alex Plate
e919a026b7
Remove secondary carets on gn search
2019-06-11 12:01:56 +03:00
Alex Plate
a78f78604a
Move gn commands to motion package
2019-06-11 11:58:06 +03:00
Alex Plate
eeea093bb8
Improve performance of gn command
2019-06-11 11:49:59 +03:00
Alex Plate
b795c62ab7
Reformat SearchGroup file
2019-06-10 16:29:17 +03:00
Alex Plate
4e205d078d
Merge branch 'master' into pull/134
...
# Conflicts:
# src/com/maddyhome/idea/vim/group/MotionGroup.java
2019-06-10 14:48:50 +03:00
Alex Plate
16016cb13d
[VIM-714] Fix caret vertical movements problems
2019-06-10 13:27:20 +03:00
Alex Plate
4754fff89b
Use primary caret for post move in case of block selection
2019-06-10 13:15:32 +03:00
Matt Ellis
60f9403657
Incsearch highlights all matches + current match
2019-06-07 23:33:05 +01:00
Alex Plate
eace5c5543
Fix typo
2019-06-07 16:19:34 +03:00
Alex Plate
f6d16ea4d9
Protection for empty file
2019-06-07 15:15:11 +03:00
Alex Plate
ac2f11360c
Extract some methods to CommandStateExtensions
2019-06-07 15:04:57 +03:00
Alex Plate
d4cd8a228f
Move ideaput
option to 'clipboard options'
2019-06-06 14:48:19 +03:00
Alex Plate
6081f1d5ff
Merge pull request #197 from JetBrains/IdeaPut
...
VIM-25 Smart put operations (via IJ)
2019-06-06 14:08:06 +03:00
Alex Plate
0139967b29
Avoid dragging when select a word with double click
2019-06-06 13:27:06 +03:00
Alex Plate
0a30a42b2e
Avoid dragging when put caret on the line end
2019-06-06 13:16:41 +03:00
Matt Ellis
ff54bfa5b3
Merge branch 'master' into feature/search
2019-06-05 20:47:34 +01:00
Matt Ellis
22445f6df9
Add tests for hlsearch and incsearch
2019-06-05 20:24:38 +01:00
Alex Plate
b3130f38f2
Add logs for put and copy
2019-06-05 18:50:38 +03:00
Alex Plate
32fdbaccc3
VIM-25 Smart put operations (via IJ)
2019-06-05 15:49:31 +03:00
Alex Plate
8a4d3f5d80
Use 2-space indentation for kotlin files
2019-06-05 15:26:18 +03:00
Alex Plate
7d13d22650
Merge pull request #161 from thecodewarrior/unnamed-register-selection-type
...
VIM-1473 Fixed incorrect selection type for unnamed registers
2019-06-04 17:54:33 +03:00
Alex Plate
6c17725823
[VIM-438] Enable <C-N> and <C-P> for lookups
2019-06-03 20:00:17 +03:00
Matt Ellis
f3b1ddf439
Merge branch 'master' into feature/search
2019-06-03 16:42:39 +01:00
Matt Ellis
c7de374943
Refactor highlighting API calls
2019-06-03 16:39:01 +01:00
Alex Plate
1bb6345fcb
Refactor put group
2019-05-31 19:27:43 +03:00
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
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
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
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
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
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
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
Alex Plate
fe01820f3f
Add support for key in selectmode option
2019-05-15 10:18:44 +02:00
Alex Plate
2ad4436cef
Add support for startsel in keymodel option
2019-05-15 09:59:31 +02:00
Alex Plate
5b8fb49d4c
Additional null check
2019-05-15 07:09:06 +03:00
Alex Plate
dca0240c13
Fix opening dialog boxes
2019-05-14 20:38:15 +03:00
Alex Plate
ce692df94f
Fix cc command for empty document
2019-05-14 19:34:26 +03:00
Alex Plate
dbcf2acce4
Support cmd for selectmode option
2019-05-14 19:14:53 +03:00
Alex Plate
3bc628417f
WIP: Renaming file 'VisualToggleLineModeAction' with Kotlin extension
2019-05-14 18:52:53 +03:00
Alex Plate
bdc9b78ec8
Merge branch 'master' into VIM-510
2019-05-14 16:51:55 +03:00