While the current way of grouping symbols under various categories
like "Functions", "Structures", "Macros" etc. may be useful in some
situations, it doesn't allow true sorting by name or sorting by line
number because this sorting is only valid within the group and not
globally which makes it sometimes hard to find some symbol.
This patch adds the option to switch between two views of the symbol tree
using the context menu:
- Categorized - the original view used by Geany
- Uncategorized - view with a single root element "Symbols" in which
all symbols are rooted and all of them either sorted by line number
or alphabetically
<img width="294" alt="Screen Shot 2022-04-17 at 16 17 38" src="https://user-images.githubusercontent.com/713965/163718570-0beb29…
<img width="286" alt="Screen Shot 2022-04-17 at 16 18 33" src="https://user-images.githubusercontent.com/713965/163718574-84ba48…
The core of the implementation is rather simple - there's always the
"Symbols" root present at position 0 in tv_iters and when categorized
view is selected, this root is used for all the tags. (We still need
to keep the category roots in this situation to copy the icons for
the tags from them but they are always empty and hidden).
The rest is some UI stuff for creating entries in the context menu, I also
added a config preference so this settings is remembered across Geany
re-launches. I made this option global for all open files because
I would find it annoying to apply this setting manually for every open
file. So the code also checks whether the view type changed for the
given file when switching tabs and re-creates the tree with the new
setting.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3172
-- Commit Summary --
* Add option to show symbols in symbol tree without root groups
-- File Changes --
M src/document.c (1)
M src/documentprivate.h (2)
M src/keyfile.c (2)
M src/symbols.c (54)
M src/tagmanager/tm_parser.c (26)
M src/ui_utils.h (1)
-- Patch Links --
https://github.com/geany/geany/pull/3172.patchhttps://github.com/geany/geany/pull/3172.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3172
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3172(a)github.com>
Geany 1.35 in Windows 10 Pro (version 10.0.18362 compilation 18362) - PC X64 (Intel Core i7-4770K). When I print to "Microsoft Print to PDF" Geany freezes. Printing to "Microsoft Print to PDF" with any other program do not freezes .
--
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/2265
When opening many files at once by selecting them in the file open dialog on windows 10, geany simply crashes to the desktop with no message at all.
I don't know the exact number of files, but I'm sure that under 10 files it never happens, and over 30 files it always happens.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3209
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3209(a)github.com>
@eht16 I notice Geany doesn't have a badge, do we just delete this one?
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1184
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/issues/1184(a)github.com>
Sometimes right-click to open a the popup menu in the document sidebar
wouldn't change the selection before showing the popup. Then the
popup wasn't related to the document that was clicked.
This was especially bad with middle-click to close. It closed anything
but the clicked document (or folder in case of tree view).
This was caused by some unexpected calls to the "activate" signal handler
for the "openfiles_path_mode" menu items. The handler might re-create
the document list which in turn invalidates the current selection.
Now the signal handler has some protection against unexpected calls and
the selection properly updates upon right-click before spawing the popup.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3265
-- Commit Summary --
* Fix intermittent, erratic right-click behavior
-- File Changes --
M src/sidebar.c (17)
-- Patch Links --
https://github.com/geany/geany/pull/3265.patchhttps://github.com/geany/geany/pull/3265.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3265
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3265(a)github.com>
Typing the caret char ("^") does not print anything on Geany 1.36/Linux
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3220
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3220(a)github.com>
This should fix #1164 , and replaces #1165.
BEWARE: I did NOT test this with libgit2 1.4, that I don't have yet. I might go to the trouble of building it and all, but for now this is a theoretical PR, but if libgit2 1.4 users can verify it it'd be great.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/1178
-- Commit Summary --
* git-changebar: Simplify libgit2 version checks
* git-changebar: Add support for libgit2 1.4
-- File Changes --
M git-changebar/src/gcb-plugin.c (88)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/1178.patchhttps://github.com/geany/geany-plugins/pull/1178.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1178
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/pull/1178(a)github.com>
```
gcb-plugin.c: In function ‘gcb_git_buf_grow’:
gcb-plugin.c:219:12: error: ‘git_buf’ has no member named ‘asize’; did you mean ‘size’?
219 | if (buf->asize == 0) {
| ^~~~~
| size
gcb-plugin.c: In function ‘buf_zero’:
gcb-plugin.c:237:10: error: ‘git_buf’ has no member named ‘asize’; did you mean ‘size’?
237 | buf->asize = 0;
| ^~~~~
| size
```
geany-plugins-1.38
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1164
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/issues/1164(a)github.com>
Geany is installed at `C:/Users/<name>/Geany 1.38`.
Plugins are installed at `C:/Users/<name>/Geany-Plugins 1.38`.
Geany menu (Tools|Plugin Manager) only shows 6 plugins, I was expecting many more.
Geany menu (Edit|Preferences) has "Enable plugin support" enabled.
I have restarted several times, and set the "Extra plugin path" to the above path.
Am I doing something wrong?
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1189
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/issues/1189(a)github.com>