Don't understand why but if a single document is loaded with line breaking set in the saved prefs the `document->line breaking` menu item is not set, and it appears impossible to turn breaking off until another document is loaded probably because the menu item doesn't match the internal value?
What does "with line breaking set in the saved prefs" mean?
It seems to work for me, can you provide steps to reproduce?
What does "with line breaking set in the saved prefs" mean?
Ahh yeah ok, "Line breaking set on a file saved in the session" would be better, it was late, I was tired :)
``` FTR 10:45:06: Geany INFO : Geany 1.35 (git >= b8cdfddf), en_AU.UTF-8 10:45:06: Geany INFO : GTK 3.22.30, GLib 2.56.3 ```
To reproduce:
1. `geany -c /some/where/non-existant` 2. create and save a single file 3. set line breaking, check it works 4. close geany 5. `geany -c /some/where/non-existant` 6. check `Document->line breaking` is unselected 7. but verify line breaking still happens !!!!!! 8. select `Document->line breaking` 9. verify line breaking does not happen!!!!!! 10. de-select `Document->line breaking` 11. verify line breaking happens again !!!!!! 12. open any other file 13. check that `Document->line breaking` selection for the original file has changed 14. and now its all back in sync again
Thanks for the instructions, I can also reproduce.
github-comments@lists.geany.org