-
Notifications
You must be signed in to change notification settings - Fork 742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incsearch support for :global #894
Incsearch support for :global #894
Commits on May 30, 2024
-
Rename Range and related classes to Address
An address evaluates to a line, and a range is a collection of addresses
Configuration menu - View commit details
-
Copy full SHA for 485c390 - Browse repository at this point
Copy the full SHA 485c390View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91a1ae5 - Browse repository at this point
Copy the full SHA 91a1ae5View commit details -
Remove mutable state from Range
Sometimes we cache things, and other times it's relative to a passed caret. Let's always calculate it
Configuration menu - View commit details
-
Copy full SHA for c67dcb2 - Browse repository at this point
Copy the full SHA c67dcb2View commit details -
Introduce addresses for current line and last line
Remove mutation from LineAddress
Configuration menu - View commit details
-
Copy full SHA for 7829037 - Browse repository at this point
Copy the full SHA 7829037View commit details -
Remove Range overloads that don't require a caret
Provide caret when calling from Command
Configuration menu - View commit details
-
Copy full SHA for 25ffa42 - Browse repository at this point
Copy the full SHA 25ffa42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3956cf7 - Browse repository at this point
Copy the full SHA 3956cf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0231576 - Browse repository at this point
Copy the full SHA 0231576View commit details -
Also ensure that test derives from VimTestCase so that injector is correctly initialised
Configuration menu - View commit details
-
Copy full SHA for e25559a - Browse repository at this point
Copy the full SHA e25559aView commit details -
Count needs to be one-based, lines must be zero-based. So store addresses as one-based until processed
Configuration menu - View commit details
-
Copy full SHA for bc0272d - Browse repository at this point
Copy the full SHA bc0272dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1df28b6 - Browse repository at this point
Copy the full SHA 1df28b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a131ad - Browse repository at this point
Copy the full SHA 6a131adView commit details -
Configuration menu - View commit details
-
Copy full SHA for a408164 - Browse repository at this point
Copy the full SHA a408164View commit details -
Configuration menu - View commit details
-
Copy full SHA for f22a2e6 - Browse repository at this point
Copy the full SHA f22a2e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92ef838 - Browse repository at this point
Copy the full SHA 92ef838View commit details -
Add tests for goto character command
Also start to refactor handling of count
Configuration menu - View commit details
-
Copy full SHA for 06a6c41 - Browse repository at this point
Copy the full SHA 06a6c41View commit details -
Add tests and fixes for goto line command
Correctly handles some validation, and also allows going to line zero
Configuration menu - View commit details
-
Copy full SHA for f9d3962 - Browse repository at this point
Copy the full SHA f9d3962View commit details -
Add tests and fixes for delete lines command
Validates register before use and correctly uses register and count
Configuration menu - View commit details
-
Copy full SHA for 9cbee21 - Browse repository at this point
Copy the full SHA 9cbee21View commit details -
Made it explicit to get the count from argument and/or range. Default count is not passed, because it was never used. Added some tests where possible, but hard to test select file and friends
Configuration menu - View commit details
-
Copy full SHA for 7fe1991 - Browse repository at this point
Copy the full SHA 7fe1991View commit details -
Add tests and fixes for shift commands
Shift left and right now work with counts, validate the counts and move the caret to the correct end position
Configuration menu - View commit details
-
Copy full SHA for d76afdb - Browse repository at this point
Copy the full SHA d76afdbView commit details -
Add tests and fixes for print command
Handles validation of count and correctly moves caret to end of range after execution. Also fix issue where the results of :print are accumulated and not cleared. Fixes VIM-2570
Configuration menu - View commit details
-
Copy full SHA for e1232db - Browse repository at this point
Copy the full SHA e1232dbView commit details -
Add tests and fixes for join command
Handles validation for count and positions caret in the correct place. Also handles join with visual multicaret scenarios.
Configuration menu - View commit details
-
Copy full SHA for 3b94976 - Browse repository at this point
Copy the full SHA 3b94976View commit details -
Add tests and fixes for yank command
Handles validation for count and ensures correct behaviour for registers.
Configuration menu - View commit details
-
Copy full SHA for 2684e63 - Browse repository at this point
Copy the full SHA 2684e63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46a3341 - Browse repository at this point
Copy the full SHA 46a3341View commit details -
Refactor handling of default range
Specify a default range instead of default line for count.
Configuration menu - View commit details
-
Copy full SHA for fa970c7 - Browse repository at this point
Copy the full SHA fa970c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3700d3 - Browse repository at this point
Copy the full SHA f3700d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4714e0 - Browse repository at this point
Copy the full SHA c4714e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2729c1 - Browse repository at this point
Copy the full SHA c2729c1View commit details -
Clear ex output after assert and fix tests
This ensures that a failing action doesn't pass due to previous state
Configuration menu - View commit details
-
Copy full SHA for 5faeea2 - Browse repository at this point
Copy the full SHA 5faeea2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e77d8f - Browse repository at this point
Copy the full SHA 4e77d8fView commit details -
Fix move command moving to current line
Removes a workaround that would break moving a range to the current line because it would always move the caret to the start of the range. Now positions the caret to the start of the selection if there is one. This also means we can remove the SAVE_VISUAL flag from JoinLinesCommand Fixes VIM-2936
Configuration menu - View commit details
-
Copy full SHA for 41f53e3 - Browse repository at this point
Copy the full SHA 41f53e3View commit details -
Reintroduce ProcessGroup.startExEntry
We need to share the implementation between starting an Ex command, and starting a filter command, which is just an Ex command with initial text
Configuration menu - View commit details
-
Copy full SHA for 2362d67 - Browse repository at this point
Copy the full SHA 2362d67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ae3f92 - Browse repository at this point
Copy the full SHA 2ae3f92View commit details -
Remove unused branch in SortCommand
Commands are executed in Normal mode, although there may be multiple carets
Configuration menu - View commit details
-
Copy full SHA for f24ada3 - Browse repository at this point
Copy the full SHA f24ada3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1987a15 - Browse repository at this point
Copy the full SHA 1987a15View commit details -
Fix
[count]:
initial range text in ex fieldFixes regression from changes in ex field handling
Configuration menu - View commit details
-
Copy full SHA for 26d1e81 - Browse repository at this point
Copy the full SHA 26d1e81View commit details -
Fix incsearch highlights with operator count
E.g. `2"a3"b4"c5d6/foo` will now highlight the current match correctly
Configuration menu - View commit details
-
Copy full SHA for fa18d23 - Browse repository at this point
Copy the full SHA fa18d23View commit details