On Thu, May 26, 2011 at 05:49, Matthew Brush mbrush@codebrainz.ca wrote:
On 05/25/11 06:37, Jiří Techet wrote:
- 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/df2164eaa4d881bfcc2efde7de1105c39...
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