-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Separate jump behavior from increment/decrement #4123
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
Merged
the-mikedavis
merged 22 commits into
helix-editor:master
from
greg-enbala:2019_increment_number_crashes
Jan 16, 2023
Merged
Changes from 18 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
a0b551c
Fixes 2019: Increment number crashes
460c5e3
don't crash on index out of range
e9a1da4
fix integer incrementer
e394e2d
clippy
78dfde5
simplified algorithm a little
34fce23
fixed doc in IntegerIncrementor
48a2ff0
clippy
bc8df20
for loop back to filter_map
285e151
integration tests
2712032
Moved tests around, changed module name number to integer
ff674c7
Merge remote-tracking branch 'origin/master' into 2019_increment_numb…
80beea7
shorten algorithm a little bit
a8524b6
use method `min` rather than function
greg-enbala 400eaf1
remove Range.shorten in favor of an inline solution
1df3415
comulative -> cumulative
eee437a
reworking of increment to operate only on exact selections
2cd5bc1
attempt integer increment before date as it should match much faster
6c2940d
Merge remote-tracking branch 'origin/master' into 2019_increment_numb…
fd47631
Merge remote-tracking branch 'origin/master' into 2019_increment_numb…
e235e3d
remove unused structs, use appropriate range helper
a166d42
replace deprecated chrono functions
1e6f0a3
Merge branch 'master' into 2019_increment_number_crashes
the-mikedavis 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.