Created attachment 8500 Screenshot of horizontal scrollbar with wrapping turned on If the word wrap setting is on, mousepad only manages to wrap lines where there are spaces or dashes. A long line of alphanumeric chars doesn't wrap, leaving the user with a horizontal scrollbar. Contrast this with the behaviour of kwrite (for example) which hard-wraps any line and reflects that with a slightly unsettling, tongue-looking icon in the margin where line numbers go.
Well, it's because it's *word* wrap, when the wrap mode is set to GTK_WRAP_CHAR it works as requested. I'm just not sure how to handle this in the UI, Geany calls it "Line wrapping" and it appears to break on chars. We can either just rename that options and change the wrap mode, or add a new option.
This is what gedit does (default settings): Text Wrapping [✓] Enable text wrapping [✓] Do not split words over two lines
We could change the existing "Word Wrap" menu item for a submenu labelled "Line Wrap", with radio sub items named like "Wrap between words", "Wrap between characters" and "None" (default). Similar could be done in the preferences dialog to replace the "Wrap long lines" checkbox.
*** Bug 16832 has been marked as a duplicate of this bug. ***
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/apps/mousepad/-/issues/29. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev