helix-mods/helix-core/src
ahkrr e2d780f993 fix: 2 panics while setting style + off by 1
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
2021-06-07 09:15:08 +09:00
..
auto_pairs.rs When calculating a new selection, we need to take newly inserted text into account. 2021-05-15 10:50:36 +09:00
comment.rs Fully drop State references. 2021-03-31 15:45:18 +09:00
diagnostic.rs Add the :new command, don't crash if saving without filename. 2021-05-07 14:19:58 +09:00
graphemes.rs clippy lint 2021-03-24 14:58:01 +09:00
history.rs Separate document history into Cell 2021-06-02 23:47:50 +08:00
indent.rs Try to detect language when document file path is set 2021-06-04 11:03:40 +09:00
lib.rs Add ctrl-w in insert mode 2021-06-06 21:30:18 +09:00
macros.rs Split parts of helix-term into helix-view. 2020-09-21 18:24:16 +09:00
match_brackets.rs Don't panic on empty file/buffer (#108) 2021-06-05 13:00:43 +09:00
movement.rs Fix panic when moving over unicode punctuation 2021-06-07 09:12:01 +09:00
object.rs minor: Remove a few unwraps. 2021-03-26 11:03:14 +09:00
position.rs clippy lint 2021-03-24 14:58:01 +09:00
register.rs Simple yank/paste registers. 2020-10-13 23:13:56 +09:00
search.rs fix: 2 panics while setting style + off by 1 2021-06-07 09:15:08 +09:00
selection.rs Fixing Multiple Panics (#121) 2021-06-05 12:49:19 +09:00
state.rs Finish hiding doc.state / State as an implementation detail. 2021-03-18 15:07:02 +09:00
syntax.rs Return an error if we request an embedded file that does not exist. 2021-06-06 10:49:17 +09:00
transaction.rs Fixing Multiple Panics (#121) 2021-06-05 12:49:19 +09:00
words.rs Add test for prev word 2021-06-06 21:30:18 +09:00