Currently Geany allows you to open the Plugin Manager dialog more than once at a time. If you do that, and enable/disable a plugin in one dialog, and then enable/disable plugin in the other dialog, Geany crashes. My personal suggestion to solve this would be to check if an instance of this dialog is already open and, if so, just set the focus on the dialog again and bring it to the foreground.
This issue has been reported against the Fedora package of Geany here:
https://bugzilla.redhat.com/show_bug.cgi?id=1473527
I'm going to close the RedHat bug in favor of this upstream one. :-)
--
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/1563
> I didn't meant for this to be the syntax but the result. For the syntax I would rather suggest something like %cursor=function_name% or similar, extending the current syntax in what seems at a glance like a compatible way.
Ok, fine.
--
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/commit/957b49b868214a4aea81641dedeabb98a497e…
The variable used for setting the cursor isn't used anymore and
was used uninitialized. It's simply deleted now and the correct var is used.
This was only a problem if editor_insert_text_block() was used directly,
the snippet code path doesn't reach to it.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1561
-- Commit Summary --
* editor: fix incorrect variable reference
-- File Changes --
M src/editor.c (4)
-- Patch Links --
https://github.com/geany/geany/pull/1561.patchhttps://github.com/geany/geany/pull/1561.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/1561
> And yeah a semantic snippet placeholder might be a nice future improvement, but [ ] is a common language syntax, so I suspect it may get used in snippets, so another syntax for indicating the placeholder might be better […]
I didn't meant for this to be the syntax but the result. For the syntax I would rather suggest something like `%cursor=function_name%` or similar, extending the current syntax in what seems at a glance like a compatible way.
--
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/commit/957b49b868214a4aea81641dedeabb98a497e…
> I disagree that it looks better, I prefer one char. Unfortunately … is troublesome.
Well, I don't feel like `_` really looks like a placeholder in the context of programming. Maybe a space would fit better for only one ASCII character?
> I then chose _ because it's also less likely to mess up the tagmanager due to syntax errors introduced by the ellipsis.
It is indeed, though good parsers should handle it not too badly. But that might be a valid point indeed. I guess ideally the snippet could provide the placeholder, to expand like:
```
def [function_name]([arguments]):
"""[documentation]"""
[body]
```
with `[]` representing the indicator range. But that's a whole other story.
@codebrainz @elextr opinions on that?
--
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/commit/957b49b868214a4aea81641dedeabb98a497e…
`togglebars` plugin is to be made available for Geany in an application that install from a deb file and copies `togglebars.py` in the `~/.config/geany/` directory. So, the plugin is intended to be active when Geany is launched by the application, meaning that it should be included in `~/.config/geany/geany.conf` in the form:
`active_plugins=/home/<user>/.config/geany/plugins/togglebars.py;`
But the name of the user is not known at the time of installation. Alternative solutions like
`active_plugins=~/.config/geany/plugins/togglebars.py;`
`active_plugins=$HOME/.config/geany/plugins/togglebars.py;`
don't work. How can it be included this file independently of the user name?
Also, this plugin demands `geanypy`, which is placed in:
`active_plugins=/usr/lib/x86_64-linux-gnu/geany/geanypy.so;`
what depends on the architecture. Does this plugin need to be precompiled? Can it be placed somewhere else?
--
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/1562
The Hightlighting after Double-Click (in "addons") seems to require the content to be saved to a file. It does not work on content that has just been typed or pasted.
--
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/562
The aa snippet below works as expected. But the bb below that does not work despite: https://plugins.geany.org/geanylua/geanylua-ref.html
[Perl]
aa={command: lua5.3 -e 'print(1+1)'}
bb={command: lua5.3 -e 'print(geany.filename())'}
--
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/1557