Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
| * | | | Fix surround replace command replacing the wrong position on the right. | Nathan Vegdahl | 2021-07-24 | |
| | | | | ||||
| * | | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-24 | |
| |\ \ \ | ||||
| * | | | | Put selection in separate variable in commands code. | Nathan Vegdahl | 2021-07-24 | |
| | | | | | ||||
| * | | | | Fix append mode, and make insertion always happen at head of range. | Nathan Vegdahl | 2021-07-23 | |
| | | | | | ||||
| * | | | | Fix ocassional panic when matching brackets. | Nathan Vegdahl | 2021-07-23 | |
| | | | | | ||||
| * | | | | Revert display-width-based vertical cursor movement. | Nathan Vegdahl | 2021-07-22 | |
| | | | | | | | | | | | | | | | | | | | | Still needs to be done, but should be part of a separate PR. | |||
| * | | | | Calculate the line that the range head is on correctly. | Nathan Vegdahl | 2021-07-22 | |
| | | | | | ||||
| * | | | | Use `Range::line_range()` in some more places I missed. | Nathan Vegdahl | 2021-07-22 | |
| | | | | | ||||
| * | | | | Fix append mode not editing correctly. | Nathan Vegdahl | 2021-07-21 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This is currently a bit of a hack, and still doesn't behave quite how we probably want. Left a TODO. | |||
| * | | | | Fix yank not working with internally zero-width ranges. | Nathan Vegdahl | 2021-07-21 | |
| | | | | | ||||
| * | | | | Fix selections not being modified quite correctly with text edits. | Nathan Vegdahl | 2021-07-21 | |
| | | | | | ||||
| * | | | | Don't insert a final line ending on file load/reload. | Nathan Vegdahl | 2021-07-21 | |
| | | | | | ||||
| * | | | | Fixes for misc bugs with view movement. | Nathan Vegdahl | 2021-07-21 | |
| | | | | | ||||
| * | | | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-20 | |
| |\ \ \ \ | ||||
| * | | | | | Use new `Range::line_range()` method in more places, as appropriate. | Nathan Vegdahl | 2021-07-20 | |
| | | | | | | ||||
| * | | | | | Fix comment toggle command also sometimes toggling the next line. | Nathan Vegdahl | 2021-07-20 | |
| | | | | | | ||||
| * | | | | | Fix various bugs related to goto-end-of-line command. | Nathan Vegdahl | 2021-07-20 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also fixes a bug with `Selection::normalize()`, that could result in an out-of-bounds primary index. | |||
| * | | | | | Fix line-wise `p` pasting before the current line instead of after. | Nathan Vegdahl | 2021-07-20 | |
| | | | | | | ||||
| * | | | | | Fix incorrect line hihglight when a selection is at the end of a line. | Nathan Vegdahl | 2021-07-20 | |
| | | | | | | ||||
| * | | | | | Make search work a little nicer when there are already selections. | Nathan Vegdahl | 2021-07-20 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||
| * | | | | | Fix `Selection::push()` to make the pushed range primary. | Nathan Vegdahl | 2021-07-20 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Apparently I accidentally deleted that behavior in the cleanup. | |||
| * | | | | | Fix extend line behavior. | Nathan Vegdahl | 2021-07-20 | |
| | | | | | | ||||
| * | | | | | Handle edge case in `range_to_target()` correctly. | Nathan Vegdahl | 2021-07-19 | |
| | | | | | | ||||
| * | | | | | Fixed primary cursor position calculation to use 1-width semantics. | Nathan Vegdahl | 2021-07-19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This had a bunch of knock-on effects that were buggy, such as bracket match highlighting. | |||
| * | | | | | Properly fix `last_line` view calculation. | Nathan Vegdahl | 2021-07-19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turned out to be simpler than I thought. Didn't even need to change the other use-sites. | |||
| * | | | | | Fix last line number being drawn in the status bar. | Nathan Vegdahl | 2021-07-19 | |
| | | | | | | ||||
| * | | | | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-19 | |
| |\ \ \ \ \ | ||||
| * | | | | | | Update word selection/navigation to work with gap indexing. | Nathan Vegdahl | 2021-07-19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also tweaked some of the existing behavior that seemed inconsistent and/or buggy. It's mostly identical, just a few corner cases are different. | |||
| * | | | | | | Update extend_line command to work with gap indexing. | Nathan Vegdahl | 2021-07-17 | |
| | | | | | | | ||||
| * | | | | | | Update change-case commands to work with gap indexing. | Nathan Vegdahl | 2021-07-17 | |
| | | | | | | | ||||
| * | | | | | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-17 | |
| |\ \ \ \ \ \ | ||||
| * | | | | | | | Update surround commands to work with gap indexing. | Nathan Vegdahl | 2021-07-08 | |
| | | | | | | | | ||||
| * | | | | | | | Implement `Range::put()` which manages range movements and extensions. | Nathan Vegdahl | 2021-07-08 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, this wraps the annoying logic involved in keeping the cursor width to 1 grapheme. | |||
| * | | | | | | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-06 | |
| |\ \ \ \ \ \ \ | ||||
| * | | | | | | | | Make vertical selection movement work properly. | Nathan Vegdahl | 2021-07-06 | |
| | | | | | | | | | ||||
| * | | | | | | | | Make horizontal selection movement work properly. | Nathan Vegdahl | 2021-07-02 | |
| | | | | | | | | | ||||
| * | | | | | | | | Fix empty document test. | Nathan Vegdahl | 2021-07-02 | |
| | | | | | | | | | ||||
| * | | | | | | | | Make new documents empty, rather than starting with a line ending. | Nathan Vegdahl | 2021-07-02 | |
| | | | | | | | | | ||||
| * | | | | | | | | Allow last line in file to lack a line break character. | Nathan Vegdahl | 2021-07-02 | |
| | | | | | | | | | ||||
| * | | | | | | | | Fix a couple additional `unused` warnings after merge. | Nathan Vegdahl | 2021-07-02 | |
| | | | | | | | | | ||||
| * | | | | | | | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-02 | |
| |\ \ \ \ \ \ \ \ | ||||
| * | | | | | | | | | Ensure a minimum selection width on commands that need it. | Nathan Vegdahl | 2021-07-01 | |
| | | | | | | | | | | ||||
| * | | | | | | | | | Make `Selection`'s normalize and transform methods self-consuming only. | Nathan Vegdahl | 2021-07-01 | |
| | | | | | | | | | | ||||
| * | | | | | | | | | Clean up `Selection` to not use so many allocations. | Nathan Vegdahl | 2021-07-01 | |
| | | | | | | | | | | ||||
| * | | | | | | | | | Better validation method APIs for `Range`. | Nathan Vegdahl | 2021-07-01 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This way they do less work, are more specific to what we actually need, and they compose. | |||
| * | | | | | | | | | Add `Range` methods for various kinds of validation. | Nathan Vegdahl | 2021-07-01 | |
| | | | | | | | | | | ||||
| * | | | | | | | | | Change the `Range` type and associated functions to gap indexing. | Nathan Vegdahl | 2021-07-01 | |
| | | | | | | | | | | ||||
* | | | | | | | | | | Refactor case where key event is solely a character | Gokul Soumya | 2021-07-29 | |
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | ||||
* | | | | | | | | | Fix goto line number | Gokul Soumya | 2021-07-28 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regression from #454. Go to line 10 with `10gg` or `10G`. | |||
* | | | | | | | | | Quite edit page | Ivan Tham | 2021-07-28 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Stolen from https://github.com/rust-lang/wg-async-foundations/pull/225 |