Hi all!
I've started to write a plugin that puts configurable text around the
selection (e.g. <b> ... </b>).
The number of keybindings depends on the configuration file, so I can't use:
<code>
PLUGIN_KEY_GROUP(plugin_name, KB_COUNT)
</code>
since it needs a hardwired KB_COUNT.
Therefore I used:
<code>
static GeanyKeyBinding *plugin_keys = NULL;
GeanyKeyGroup plugin_key_group[1] =
{
{PLUGIN_NAME, NULL, 0, NULL}
};
void plugin_init(GeanyData *data)
{
...
/* read keybinding number from config file */
plugin_keys = g_new(GeanyKeyBinding, num_keybindings);
plugin_key_group->count = num_keybindings;
plugin_key_group->keys = plugin_keys;
...
}
</code>
It works for me, but I don't know whether it is conceptionally right or
wrong.
The other thing: is it possible to change the keybinding group when
edited file changes? (e.g. having 20 keybindings for HTML files, but
only 2 for C?)
Regards
Andras Prim
Hi,
During a discussion inside IRC I recognized that some parts of
documentation needs a update/refactoring. One of these parts is the
section according to snippets usage and configuration. Since its alwys
hard to write documentation if you know for 100% what to do for foo or
baa I'm asking whether there is somebody who like to give some feedback
on documentation.
Regards,
Frank
--
Frank Lanitz <frank(a)frank.uvena.de>
On Thu, 14 Aug 2008 15:48:11 +0000, ntrel(a)users.sourceforge.net wrote:
> Revision: 2887
> http://geany.svn.sourceforge.net/geany/?rev=2887&view=rev
> Author: ntrel
> Date: 2008-08-14 15:48:11 +0000 (Thu, 14 Aug 2008)
>
> Log Message:
> -----------
> Don't look up "scroll_arrow_hlength" and "scroll_arrow_vlength"
> GtkWidget properties on GTK < 2.10.
Oops, sorry.
I checked for backwards compatibility when adding the code for
accessing the event_window field of the GtkNotebook struct. But I
didn't do this for the scroll_arrow properties, sorry.
But I guess the code for accessing the event_window field won't work
with GTK 2.14 as they are currently about to 'seal' such private fields
to prevent accessing it from outside. But let's wait what will actually
happen.
Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.key
On Wed, 13 Aug 2008 16:35:50 +0000, ntrel(a)users.sourceforge.net wrote:
> Revision: 2880
> http://geany.svn.sourceforge.net/geany/?rev=2880&view=rev
> Author: ntrel
> Date: 2008-08-13 16:35:49 +0000 (Wed, 13 Aug 2008)
>
> Log Message:
> -----------
> Add Tips and Tricks appendix.
This is really cool, I had a similar idea weeks ago, remembered it a
few times but continuously forgot it again :).
Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.key
Hello,
I've been using Geany for the past few months for some python
development and thus far have really liked the experience, hats off to
the design team. I've noticed that for some reason Ctrl-tabbing only
lets me switch between the two most recent windows. Is this the intended
functionality or is it a bug. My Geany info is Geany 0.13, GTK+ 2.12.9,
GLib 2.16.4.
Regards,
Joe Doliner
On Thu, 17 Jul 2008 17:18:05 +0000, ntrel(a)users.sourceforge.net wrote:
> Revision: 2787
> http://geany.svn.sourceforge.net/geany/?rev=2787&view=rev
> Author: ntrel
> Date: 2008-07-17 17:17:51 +0000 (Thu, 17 Jul 2008)
>
> Log Message:
> -----------
> Move editor popup menu current word items to submenu.
This was a nice idea but after using it for two days it comes very
unhandy, IMO.
I use especially Goto Definition and Find usage very often as it's just
convenient but with the new submenu they got hard to reach.
Can anyone confirm this?
OTOH, I agree it's good to shorten this menu a little bit or at least
to not bloat it more.
Maybe we could remove or move the "Insert [Date|Comments|Includes]" menu
items into the Format submenu.
But it mainly depends on their usage. The above suggestion is based on
my personal usage habits, I'm afraid they will differ from those of
other people :D.
Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.asc
Hi,
I use Geany to write some Bash scripts. To execute my script I use the
integrated terminal at the bottom.
Now when I want to abort my script by Ctrl-C Geany crashes. There is
no error message even when I start Geany through a terminal. The
window just doesn't react any more.
I use Geany 0.14-1 on Debian Testing with Kernel 2.6.25-2-686 and Gnome 2.22.3.
Best regards
Christian Schulze