If I do a 'Find in Files' I can fill in the 'Files' setting to limit search to a particular file pattern (fif_files).
However, if I put in '--exclude' and '--exclude-dir' parameters into 'Extra options' it won't work. This is because '--include' has to come before --exclude*, but Geany puts the 'Extra options' before the fif_files.
Simply flipping it around in the `get_grep_options` function seems to work for me.
--
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/2321
Folks,
Long story short, I was looking for a way to incorporate open comment / close comment strings into templates in a filetype-agnostic mechanism. (e.g., for shell scripts, `{co}` would be replaced with '#').
I didn't find anything so I forked the repo, cut a branch, and added `{co}` and `{cc}` as wildcards in `src/templates.c`.
I can submit a PR with the changes if you think this has any value.
What do you think?
--
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/2362
i have unbound F8 however when i press F8 it causes the cursor in the editor window to lose focus and the cursor disappears, ie: something is still happening despite being unbound.
therefore when i subsequently try to use F8 for a custom macro i find the macro still executes but then the focus is lost and i have to click the editor window again. i thought i'd try and "trick" the focus back to the editor window by adding an F2 to the end of the macro but it was to no avail...
after pressing the unbound F8 i can press TAB 7 times and see focus return back to the editor window.
also i've found after pressing the unbound F8 i can press ENTER or SPACE or ESC and focus returns to the editor window.
hth, also btw i tried pressing F8 in other random applications (browsers, other editors, etc.) just to see if i somehow had a global F8 shortcut key defined, but nothing happens when i press F8 elsewhere...
version: geany 1.35 (built on 2019-05-04 with GTK 3.22.30, GLib 2.56.4)
desktop: LXDE
o/s: 5.0.16-100.fc28
--
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/2359
over on geany issues i posted an issue: https://github.com/geany/geany/issues/2359
it seems that when a macro is bound to F8 then the standard GTK event still gets fired after the macro is run.
in the case of F8 it is "give focus to the splitter bar in a paned window" and this event causes the focus on the editor window to be lost, which renders the F8 (or any other combination of a "gtk focus" key) unusable as a macro key.
it appears the standard behaviour in geany for keyboard shortcuts is to *not* fire the GTK event if a shortcut is defined. perhaps the macros plugin should follow the same convention?
a workaround is of course possible: don't use macro keys conflicting with the gtk events: https://developer.gnome.org/hig/stable/keyboard-input.html.en i only discovered geany today and i almost immediately decided to migrate across to it so in the meantime i'll be retraining my brain to not use F8 from my old editor :)
fyi: whilst i was trying to understand the issue i was searching around a bit and found this: https://mail.gnome.org/archives/gtk-app-devel-list/2006-April/msg00338.html an old post which may still be of help.
--
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/issues/928
Hi,
I've been attempting to generate global tags files with the intent of being able to use them with geany to jump to declarations and definitions as necessary, as they would normally be used.
I'm pretty sure I'm doing everything correctly here but I can't seem to get the desired affect.
Here is an example command I used to generate glib tags:
CFLAGS=`pkg-config --cflags glib-2.0` geany -g glib_2_0.c.tags /usr/include/glib-2.0/*.h
it ran without issue. When I try and test it works by jumping to something integral to glib, like "gboolean", it does not work, upon inspection of the generated file it looks like this:
`
g_warn_messageÌ1024Í(const char *domain, const char *file, int line, const char
g_warningÌ131072Í(...)Ö0
g_weak_ref_clearÌ1024Í(GWeakRef *weak_ref)Ö0Ïvoid
g_weak_ref_getÌ1024Í(GWeakRef *weak_ref)Ö0Ïgpointer
g_weak_ref_initÌ1024Í(GWeakRef *weak_ref, gpointer object)Ö0Ïvoid
g_weak_ref_setÌ1024Í(GWeakRef *weak_ref, gpointer object)Ö0Ïvoid
gatomicrefcountÌ4096Ö0Ïvolatile gint
**gbooleanÌ4096Ö0Ïgint**
gcharÌ4096Ö0Ïchar
gchararrayÌ4096Ö0Ïgchar *
gconstpointerÌ4096Ö0Ïconst void *
gdoubleÌ4096Ö0Ïdouble
getÌ1024Í(gpointer cb_data, GSource *source, GSourceFunc *func, gpointer *data)Î
get_propertyÌ1024Í(GObject *object, guint property_id, GValue *value, GParamSpec
getdateÌ1024Í(const char *__string)Ö0Ïtm
getdate_errÌ32768Ö0Ïint
`
I feel like something is going wrong here, looking at a pre-generated tags file there seems to be file paths in each line, presumably to be able to find the file the declaration/definition is in.
Thanks,
Lukas
--
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/2354
Also fixes iterating docs for *Close other Documents* in notebook tab order.
I'd like to add a folder item for *Open in New Window* too.
Screenshot:
![image](https://user-images.githubusercontent.com/1107820/66410821-ab798e00-e9ea-11e9-9cef-334b6b9939d0.png)
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2346
-- Commit Summary --
* Use gtk_widget_show_all in show_tab_bar_popup_menu
* Add *Documents in _Folder* notebook menu
* Remove unnecessary casts
* Iterate in tab order for *Close Other Documents* and close folder items
-- File Changes --
M src/callbacks.c (11)
M src/notebook.c (75)
M src/sidebar.c (1)
-- Patch Links --
https://github.com/geany/geany/pull/2346.patchhttps://github.com/geany/geany/pull/2346.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/2346
I think these are useful to working with xml pair tags.
- Editor Menu option for jumping to matching tag
- Selecting to matching tag
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/763
-- Commit Summary --
* Macro gtk3 compatibility [Needs testing]
* upstream compatibility
* Gtk3 support
* seems I wronged the merge upstream
* Windows installer: update file remove list
* Initialize loop variables to make cppcheck happy
* NEWS: Minor rewording and fix some typos
* Reword item about orphaned plugins
* Unify plugin name spelling
* Set release date for 1.31
* Post release version bump to 1.32
* Keybindings and Editor menu for jump to matching tag and select to matching tag
-- File Changes --
M pairtaghighlighter/src/pair_tag_highlighter.c (86)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/763.patchhttps://github.com/geany/geany-plugins/pull/763.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/763
Depends on #2346, merge that first.
Open all documents matching the document tab's path in a new instance.
I modified two utils.c functions to support this, see commits.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2352
-- Commit Summary --
* Use gtk_widget_show_all in show_tab_bar_popup_menu
* Add *Documents in _Folder* notebook menu
* Remove unnecessary casts
* Revert whitespace change
* utils_strv_join: Don't free arguments
* utils_start_new_geany_instance: Take a string vector
* notebook menu: Add *Documents in Folder -> Open in New Window* command
-- File Changes --
M src/callbacks.c (3)
M src/highlighting.c (3)
M src/notebook.c (114)
M src/utils.c (15)
M src/utils.h (2)
-- Patch Links --
https://github.com/geany/geany/pull/2352.patchhttps://github.com/geany/geany/pull/2352.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/2352