[Geany-devel] Little patch to reload color schemes via menu
nick.treleaven at xxxxx
Thu Jul 9 10:36:24 UTC 2009
On Sun, 05 Jul 2009 19:07:43 +0400
Eugene Arshinov <earshinov at gmail.com> wrote:
> This patch makes Tools > Reload Configuration reload color schemes in
> all open documents.
> It is made against last SVN revision (rev. 3920).
Thanks for the patch. I had a quick look at it, but surely calling
highlighting_init_styles() again will cause memory leaks? E.g.
new_style_array() calls and other things.
Maybe this can be fixed by calling highlighting_free_styles() first,
but this would also need to NULL some pointers for it to work correctly.
> I don't know whether attachments are supported
Should work, works for me.
More information about the Devel