If a document has line breaking set then changing the line breaking column (edit->preferences->editor->Features->Line breaking column) won't apply to a reflow in the document, but if the document has line breaking off the new settings will apply to a reflow.
I tried to trace the path for reflow to get the setting but got lost among multiple function local static copies of GeanyEditorPrefs :(
I can't seem to reproduce. What are your exact steps?
Ok, I can explain it, its not a bug, just a confusing interaction between settings.
The `line break column` setting is system wide or project and `long line marker` setting is system wide, but reflow switches between `line break column` and `long line marker column` depending on the per-document `line breaking` setting (this behaviour is documented).
Since I had a project open, those documents with `line breaking` on ignored the changes to system settings of `line breaking column` and `long line marker column` and used the unchanged project value of `line breaking column` (but I was unaware at the time that it was a project setting), but closing and reopening documents turned off theper document `line breaking` setting and made reflow in those documents use the `long line marker column` system setting instead of the `line breaking` project setting.
Very confusing, the `preferences` dialog really should indicate when a setting is being overridden by a project setting, like the `set build commands` dialog does. #1363 opened for that enhancement.
Closed #1358.
github-comments@lists.geany.org