-
-
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
The Great Line Ending & Cursor Range Cleanup #376
The Great Line Ending & Cursor Range Cleanup #376
Commits on Jul 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c1b0a71 - Browse repository at this point
Copy the full SHA c1b0a71View commit details -
Configuration menu - View commit details
-
Copy full SHA for d070747 - Browse repository at this point
Copy the full SHA d070747View commit details -
Better validation method APIs for
Range
.This way they do less work, are more specific to what we actually need, and they compose.
Configuration menu - View commit details
-
Copy full SHA for 77a266e - Browse repository at this point
Copy the full SHA 77a266eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ae522f - Browse repository at this point
Copy the full SHA 0ae522fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c7be6d - Browse repository at this point
Copy the full SHA 7c7be6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e725957 - Browse repository at this point
Copy the full SHA e725957View commit details
Commits on Jul 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2224a15 - Browse repository at this point
Copy the full SHA 2224a15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 230248b - Browse repository at this point
Copy the full SHA 230248bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 22dca3b - Browse repository at this point
Copy the full SHA 22dca3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7961a13 - Browse repository at this point
Copy the full SHA 7961a13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28627f9 - Browse repository at this point
Copy the full SHA 28627f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28d2d68 - Browse repository at this point
Copy the full SHA 28d2d68View commit details
Commits on Jul 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6e15c9b - Browse repository at this point
Copy the full SHA 6e15c9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85d5b39 - Browse repository at this point
Copy the full SHA 85d5b39View commit details
Commits on Jul 8, 2021
-
Implement
Range::put()
which manages range movements and extensions.In particular, this wraps the annoying logic involved in keeping the cursor width to 1 grapheme.
Configuration menu - View commit details
-
Copy full SHA for 753f7f3 - Browse repository at this point
Copy the full SHA 753f7f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4c59b4 - Browse repository at this point
Copy the full SHA b4c59b4View commit details
Commits on Jul 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a77274e - Browse repository at this point
Copy the full SHA a77274eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 954314a - Browse repository at this point
Copy the full SHA 954314aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c2fd55e - Browse repository at this point
Copy the full SHA c2fd55eView commit details
Commits on Jul 19, 2021
-
Update word selection/navigation to work with gap indexing.
Also tweaked some of the existing behavior that seemed inconsistent and/or buggy. It's mostly identical, just a few corner cases are different.
Configuration menu - View commit details
-
Copy full SHA for 6c038bb - Browse repository at this point
Copy the full SHA 6c038bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e462f32 - Browse repository at this point
Copy the full SHA e462f32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a9ae72 - Browse repository at this point
Copy the full SHA 1a9ae72View commit details -
Properly fix
last_line
view calculation.Turned out to be simpler than I thought. Didn't even need to change the other use-sites.
Configuration menu - View commit details
-
Copy full SHA for 079d4ed - Browse repository at this point
Copy the full SHA 079d4edView commit details -
Fixed primary cursor position calculation to use 1-width semantics.
This had a bunch of knock-on effects that were buggy, such as bracket match highlighting.
Configuration menu - View commit details
-
Copy full SHA for b0311f4 - Browse repository at this point
Copy the full SHA b0311f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for e98d669 - Browse repository at this point
Copy the full SHA e98d669View commit details
Commits on Jul 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 13b0784 - Browse repository at this point
Copy the full SHA 13b0784View commit details -
Fix
Selection::push()
to make the pushed range primary.Apparently I accidentally deleted that behavior in the cleanup.
Configuration menu - View commit details
-
Copy full SHA for c400a60 - Browse repository at this point
Copy the full SHA c400a60View commit details -
Make search work a little nicer when there are already selections.
Specifically, if you have text like "aaaaaaaaa" and you search for "a", the new behavior will actually progress through all of the "a"s, whereas the previous behavior would be stuck on a single one.
Configuration menu - View commit details
-
Copy full SHA for 1792dc6 - Browse repository at this point
Copy the full SHA 1792dc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1910fa7 - Browse repository at this point
Copy the full SHA 1910fa7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8a3980 - Browse repository at this point
Copy the full SHA e8a3980View commit details -
Fix various bugs related to goto-end-of-line command.
This also fixes a bug with `Selection::normalize()`, that could result in an out-of-bounds primary index.
Configuration menu - View commit details
-
Copy full SHA for 1c6b558 - Browse repository at this point
Copy the full SHA 1c6b558View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9300ec - Browse repository at this point
Copy the full SHA c9300ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1194fc8 - Browse repository at this point
Copy the full SHA 1194fc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5534a6 - Browse repository at this point
Copy the full SHA d5534a6View commit details
Commits on Jul 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c848ed7 - Browse repository at this point
Copy the full SHA c848ed7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 198fe40 - Browse repository at this point
Copy the full SHA 198fe40View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc85c85 - Browse repository at this point
Copy the full SHA bc85c85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 063aa94 - Browse repository at this point
Copy the full SHA 063aa94View commit details -
Fix append mode not editing correctly.
This is currently a bit of a hack, and still doesn't behave quite how we probably want. Left a TODO.
Configuration menu - View commit details
-
Copy full SHA for 7d07704 - Browse repository at this point
Copy the full SHA 7d07704View commit details
Commits on Jul 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 673338b - Browse repository at this point
Copy the full SHA 673338bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5841954 - Browse repository at this point
Copy the full SHA 5841954View commit details -
Revert display-width-based vertical cursor movement.
Still needs to be done, but should be part of a separate PR.
Configuration menu - View commit details
-
Copy full SHA for fd684ef - Browse repository at this point
Copy the full SHA fd684efView commit details
Commits on Jul 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for ffb8057 - Browse repository at this point
Copy the full SHA ffb8057View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad814b8 - Browse repository at this point
Copy the full SHA ad814b8View commit details
Commits on Jul 24, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 427ae6a - Browse repository at this point
Copy the full SHA 427ae6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4359404 - Browse repository at this point
Copy the full SHA 4359404View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f43dc4 - Browse repository at this point
Copy the full SHA 8f43dc4View commit details -
Fixed find_till_char and find_char commands.
They worked correctly when extending, but not for normal cursor movement.
Configuration menu - View commit details
-
Copy full SHA for 2072349 - Browse repository at this point
Copy the full SHA 2072349View commit details -
Switch to a cleaner range-head moving abstraction.
Also fix a bunch of bugs related to it.
Configuration menu - View commit details
-
Copy full SHA for f96b8b7 - Browse repository at this point
Copy the full SHA f96b8b7View commit details
Commits on Jul 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0883b4f - Browse repository at this point
Copy the full SHA 0883b4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01247ac - Browse repository at this point
Copy the full SHA 01247acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ee6ba5 - Browse repository at this point
Copy the full SHA 5ee6ba5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f62ec6e - Browse repository at this point
Copy the full SHA f62ec6eView commit details
Commits on Jul 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b2c76dc - Browse repository at this point
Copy the full SHA b2c76dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5229c53 - Browse repository at this point
Copy the full SHA 5229c53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84f8167 - Browse repository at this point
Copy the full SHA 84f8167View commit details -
Configuration menu - View commit details
-
Copy full SHA for aead4e6 - Browse repository at this point
Copy the full SHA aead4e6View commit details
Commits on Jul 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a873e71 - Browse repository at this point
Copy the full SHA a873e71View commit details -
Enforce cursor/selection invariants in one place.
Rather than per-command like before.
Configuration menu - View commit details
-
Copy full SHA for cd7302f - Browse repository at this point
Copy the full SHA cd7302fView commit details -
Fix bug with
/
searching after non-ascii characters.Forgot to convert from char indices to byte indices before passing to the regex engine.
Configuration menu - View commit details
-
Copy full SHA for 285aba2 - Browse repository at this point
Copy the full SHA 285aba2View commit details
Commits on Jul 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e4d41d0 - Browse repository at this point
Copy the full SHA e4d41d0View commit details