Hi, I've made changes that allow for keeping the fold margin non-visible, but still be able to fold code (eg. via the shortcuts).

UI Additions:

If code folding is disabled:

Furthermore, if the code folding option is disabled and it becomes enabled, "Show fold margin" is automatically enabled. The rationale is to avoid confusing someone that enabled folding, but is not seeing any fold margin.

Finally, in the 2nd commit, which is actually not directly related to the above additions, I've added some logic to automatically unfold all code when switching off folding. Without it, already folded code will remain in the folded state with no option to unfold it without re-enabling the option. Should I make a different PR for this? (asusming it even is desired!)

Also, should I or would you suggest that I also modify the manual to document the additions?
Should I add something about the new UI options in the language/translation files?


You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/2927

Commit Summary

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.