[Geany-devel] ANN: Plugin API filetypes changes

Nick Treleaven nick.treleaven at xxxxx
Wed May 7 16:46:10 UTC 2008


Hi,
I've just merged some changes that should help to implement custom
filetype support (but this is still quite a long way off yet):

http://geany.svn.sourceforge.net/viewvc/geany?view=rev&revision=2559

The main things for plugin authors are:
Use filetypes_array->len instead of GEANY_MAX_FILE_TYPES.
GEANY_FILETYPES_ALL has been renamed GEANY_FILETYPES_NONE.

There's also a new function p_filetypes->lookup_by_name() which
replaces the old unique ID code.

I'm hoping this won't affect most plugins too much, as there are still
some deprecated macros for the first two changes mentioned above.

Any problems/ideas, just let us know ;-)

Regards,
Nick



More information about the Devel mailing list