Hi

I need to loop all supported geany filetypes in my geanydoc plugin 
(http://repo.or.cz/w/geanydoc.git).

filetypes_get_from_uid() is just what I need. Please add it to plugin api. 
Patch attached.

Also I notice filetypes_get_from_uid() is written somehow strange. Since "id" 
field also act as pos in filetypes array I think it is not necessary to loop 
filetypes every time. Second patch use simple if to do job.

-- 
Best regards,
Yura Siamshka

Attachment: filetypes_get_from_uid.patch
Description: Binary data

Attachment: get_from_uid_to_plugin.patch
Description: Binary data

_______________________________________________
Geany mailing list
[email protected]
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany

Reply via email to