-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fix multiple issues with expand selection commands and pair/block movement #2921
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
2677f01
Refactor `matcher` and rework `nextPairedChar` method of `PairMatcher`
xmbhasin 9d643d2
Maintain current selection on failure in `MoveInsideCharacter` and re…
xmbhasin 250521b
Rename symbols for compatibility with changes to `PairMatcher` in `ma…
xmbhasin 2fe9aae
Add backtick and angle bracket (tag) support for `af`. Ensure `af` on…
xmbhasin 9874514
Filter enclosing tags using currently selected range and fix RegExp i…
xmbhasin b6ccb76
Fix 's' or `ActionChangeChar` method `couldActionApply`. Fixes bug fa…
xmbhasin 25ee40e
Fix order of tag object expansion and rename a symbol to be more sema…
xmbhasin fdb53ee
Fix finding matching pair when cursor is already on the other member …
xmbhasin ae5af17
Fix count prefixed tag expansion by using vimState instead of current…
xmbhasin f34047e
Fix count-prefixed `MoveInsideCharacter` and `MoveTagMatch` and adjus…
xmbhasin 263962c
Fix count-prefixed `SelectAnExpandingBlock` by making `vimState` as i…
xmbhasin f29ca45
Fix `PairMatcher` method name in `modeHandler.ts`
xmbhasin 1efed15
Add visual mode tests for fixes to count-prefixed textobject and bloc…
xmbhasin 8b2fc45
Merge branch 'master' into fix-expand-select
xmbhasin 2afe005
Add visual mode test for count-prefixed 'vit' command
xmbhasin 4d17c7c
Fix count-prefixed inner block selection
xmbhasin 1fed3da
Fix count-prefixed inner tag content selection
xmbhasin e1bff56
Merge branch 'master' into fix-expand-select
xmbhasin ff7f027
Merge branch 'master' into fix-expand-select
jpoon 9b344a6
Merge branch 'master' into fix-expand-select
xmbhasin 5e32f93
Refactor `execActionWithCount` in `BaseMovement` and overriding classes
xmbhasin 371f3ef
Refactor again `execActionWithCount` in `BaseMovement`
xmbhasin 21fb2bf
Fix position adjustment in pairmatching classes for count prefixed ac…
xmbhasin 8210643
Fix updating position in `execActionWithCount`
xmbhasin 7f69e09
Fix unidirectional expanding selections and off by one char errors w…
xmbhasin 7eaee13
Fix surround mode tag selection. Fix running undefined operators on m…
xmbhasin 5b5a304
Fix count-prefixed operators with inner pair content movements
xmbhasin e59952e
Merge branch 'master' into fix-expand-select
xmbhasin b60f5f8
Refactor BaseMovement selection type to enum and rename symbols
xmbhasin bbce8a7
Revert package-lock.json
xmbhasin aa37795
Fix adjusting for concatenating selections
xmbhasin 3830e2a
Merge branch 'master' into fix-expand-select
xmbhasin f2662f5
Merge branch 'master' into fix-expand-select
jpoon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch.