[Geany-devel] Plugins Guidance

Lex Trotman elextr at xxxxx
Tue Feb 21 21:00:07 UTC 2012


Another item just came up, see
http://lists.uvena.de/geany/2012-February/007831.html where two
plugins don't share resources nicely (in this case the limited number
of markers available).

Both plugins use hard coded integer marker numbers.

Looks like all markers are going to have to be marked available by
Geany (well except for those we use) and plugins are going to have to
test for available ones before defining them, and to reset them
available when the plugin is unloaded.  This means plugins also have
to handle exhaustion of markers.

This convention also needs to be documented.

More generally what other resources does this apply to?

Cheers
Lex



More information about the Devel mailing list