You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With word wrap on, if a line has the exact minimum length to be wrapped, an empty line is displayed between it and the next line in the file (which isn't what modern GUI editors tend to do).
My suggestion is for an option to disable this behaviour so that the line that has the exact minimum length is not wrapped.
Empty lines being displayed where they shouldn't be breaks structure and grouping made with empty lines. Worse when writing prose in the style of a book (intended paragraphs with only one line break between them, not two).
I tried to edit a clone of micro to do this, but nothing I tried actually removed said blank lines. If it's not a change that fits in micro then some direction on how to do it, plugin or source edit, would be appreciated!
The text was updated successfully, but these errors were encountered:
Tachytaenius
changed the title
Feture request: option to not insert empty line when wrapping line that exactly hits limit
Feature request: option to not insert empty line when wrapping line that exactly hits limit
Apr 7, 2024
But where will we display the cursor at the end of this line?
which isn't what modern GUI editors tend to do
That's because they are GUI editors, so they usually display the cursor as a thin vertical line "between" characters. Micro is a terminal editor, and terminals usually display the cursor as a thick bar occupying the entire character, and micro has no control over that. So if we want both the line itself and the cursor at the end of it to be visible, and the line itself occupies the entire window width, there is no room for the cursor in that line, so we need an empty line below it, to display the cursor there.
With word wrap on, if a line has the exact minimum length to be wrapped, an empty line is displayed between it and the next line in the file (which isn't what modern GUI editors tend to do).
My suggestion is for an option to disable this behaviour so that the line that has the exact minimum length is not wrapped.
Empty lines being displayed where they shouldn't be breaks structure and grouping made with empty lines. Worse when writing prose in the style of a book (intended paragraphs with only one line break between them, not two).
I tried to edit a clone of micro to do this, but nothing I tried actually removed said blank lines. If it's not a change that fits in micro then some direction on how to do it, plugin or source edit, would be appreciated!
The text was updated successfully, but these errors were encountered: