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/helix-view
Pascal Kuthe dcfa4a63c6
use max_line_width + 1 during softwrap to account for newline char
Helix softwrap implementation always wraps lines so that the newline
character doesn't get cut off so he line wraps one chars earlier then
in other editors. This is necessary, because newline chars are always
selecatble in helix and must never be hidden.

However That means that `max_line_width` currently wraps one char
earlier than expected. The typical definition of line width does not
include the newline character and other helix commands like `:reflow`
also don't count the newline character here.

This commit makes softwrap use `max_line_width + 1` instead of
`max_line_width` to correct the impedance missmatch.
2 years ago
..
src use max_line_width + 1 during softwrap to account for newline char 2 years ago
tests/encoding Move helix-view/tests/*txt files to txts subdirectory (#372) 3 years ago
Cargo.toml build(deps): bump toml from 0.6.0 to 0.7.0 (#5726) 2 years ago