[Geany-devel] No tags found after saving filetype_extensions.conf

Nick Treleaven nick.treleaven at xxxxx
Tue Apr 26 16:42:17 UTC 2011


On Tue, 26 Apr 2011 18:28:52 +0200
Colomban Wendling <lists.ban at herbesfolles.org> wrote:

> > The bug seems to only occur with the combination of files I mentioned
> > above.
> 
> OK, I see, really weird at first glance :D

Yes, sorry for not being clear at first.

> The problem have nothing to do with tag changes, but maybe with document
> array sorting, not sure. Actually the problem is that when saving
> filetypes_extension.conf, we reloads it implicitly and we re-set the
> filetype of each document, thus updating the tag list. But we don't
> check we try to show the correct tag list, so if the last document
> updated isn't the current one, we will show a wrong tag list.
> 
> I've fixed this (r5742) by making symbols_update_tag_list() change the
> displayed symbol tree view only if it's the one of the current document.
> This also allowed me to drop a part of my previous change, since it'd be
> a duplicate now.

Seems to be fixed now, thanks :)

Regards,
Nick



More information about the Devel mailing list