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:
- "Show fold margin" in Preferences > Editor > Display.
- "Show fold margin" in the View menu.
If code folding is disabled:
- The 1st UI addition becomes greyed out, similarly to "Fold/unfold all children of a fold point"
- The 2nd UI addition disappears, similarly to "Fold/Unfold All" in the Document menu.
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 --
* <a href="https://github.com/geany/geany/pull/2927/commits/3493f32c921218ae8512537898…">Add UI option to hide the fold margin, while keeping code folding</a>
* <a href="https://github.com/geany/geany/pull/2927/commits/3ff536201efb74307c837f7585…">Automatically unfold all code when folding is switched off in preferences</a>
-- File Changes --
M data/geany.glade (30)
M src/callbacks.c (10)
M src/editor.c (6)
M src/editor.h (1)
M src/keyfile.c (2)
M src/prefs.c (17)
M src/ui_utils.c (5)
M src/ui_utils.h (1)
-- Patch Links --
https://github.com/geany/geany/pull/2927.patchhttps://github.com/geany/geany/pull/2927.diff
--
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/pull/2927
Hi all,
I am using Geany v1.37.1 in Win10 x64. Currently vertical scrolling is super fast. I need to reduce this. Please help. Thanks in advance.
--
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/2768
The latest version (1.30) in PHP don't autocomplete **require**.
--
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/1436
This PR adds an option to hide the menubar at startup and a keybinding to toggle menubar visibility. Addresses #633.
Currently, there is no default keybinding set to toggle the menubar. This complicates reshowing the menubar if it is hidden at startup. A common key combination to toggle menubar visibility is `<Primary>m`, but that is already being used to toggle markers. Should the keybinding be reassigned? If not, what other keybinding should be used?
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2972
-- Commit Summary --
* <a href="https://github.com/geany/geany/pull/2972/commits/c2076abb31c4ffd44dbad845d3…">Add option to hide menubar on startup</a>
-- File Changes --
M doc/geany.txt (1)
M src/keybindings.c (11)
M src/keybindings.h (2)
M src/libmain.c (5)
M src/plugindata.h (2)
M src/ui_utils.c (2)
M src/ui_utils.h (1)
-- Patch Links --
https://github.com/geany/geany/pull/2972.patchhttps://github.com/geany/geany/pull/2972.diff
--
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/pull/2972
Should there be one? A Checkbutton for "Line breaking" in Preferences/ Editor / Features , besides "Line breaking column" or besides "Line wrapping" ?
It's tedious to remember and toggle that per document every time.
Or maybe there is a way, unknown to me, to modify some start-up file to tell Geany to open with Line breaking on in menu/Document ?
--
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/1946
This is mostly my preference but I think it would be quite useful to have file search feature similar to sublime or vscode etc.
So, I used codebase of commander mostly and modified it.
Basically:
- Find File keyboard shortcut with open a dialog with input and search against files and showing them
- Enter would open the file
- Workflow from UI would be as is and this is only based on keyboard shortcut
P.S. This is mostly a proof of concept and I think someone with better knowledge of gtk, C and geany api can pull this off better than what I currently have.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/953
-- Commit Summary --
* just a proof of concept of file search through kb different than sidebar with type and open
-- File Changes --
M projectorganizer/src/prjorg-menu.c (355)
M projectorganizer/src/prjorg-sidebar.c (14)
M projectorganizer/src/prjorg-sidebar.h (8)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/953.patchhttps://github.com/geany/geany-plugins/pull/953.diff
--
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-plugins/pull/953