You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix-plus/helix-core/src
PabloMansanet 86af55c379
Movement fixes, refactor and unit test suite (#217)
* 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
3 years ago
..
auto_pairs.rs Movement fixes, refactor and unit test suite (#217) 3 years ago
comment.rs Cleanup find_first_non_whitespace_char funcs 3 years ago
diagnostic.rs Derive debug without feature 3 years ago
graphemes.rs Downgrade `unicode-segmentation` 3 years ago
history.rs Derive debug without feature 3 years ago
indent.rs Cleanup find_first_non_whitespace_char funcs 3 years ago
lib.rs Movement fixes, refactor and unit test suite (#217) 3 years ago
macros.rs Split parts of helix-term into helix-view. 4 years ago
match_brackets.rs Don't panic on empty file/buffer (#108) 3 years ago
movement.rs Movement fixes, refactor and unit test suite (#217) 3 years ago
object.rs minor: Remove a few unwraps. 3 years ago
position.rs clippy lint 3 years ago
register.rs Implement register selection 3 years ago
search.rs fix: 2 panics while setting style + off by 1 3 years ago
selection.rs Movement fixes, refactor and unit test suite (#217) 3 years ago
state.rs Derive debug without feature 3 years ago
syntax.rs Derive debug without feature 3 years ago
transaction.rs Derive debug without feature 3 years ago