[Geany-devel] question about templates

Enrico Tröger enrico.troeger at xxxxx
Tue Jul 14 19:08:23 UTC 2009


On Sun, 12 Jul 2009 19:12:15 +0200, Andreas wrote:

>On Thu, 9 Jul 2009 17:32:12 +0200
>Enrico Tröger <enrico.troeger at uvena.de> wrote:
>> >Well, a patch for changing a "2" into a "3" is not really
>> >necessary.  
>> Ok, committed.
>
>Thanks. Works nicely :-)
>
>> Well, gint, gchar and such are C typedefs, defined in the GLib header
>> files. These are parsed by Geany when generating the tags file and
>> then written into the tags file with the appropriate tag type.
>
>By tags file you mean gtk216.c.tags?

Yes.


>> Geany
>> then reads these tags (symbols_load_global_tags() in symbols.c) and
>> notice that 'gint' is a type and adds it to the keyword list 1 of the
>> Scintilla lexer (update_type_keywords in document.c).
>
>OK. Found the declaration of gchar, gint, etc. now in the tags file.
>Missed it somehow...

Oh sorry, I should have been clearer on this. Yes, the type
declarations of gint, gchar and such are in the tags file, the
gtk26.c.tags.



Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20090714/90443342/attachment.pgp>


More information about the Devel mailing list