Commit Graph
4848 Commits
Author SHA1 Message Date
Alex Plate 34426ae32d Pass editor to undo redo 2022-11-25 13:35:29 +02:00
Alex Plate c3cd207b2b Add some logging 2022-11-25 09:40:48 +02:00
Matt EllisandAlex Pláte 84a6c40e13 Fix incorrect normalising for trailing inlay 2022-11-23 12:02:55 +02:00
Alex Plate ac1d334bf1 Fix(VIM-2797): Introduce variable to mute default argtextobj mappings 2022-11-23 11:44:47 +02:00
Alex Plate 7324ee5e8d Update formatting 2022-11-20 00:18:56 +00:00
Alex Plate 54c2299654 Remove several methods from VimCaret 2022-11-18 14:37:32 +01:00
Alex Plate b2cfb6d6ed Refactor visual mode entering 2022-11-18 13:08:27 +01:00
Alex Plate e8a11b8f79 Remove unused method 2022-11-18 12:28:42 +01:00
Alex Plate f16890f9a7 Remove unused method 2022-11-17 16:35:33 +01:00
Alex Plate e881bec45d Move more change group methods to engine 2022-11-17 16:14:26 +01:00
Alex Plate 18eea7ca2d Move change group methods to the engine 2022-11-17 16:03:41 +01:00
Alex Plate 316410a561 Move some methods from put group to the engine 2022-11-17 14:57:19 +01:00
Alex Plate 76a1a190f6 Refactor change group 2022-11-17 14:08:07 +01:00
Alex Plate c243ae9cef Add refactoring to simplify change group 2022-11-17 14:07:57 +01:00
Matt EllisandAlex Pláte 101dc355ba Rename parameters in Mark and Jump 2022-11-17 14:07:46 +01:00
Matt EllisandAlex Pláte f5f3d0b827 Rename line parameters and variables
Buffer lines are just called "line", but visual lines (or where things are ambiguous) are explicitly named
2022-11-17 14:07:46 +01:00
Matt EllisandAlex Pláte 53cb5d1fe9 Rename more logical position helper functions 2022-11-17 14:07:46 +01:00
Matt EllisandAlex Pláte 0978ca616f Rename caret logical position helper functions 2022-11-17 14:07:46 +01:00
Matt EllisandAlex Pláte bbf42c0a28 Rename editor logical position helper functions 2022-11-17 14:07:46 +01:00
Matt EllisandAlex Pláte 7df04c6e2e Rename VimLogicalPosition to BufferPosition 2022-11-17 14:07:46 +01:00
Alex Plate 309197781e Fix some tests 2022-11-17 10:14:03 +01:00
Alex Plate 5a3ee970a0 Move editor helper functions to engine 2022-11-17 09:37:22 +01:00
Alex Plate 7cbe63e484 Move some editor functions to engine 2022-11-16 23:21:22 +01:00
filipp 5342b02091 Converted MacOS chars to ASCII for statistics 2022-11-16 21:26:41 +02:00
Alex Plate 7eeca57135 A few fixes 2022-11-16 13:22:40 +01:00
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 829a228d79 Revert "Remove contributions of Piotr Mikulski <piotr@near.org>"
This reverts commit 860592291f.
2022-11-16 09:45:08 +01:00
Alex Plate 4c589c9610 Revert "Refactor commands output"
This reverts commit 05852b07
2022-11-16 09:45:08 +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 EllisandAlex Pláte 27d1170c75 Move creating adjusted offset out of action 2022-11-16 09:41:59 +01:00
Matt EllisandAlex Pláte 11c850a41e Remove unused property 2022-11-16 09:41:59 +01:00
Matt EllisandAlex Pláte ff4ee06a1f Remove unnecessary setting of vimLastColumn 2022-11-16 09:41:59 +01:00
Matt EllisandAlex Pláte 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 EllisandAlex Pláte b5aba454ae Remove more postMove overrides 2022-11-16 09:41:59 +01:00
Matt EllisandAlex Pláte 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 EllisandAlex Pláte ef73733596 Remove unnecessary method from VimCaret 2022-11-15 10:34:12 +02:00
Matt EllisandAlex Pláte e0b3e1db24 Move StrictMode to engine 2022-11-15 10:34:12 +02:00
Matt EllisandAlex Pláte e0b51d653a Move action to correct package 2022-11-15 10:34:12 +02:00
Matt EllisandAlex Pláte c17ebbf4d7 Rename various scroll functions 2022-11-15 10:34:12 +02:00
Matt EllisandAlex Pláte 44a26d59a4 Rename screen line functions to "display" 2022-11-15 10:34:12 +02:00
Matt EllisandAlex Pláte 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 EllisandAlex Pláte 89548d132a Remove obsolete helper method 2022-11-15 10:34:12 +02:00
Matt EllisandAlex Pláte 45dbb2cd3b Remove JavaVimTestCase base class
Can also now apply @TestWithoutNeovim to an entire class
2022-11-15 10:34:12 +02:00
Alex Plate 785f29abf8 Fix some qodana inspections 2022-11-10 13:38:18 +02:00
Alex Plate ab5eb9c401 Fix test 2022-11-10 11:25:41 +02:00
Alex Plate 3939144128 Update UI tests 2022-11-09 09:13:01 +02:00