Alex Plate
2162985e4a
Move more methods to engine
2022-11-16 13:05:59 +01:00
Alex Plate
5d53f4c13a
Move some methods from editor helper to engine
2022-11-16 12:37:03 +01:00
Alex Plate
b9fc58ec45
Move some methods to engine
2022-11-16 09:45:07 +01:00
Alex Plate
193a84dafd
Move method to engine
2022-11-16 09:43:53 +01:00
Alex Plate
3880a33208
Refactoring
2022-11-16 09:43:53 +01:00
Alex Plate
2edf897e39
Move getMotionRange to base method
2022-11-16 09:43:51 +01:00
Matt Ellis
27d1170c75
Move creating adjusted offset out of action
2022-11-16 09:41:59 +01:00
Matt Ellis
11c850a41e
Remove unused property
2022-11-16 09:41:59 +01:00
Matt Ellis
ff4ee06a1f
Remove unnecessary setting of vimLastColumn
2022-11-16 09:41:59 +01:00
Matt Ellis
0549f32d6e
Remove unnecessary base class
2022-11-16 09:41:59 +01:00
Matt Ellis
c5ab3490b3
Remove preOffsetComputation hook
...
Cached intended column is invalidated and recalculated if the caret has moved (intentionally or outside IdeaVim's control)
2022-11-16 09:41:59 +01:00
Matt Ellis
50ba1a1c4e
Simplify overloads
2022-11-16 09:41:59 +01:00
Matt Ellis
ee45d2fb38
Remove unused postMove hooks
2022-11-16 09:41:59 +01:00
Matt Ellis
a94822b79a
Remove unused preMove hooks
2022-11-16 09:41:59 +01:00
Matt Ellis
b5aba454ae
Remove more postMove overrides
2022-11-16 09:41:59 +01:00
Matt Ellis
a49631e986
Start to refactor postMove and intended column
2022-11-16 09:41:59 +01:00
Matt Ellis
bb31b5f2d3
Remove unused hooks for SingleExecution
2022-11-16 09:41:59 +01:00
Matt Ellis
8ad08d466e
Refactor motion handler to combine caret move
2022-11-16 09:41:59 +01:00
Matt Ellis
ab31183a93
Regroup line motion functions
2022-11-15 10:34:12 +02:00
Matt Ellis
3257cc82dc
Rename functions to indicate target motion
...
I.e. line number (currently buffer, should be Vim logical line), current line, or relative to current line
2022-11-15 10:34:12 +02:00
Matt Ellis
ef73733596
Remove unnecessary method from VimCaret
2022-11-15 10:34:12 +02:00
Matt Ellis
4b45d4cf09
Group VimCaret related functions and properties
2022-11-15 10:34:12 +02:00
Matt Ellis
e0b3e1db24
Move StrictMode to engine
2022-11-15 10:34:12 +02:00
Matt Ellis
e0b51d653a
Move action to correct package
2022-11-15 10:34:12 +02:00
Matt Ellis
c17ebbf4d7
Rename various scroll functions
2022-11-15 10:34:12 +02:00
Matt Ellis
44a26d59a4
Rename screen line functions to "display"
2022-11-15 10:34:12 +02:00
Matt Ellis
6b8f81f7eb
Rename screen column functions to "display"
...
Two reasons:
1. It is good if the engine uses Vim terminology. A "screen" in Vim includes all window/display lines from all windows in the terminal screen, including the status and command line. IntelliJ doesn't have this concept. A display line is most similar to IntelliJ's visual lines, but describes the window/display's character grid, not the buffer contents.
2. moveCaretToMiddleColumn needs renaming to indicate that it's for a display line, not a logical line, and to make way for an implementation of `gM`, which does work on logical lines
2022-11-15 10:34:12 +02:00
Matt Ellis
9a4b9419eb
Rearrange VimMotionGroup to group related functions
...
No code changes
2022-11-15 10:34:12 +02:00
Alex Plate
7791c0b7be
Get rid of runForEachCaret in DeleteJoinLinesAction
2022-11-08 13:45:21 +02:00
Alex Plate
3df637b265
Remove macrodelay option
2022-11-08 09:42:11 +02:00
Alex Plate
ea220d2514
Update formatting
2022-11-06 00:20:06 +00:00
Alex Plate
2355435275
Update copyright
2022-11-04 09:24:03 +02:00
Alex Plate
05852b07c6
Refactor commands output
2022-11-01 19:47:27 +02:00
Alex Plate
19a6284023
Update kotlin version to 1.7.20
2022-10-28 08:16:10 +03:00
Matt Ellis
45908f2a84
Remove unnecessary scroll method
2022-10-28 08:15:32 +03:00
Alex Plate
013f7a42c2
[VIM-2774] Move visual toggle mode to another handler
2022-10-18 16:38:40 +03:00
Alex Plate
d03398f3e8
[VIM-2774] Move reset mode to another handler
2022-10-18 16:38:40 +03:00
Alex Plate
7a26307a2b
[VIM-2774] Move caret swap to runForEachCaret
2022-10-18 16:38:40 +03:00
Alex Plate
fa6a0369b8
[VIM-2774] Remove runforEachCaret for other method
2022-10-18 16:38:40 +03:00
Alex Plate
ad8cb0ba09
[VIM-2774] Add conditional multicaret handler
2022-10-18 16:38:39 +03:00
Alex Plate
d3424021c8
Fix(VIM-2768): Refactor listeners
2022-10-17 17:39:40 +03:00
filipp
6e0f301fb8
Fix(VIM-2757) Wrong gv
behavior
2022-09-22 04:08:39 +03:00
filipp
c76b8db293
Fix(VIM-2718) Copied value is not inserted
2022-09-21 03:00:53 +03:00
Alex Plate
871b60fe8d
Revert "[New Typing Handler]: Switch j
command to new typing handler"
...
This reverts commit 43a79dba
2022-09-12 09:30:22 +03:00
Alex Plate
6715a5b61f
Revert "[New Typing Handler]: Support d
"
...
This reverts commit c32c62ea
2022-09-12 09:29:46 +03:00
Alex Plate
9f00dbd6f4
Update formatting
2022-09-11 00:19:01 +00:00
filipp
7fbc17624f
Fix(VIM-2718): Fixed case where the primary caret was changed
2022-09-11 00:24:06 +03:00
Alex Plate
c32c62eacc
[New Typing Handler]: Support d
2022-09-06 13:13:31 +03:00
Alex Plate
43a79dbad4
[New Typing Handler]: Switch j
command to new typing handler
2022-09-05 15:22:10 +03:00
Alex Plate
da8f5f3231
Fix handler call from put command
2022-08-23 15:26:58 +03:00