[Github-comments] [geany/geany] Reflow Lines/Block incorrectly treats long line marker (#2078)

Daniel Plakhotich notifications at xxxxx
Tue Feb 5 13:25:51 UTC 2019


Yes, manual reflow breaks in the same place, but this is exactly what surprises me.

I used to set the long line marker one column shorter than the breaking column (70 and 71 respectively). That way they behave consistently: when line breaking is enabled, typing the 71st character (that is, the character after long line marker) results in a line break; when line breaking is disabled, the 71st character exceeds the long line marker and is either shown after the vertical line or gets highlighted.

With these settings and line breaking enabled, both automatic breaking and manual reflow give the same result - a line takes up to 70 characters, as expected. But with disabled line breaking, manual reflow limits lines to 69 characters.

As you said, the long line marker is used is to identify lines _longer than_ X. As a user, I expect Reflow to wrap lines _longer than_ the marker's X as well, but instead it wraps at (X - 1). That's rather strange and inconvenient.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2078#issuecomment-460636734
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190205/5dd538bb/attachment.html>


More information about the Github-comments mailing list