[Geany-devel] Exuberant Ctags Support

Jiří Techet techet at xxxxx
Mon May 30 00:28:13 UTC 2011


On Thu, May 26, 2011 at 05:49, Matthew Brush <mbrush at codebrainz.ca> wrote:
> On 05/25/11 06:37, Jiří Techet wrote:
>>
>> 1. In tm_tag.c it would be better to have ctagKinds languageKinds[]
>> separate for each language and then have allKinds array indexed by
>> lang_id containing languageKinds[] of all languages. So to get to
>> language's tags, you would just do allKinds[lang_id] instead of going
>> through the whole list every time. (a dummy entry would be used for
>> lang_id's not present in the table)
>
> Done (see ctag_format.c):
> https://github.com/codebrainz/geany/commit/df2164eaa4d881bfcc2efde7de1105c39a36e457
>
> Hopefully I haven't done this stupidly, suggestions for improvements are
> most welcome.

Looks good, I haven't had time to test it yet...

Jiri



More information about the Devel mailing list