mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-23 01:46:18 +04:00
e2d780f993
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 |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
Cargo.toml | ||
README.md |
window -> buffer -> text -> contains "view", a viewport into the buffer
view -> selections etc -> cursor