[Geany-Devel] Plugin Advice

Matthew Brush mbrush at xxxxx
Thu Jan 16 09:28:10 UTC 2014

On 14-01-15 07:02 PM, Peter O'Malley wrote:
> [snip]
> 3) In the actual folding code I used sci_get_fold_level (and a couple
> other scintilla wrappers) which aren't in the plugin API so I gather
> my plugin may break at some point. There doesn't seem to be a way
> around this for what I want to do. Is this ok?

You can just use the exposed Scintilla API, like:

     scintilla_send_message(sci, SCI_GETFOLDLEVEL, line, 0);

Matthew Brush

More information about the Devel mailing list