Note that 1.32 is a fairly old version and can't remember how it worked, I have 
tried to translated to current 1.36.

> Have two or more files opened with Geany (not sure if with 1 also happens)
> Go to Edit > Preferences > Editor
> Check the first item in "Features" section; line adjustment.

In the 1.36 its called "Line Wrapping"

> This should make the lines not to be rendered beyond the right margin of the 
> window, making them split into multiline (not actually adding a \n char, you 
> know). It doesn't happen.

Line wrapping does not add `\n` to the contents, it simply renders the content 
limited to the right margin.  You can see that because the line numbers do not 
display on wrapped content and only increment on line endings actually present 
in the document.

Each document thats open can have a different wrapping setting by the user via 
`Document->Line Wrapping`.  The preferences setting is the default used for 
newly opened documents.

> Close the Geany window. Reopen it.
> The lines still are not displayed multiline (adjusted).

When Geany is closed and re-opened, document settings for documents open at 
close are remembered so they can be reopened in much the same state as they 
were when Geany is closed, so wrapping won't change for files that are reopened.

> Close one file tab. Reopen the same file.

But by closing the documents and re-opening you are using the default as its 
then a newly opened document, thats why the setting changes when you do this.

> Lines are finally correctly rendered.

> I think it'd be awesome to see the new preferences setting in effect in (4), 
> although at least in (6) the lines should be correctly rendered.

The reason neither of these happens is explained above and is the intended 
operation to allow per-document wrapping settings.

-- 
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/2589#issuecomment-695777370

Reply via email to