Alex Plate
305a99afc8
Rename doTestWithoutNeovim function
2021-03-31 10:32:12 +03:00
Alex Pláte
eec23d9640
Merge pull request #276 from citizenmatt/refactor-searchgroup
...
More refactoring of SearchGroup
2021-03-31 10:30:31 +03:00
Matt Ellis
76f28ef94a
Update formatting
2021-03-23 14:25:59 +00:00
Matt Ellis
3b89d96553
Handle scrolling page with virtual space
2021-03-23 01:01:15 +00:00
Matt Ellis
0fba78f885
[VIM-2177] Do not scroll end of file to bottom of screen
2021-03-22 14:20:28 +00:00
Matt Ellis
ee38944cf9
Fix caret position at end of file with scrolloff
2021-03-22 10:10:36 +00:00
Shrikant Sharat Kandula
c24cbcfbc0
Refactor implementation and test
2021-03-21 11:13:48 +05:30
Shrikant Sharat Kandula
28c01f0a43
Handle outer selection for lower boundary
2021-03-21 10:52:55 +05:30
Shrikant Sharat Kandula
182f671e35
Handle inner selection for upper boundary
2021-03-21 10:46:02 +05:30
Shrikant Sharat Kandula
788495aac8
Merge branch 'master' into extension/textobjindent
...
# Conflicts:
# resources/META-INF/includes/VimExtensions.xml
2021-03-21 10:02:52 +05:30
Shrikant Sharat Kandula
7cbeb821f5
Upper boundary functional
2021-03-21 09:59:34 +05:30
Matt Ellis
36901194dc
Scroll last line to bottom of screen with G
2021-03-18 21:26:42 +00:00
Matt Ellis
58071007bd
Ignore sidescrolloff with caret at start of line
2021-03-18 21:20:48 +00:00
Matt Ellis
07bafdf416
Minor clean up
2021-03-17 12:17:51 +00:00
Matt Ellis
f7bb5ec500
Scroll view with Enter in insert mode
2021-03-17 12:17:51 +00:00
Matt Ellis
b92114fec6
Scroll view when inserting new line above
2021-03-17 12:17:51 +00:00
Matt Ellis
fe9bb2a712
Scroll view when inserting new line below
2021-03-17 12:17:51 +00:00
Matt Ellis
81996f8051
Do not beep when removing highlights with Escape
2021-03-17 12:17:51 +00:00
Matt Ellis
a0a976c345
Scroll view for <Del> and <BS> in insert mode
2021-03-17 12:17:51 +00:00
Matt Ellis
9315f36f16
Scroll view for <Tab> in insert mode
...
Note that this doesn't actually work, as we ignore <Tab> in insert mode, so that other actions, specifically the live template action, can handle it. Without this, Emmet doesn't work (VIM-674). The scrolling does work with <C-I>
2021-03-17 12:17:51 +00:00
Matt Ellis
cdc03836d2
Scroll view when moving up/down in insert mode
2021-03-17 12:17:50 +00:00
Matt Ellis
a14e95ad6c
Scroll view when deleting text
2021-03-17 12:17:50 +00:00
Matt Ellis
dd230f720f
[VIM-2230] Caret and inlay with preceding text
2021-03-17 12:17:50 +00:00
Matt Ellis
fa781de76f
Simplify inserting register text
2021-03-17 12:17:50 +00:00
Matt Ellis
377e085aa0
Merge branch 'master' into refactor-searchgroup
2021-03-10 11:45:55 +00:00
Matt Ellis
3642b32ed6
Fix range handling
2021-03-10 10:30:33 +00:00
Alex Plate
8a6ecf005b
Test using neovim with assertOffset
2021-03-10 11:47:45 +03:00
Alex Plate
6866fdbdf5
Update search group tests
2021-03-05 11:25:38 +03:00
Alex Plate
78bc4060b3
Update after rebase
2021-03-05 10:38:39 +03:00
Matt Ellis
16b901ea9e
Update formatting
2021-03-05 10:38:39 +03:00
Matt Ellis
26a3974477
Stop multiple-cursors affecting search state
...
Searching no longer uses the high level search APIs that affect state such as saved searches, history and highlighting. Also conforms better to vim-multiple-cursors behaviour:
* Searches are now case sensitive
* Regular expressions in search text are ignored
* "Select all" works with nowrapscan
* Next occurrence based on existing selection no longer uses word boundary flag
* "No more matches" message shown at more appropriate times
2021-03-05 10:38:39 +03:00
Matt Ellis
9a10d6fe6c
Remove usage of deprecated API
2021-03-05 10:38:38 +03:00
Matt Ellis
eb72def6d0
Remove unnecessary caret move
2021-03-05 10:38:38 +03:00
Matt Ellis
3fe2a2e3b0
Fix updating last search/sub patterns
2021-03-05 10:38:38 +03:00
Matt Ellis
d22d0f67b5
Remove duplication in invalid command message
2021-03-05 10:38:38 +03:00
Matt Ellis
e56e944309
Simplify writing state
2021-03-05 10:38:38 +03:00
Matt Ellis
2d853d8d28
Rename searchAndReplace processSubstituteCommand
2021-03-05 10:38:38 +03:00
Matt Ellis
e5d086dace
Introduce test method to set state
2021-03-05 10:38:38 +03:00
Matt Ellis
eccdd725b7
Introduce processSearchRange
2021-03-05 10:38:37 +03:00
Matt Ellis
284e0b4bf5
Rename search to processSearchCommand
...
The method is doing more than just searching, such as parsing the search command and state management
2021-03-05 10:38:37 +03:00
Matt Ellis
47becb2721
Remove unused count for main search method
...
This method is the main implementation for '/' and '?' and does not support a count. It is currently being used incorrectly in places that should be using a simpler find helper.
2021-03-05 10:38:37 +03:00
Matt Ellis
0b64e26235
Replace search command flags with Direction enum
2021-03-05 10:38:37 +03:00
Matt Ellis
d90db8157c
Remove overload that assumes primary caret offset
2021-03-05 10:38:37 +03:00
Matt Ellis
11da530151
Remove overload that takes a caret
2021-03-05 10:38:37 +03:00
Matt Ellis
c067c67e34
Remove unused code to move caret
2021-03-05 10:38:37 +03:00
Matt Ellis
89913ad4d7
Remove unused search handling from ProcessExEntry
2021-03-05 10:38:36 +03:00
Alex Plate
b73f34ad8c
Useless change
2021-03-05 10:38:22 +03:00
Alex Plate
17cf68d8a5
Support testing without neovim for a lot of tests
2021-03-03 11:17:08 +03:00
Alex Plate
5c1795ee03
Add startofline option to the list of supported commands
2021-03-03 11:02:47 +03:00
Alex Plate
19a8480a88
Update changes
2021-03-03 11:01:04 +03:00