Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | | 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 | |
|/ | ||||
* | fix: Correctly merge multiple selection ranges together | Blaž Hrastnik | 2021-06-30 | |
| | | | | Fixes #391 | |||
* | fix: Select matching at the start of the doc could crash. Fixes #346 | Blaž Hrastnik | 2021-06-23 | |
| | ||||
* | Movement fixes, refactor and unit test suite (#217) | PabloMansanet | 2021-06-11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add convenience/clarity wrapper for Range initialization * Test horizontal moves * Add column jumping tests * Add failing movement conditions for multi-word moves * Refactor skip_over_next * Add complex forward movement unit tests * Add strict whitespace checks and edge case tests * Restore formatting * Remove unused function * Add empty test case for deletion and fix nth_prev_word_boundary * Add tests for backward motion * Refactor word movement * Address review comments and finish refactoring backwards move * Finish unit test suite * Fmt pass * Fix lint erors * Clean up diff restoring bad 'cargo fmt' actions * Simplify movement closures (thanks Pickfire) * Fmt pass * Replace index-based movement with iterator based movement, ensuring that each move incurs a single call to the RopeSlice API * Break down tuple function * Extract common logic to all movement functions * Split iterator helpers away into their own module * WIP reducing clones * Operate on spans * WIP simplifying iterators * Simplify motion helpers * Fix iterator * Fix all unit tests * Refactor and simplify * Simplify fold | |||
* | Fixing Multiple Panics (#121) | Kirawi | 2021-06-05 | |
| | | | | | | | * init * wip * wip | |||
* | Lint | Blaž Hrastnik | 2021-05-09 | |
| | ||||
* | Fix overlap calculation. | Blaž Hrastnik | 2021-04-10 | |
| | ||||
* | N as extend with search (for now, N should be search_prev). | Blaž Hrastnik | 2021-04-09 | |
| | ||||
* | Fix range.overlap() | Blaž Hrastnik | 2021-04-09 | |
| | ||||
* | Store intra-files jumps (goto) on the jumplist. | Blaž Hrastnik | 2021-03-29 | |
| | ||||
* | clippy lint | Blaž Hrastnik | 2021-03-24 | |
| | ||||
* | Provide a capacity on Selection::new's normalize. | Blaž Hrastnik | 2021-03-22 | |
| | ||||
* | clippy lints | Blaž Hrastnik | 2021-03-22 | |
| | ||||
* | Selection: fail early if new() is called with no ranges. | Blaž Hrastnik | 2021-03-22 | |
| | ||||
* | Implement auto-pairs behavior for open and close. | Blaž Hrastnik | 2021-03-22 | |
| | ||||
* | Implement iter() and len() directly on Selection. | Blaž Hrastnik | 2021-03-19 | |
| | ||||
* | Implement keep_selections (filter selections on regex). | Blaž Hrastnik | 2021-03-15 | |
| | ||||
* | Cleanup: use doc.selection() instead of doc.state.selection(). | Blaž Hrastnik | 2021-03-14 | |
| | ||||
* | commands: add * as selection search. | Blaž Hrastnik | 2021-02-22 | |
| | ||||
* | treewide: &RopeSlice -> RopeSlice. It's Copy so no reason to pass by ref | Blaž Hrastnik | 2021-02-18 | |
| | ||||
* | minor changes | Blaž Hrastnik | 2021-02-17 | |
| | ||||
* | Finally: Retain horizontal position when moving vertically. | Blaž Hrastnik | 2021-02-12 | |
| | ||||
* | simplify. | Blaž Hrastnik | 2021-02-05 | |
| | ||||
* | commands: Implement select_on_matches. | Blaž Hrastnik | 2021-01-22 | |
| | ||||
* | Introduce Selection::point. | Blaž Hrastnik | 2020-12-03 | |
| | ||||
* | Fix compose not merging certain changesets correctly. | Blaž Hrastnik | 2020-10-14 | |
| | ||||
* | Indent draft, linewise paste | Blaž Hrastnik | 2020-10-13 | |
| | ||||
* | Simple yank/paste registers. | Blaž Hrastnik | 2020-10-13 | |
| | ||||
* | Split on matches off by one, breaks tests again. | Blaž Hrastnik | 2020-10-13 | |
| | ||||
* | Fix test, break split + append | Blaž Hrastnik | 2020-09-29 | |
| | ||||
* | Split selection on regex, fix InputEdit generation. | Blaž Hrastnik | 2020-09-28 | |
| | ||||
* | Extend selection commands. | Blaž Hrastnik | 2020-09-28 | |
| | ||||
* | Simplify some more code. | Blaž Hrastnik | 2020-09-13 | |
| | ||||
* | Change -> Operation, Change2 -> Change | Blaž Hrastnik | 2020-09-13 | |
| | ||||
* | Get rid of a bunch of clones. | Blaž Hrastnik | 2020-09-12 | |
| | ||||
* | Expand transaction API. | Blaž Hrastnik | 2020-09-07 | |
| | ||||
* | Work on insert mode. | Blaž Hrastnik | 2020-09-07 | |
| | ||||
* | Fix build. | Blaž Hrastnik | 2020-06-07 | |
| | ||||
* | wip: importing to github | Blaž Hrastnik | 2020-06-01 | |
| | ||||
* | Selection mapping over changesets. | Blaž Hrastnik | 2020-05-28 | |
| | ||||
* | address clippy warnings | Blaž Hrastnik | 2020-05-28 | |
| | ||||
* | OT: changeset: Implement compose and apply. | Blaž Hrastnik | 2020-05-26 | |
| | ||||
* | Implement a new core based on CodeMirror. | Blaž Hrastnik | 2020-05-25 | |