mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-03 19:07:44 +03:00
fix: typos
This commit is contained in:
parent
c1d382a532
commit
650af50c13
2 changed files with 5 additions and 5 deletions
|
@ -370,8 +370,8 @@ impl<'t> DocumentFormatter<'t> {
|
|||
match col.cmp(&(self.text_fmt.viewport_width as usize)) {
|
||||
// The EOF char and newline chars are always selectable in helix. That means
|
||||
// that wrapping happens "too-early" if a word fits a line perfectly. This
|
||||
// is intentional so that all selectable graphemes are always visisble (and
|
||||
// therefore the cursor never dissapears). However if the user manually set a
|
||||
// is intentional so that all selectable graphemes are always visible (and
|
||||
// therefore the cursor never disappears). However if the user manually set a
|
||||
// lower softwrap width then this is undesirable. Just increasing the viewport-
|
||||
// width by one doesn't work because if a line is wrapped multiple times then
|
||||
// some words may extend past the specified width.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue