[Geany] [PATCH] plugin api request filetypes_get_from_uid()

Yura Siamashka yurand2 at xxxxx
Wed Mar 12 13:14:16 UTC 2008


2008/3/12, Yura Siamashka <yurand2 at gmail.com>:
> > You can use GeanyData::filetypes, which is an array of filetype
> > pointers, to loop through each filetype.
> Good, but how can I get it's size? I think I can't trust
> GEANY_MAX_FILE_TYPES since it can be different for geany and plugin.
I think I can check if filetype is GEANY_FILETYPES_ALL and assume it
is last. Sorry no need to add anything to geany. ;-)

Best regards,
Yura Siamashka



More information about the Users mailing list