aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/selection.rs
Commit message (Collapse)AuthorAge
...
* fix: Correctly merge multiple selection ranges togetherBlaž Hrastnik2021-06-30
| | | | Fixes #391
* fix: Select matching at the start of the doc could crash. Fixes #346Blaž Hrastnik2021-06-23
|
* Movement fixes, refactor and unit test suite (#217)PabloMansanet2021-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)Kirawi2021-06-05
| | | | | | | * init * wip * wip
* LintBlaž Hrastnik2021-05-09
|
* Fix overlap calculation.Blaž Hrastnik2021-04-10
|
* N as extend with search (for now, N should be search_prev).Blaž Hrastnik2021-04-09
|
* Fix range.overlap()Blaž Hrastnik2021-04-09
|
* Store intra-files jumps (goto) on the jumplist.Blaž Hrastnik2021-03-29
|
* clippy lintBlaž Hrastnik2021-03-24
|
* Provide a capacity on Selection::new's normalize.Blaž Hrastnik2021-03-22
|
* clippy lintsBlaž Hrastnik2021-03-22
|
* Selection: fail early if new() is called with no ranges.Blaž Hrastnik2021-03-22
|
* Implement auto-pairs behavior for open and close.Blaž Hrastnik2021-03-22
|
* Implement iter() and len() directly on Selection.Blaž Hrastnik2021-03-19
|
* Implement keep_selections (filter selections on regex).Blaž Hrastnik2021-03-15
|
* Cleanup: use doc.selection() instead of doc.state.selection().Blaž Hrastnik2021-03-14
|
* commands: add * as selection search.Blaž Hrastnik2021-02-22
|
* treewide: &RopeSlice -> RopeSlice. It's Copy so no reason to pass by refBlaž Hrastnik2021-02-18
|
* minor changesBlaž Hrastnik2021-02-17
|
* Finally: Retain horizontal position when moving vertically.Blaž Hrastnik2021-02-12
|
* simplify.Blaž Hrastnik2021-02-05
|
* commands: Implement select_on_matches.Blaž Hrastnik2021-01-22
|
* Introduce Selection::point.Blaž Hrastnik2020-12-03
|
* Fix compose not merging certain changesets correctly.Blaž Hrastnik2020-10-14
|
* Indent draft, linewise pasteBlaž Hrastnik2020-10-13
|
* Simple yank/paste registers.Blaž Hrastnik2020-10-13
|
* Split on matches off by one, breaks tests again.Blaž Hrastnik2020-10-13
|
* Fix test, break split + appendBlaž Hrastnik2020-09-29
|
* Split selection on regex, fix InputEdit generation.Blaž Hrastnik2020-09-28
|
* Extend selection commands.Blaž Hrastnik2020-09-28
|
* Simplify some more code.Blaž Hrastnik2020-09-13
|
* Change -> Operation, Change2 -> ChangeBlaž Hrastnik2020-09-13
|
* Get rid of a bunch of clones.Blaž Hrastnik2020-09-12
|
* Expand transaction API.Blaž Hrastnik2020-09-07
|
* Work on insert mode.Blaž Hrastnik2020-09-07
|
* Fix build.Blaž Hrastnik2020-06-07
|
* wip: importing to githubBlaž Hrastnik2020-06-01
|
* Selection mapping over changesets.Blaž Hrastnik2020-05-28
|
* address clippy warningsBlaž Hrastnik2020-05-28
|
* OT: changeset: Implement compose and apply.Blaž Hrastnik2020-05-26
|
* Implement a new core based on CodeMirror.Blaž Hrastnik2020-05-25