aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/search.rs
Commit message (Collapse)AuthorAge
* Jump to the next number on the line before incrementing (#1778)antoyo2022-04-01
| | | | | | | * Jump to the next number on the line before incrementing Partially fix #1645 * Refactor to avoid duplicating find_nth_next
* Switch to a cleaner range-head moving abstraction.Nathan Vegdahl2021-07-24
| | | | Also fix a bunch of bugs related to it.
* Update surround commands to work with gap indexing.Nathan Vegdahl2021-07-08
|
* fix: 2 panics while setting style + off by 1ahkrr2021-06-07
| | | | | | | | | | | | The panics would occur because set_style would draw outside of the the surface. Both occured using `find_prev` or `till_prev` In my case the first panic! would appear in a terminal with around 80 columns in helix/README.md going to the end of the file with `geglf(` the second with `geglfX` The off by one fix ensures that `find_nth_prev` starts at the first character to the left
* fix: make find_prev_char and till_prev_char workahkrr2021-06-05
| | | | | | Bevore this PR `commands::find_prev_char` and `commands::till_prev_char` were triggerable through keys but `seach::find_nth_next()` was hardcoded in `_find_char`. The passed `fn` was nerver used. With this PR the passed `fn` is used. The change in search.rs resolves an off by one error in the behivor of `find_nth_prev`
* f/t: Check if at bounds before searching, refs #43, closes #37Blaž Hrastnik2021-06-02
|
* Implement the f/t/F/T find/till family of commands.Blaž Hrastnik2021-03-11
|
* find-till (f) prototype, on_next_key mode implementation.Blaž Hrastnik2021-03-11
|
* search: draft f/tBlaž Hrastnik2021-03-10