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-term
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
3 years ago
..
src fix: 2 panics while setting style + off by 1 3 years ago
.gitignore Initial import. 5 years ago
Cargo.toml Install instructions and version number corrections (#148) 3 years ago
README.md Initial import. 5 years ago

README.md

window -> buffer -> text -> contains "view", a viewport into the buffer

view -> selections etc -> cursor