It is the window width which sets the word wrap, not scintilla.
Scintilla is the editing widget that provides the edit pane, and as it lays out the lines it is the code that provides the line wrapping, which is purely a display feature and does not change the file contents. Scintilla is a separate project and as noted above is used by other projects including Notepad++. On the Scintilla feature list the maintainer has rejected working on wrapping at a point other than window edge himself, but that does not prevent somebody else contributing it, but until then wrapping will remain at window edge.
Geany provides Line Breaking
, which adds an actual line end to the file contents. As it does not have access to the display layout that Scintilla does, this is the only way Geany can split lines, and again as it does not have layout information it has to use code point count for positioning. That allows it to use a column count rather than the window edge, but it has the problems noted in several comments above.
Geany also provides Reflow
which applies to a paragraph (or a multi line selection) and is like line breaking applied to a paragraph (or a multi-line selection). It is not performed continuously as you type because of the cost and the fact that it does not apply to all of a file, even in a text document any pre-styled content (eg code snippets, verse, tables) should not be reflowed, but Geany has no knowledge to control that. It also has issues when applied to non-ASCII text as outlined above. But Reflow
has a shortcut (default ctrl+J
) which you could press at any point you want to to reflow your current paragraph.
The upshot is that until "somebody" contributes wrapping to Scintilla, or a suitably controlled continuous reflow to Geany then ctrl-J
seems your best option.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.