-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Make m
textobject look for pairs enclosing selections
#3344
Merged
the-mikedavis
merged 17 commits into
helix-editor:master
from
EpocSquadron:epocsquadron/make-m-textobject-enclose-selections
Feb 10, 2023
Merged
Make m
textobject look for pairs enclosing selections
#3344
the-mikedavis
merged 17 commits into
helix-editor:master
from
EpocSquadron:epocsquadron/make-m-textobject-enclose-selections
Feb 10, 2023
Commits on Feb 3, 2023
-
Make
m
textobject look for pairs enclosing selectionsRight now, this textobject only looks for pairs that surround the cursor. This ensures that the pair found encloses each selection, which is likely to be intuitively what is expected of this textobject.
Configuration menu - View commit details
-
Copy full SHA for f262c88 - Browse repository at this point
Copy the full SHA f262c88View commit details -
Co-authored-by: Michael Davis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e630dbf - Browse repository at this point
Copy the full SHA e630dbfView commit details -
Adjust logic for ensuring surround range encloses selection
Prior, it was missing the case where the start of the selection came before the opening brace. We also had an off-by-one error where if the end of the selection was on the closing brace it would not work.
Configuration menu - View commit details
-
Copy full SHA for 0085c66 - Browse repository at this point
Copy the full SHA 0085c66View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc40f38 - Browse repository at this point
Copy the full SHA bc40f38View commit details -
Configuration menu - View commit details
-
Copy full SHA for b14a325 - Browse repository at this point
Copy the full SHA b14a325View commit details -
Configuration menu - View commit details
-
Copy full SHA for ecbac26 - Browse repository at this point
Copy the full SHA ecbac26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d3206c - Browse repository at this point
Copy the full SHA 3d3206cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d543db - Browse repository at this point
Copy the full SHA 5d543dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5646318 - Browse repository at this point
Copy the full SHA 5646318View commit details -
Configuration menu - View commit details
-
Copy full SHA for b40a3ea - Browse repository at this point
Copy the full SHA b40a3eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e34717 - Browse repository at this point
Copy the full SHA 6e34717View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cf02dd - Browse repository at this point
Copy the full SHA 1cf02ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4806a62 - Browse repository at this point
Copy the full SHA 4806a62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 581ea54 - Browse repository at this point
Copy the full SHA 581ea54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71789c4 - Browse repository at this point
Copy the full SHA 71789c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b68034 - Browse repository at this point
Copy the full SHA 5b68034View commit details
Commits on Feb 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 506fa15 - Browse repository at this point
Copy the full SHA 506fa15View commit details
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.