[Geany-devel] Small additions to stash

Nick Treleaven nick.treleaven at xxxxx
Thu Apr 5 16:20:44 UTC 2012


On 04/04/2012 19:58, Dimitar Zhekov wrote:
> Hi,
>
> How about some $subject? Namely:
>
> Include stash_group_set_use_defaults() in plugin StashFuncs. I'm not
> using it any more, but it's a nice thing to have.

I'm not convinced we should support that publicly. It puts a burden on 
the implementation for an unusual use case.

> New stash_group_free_strings(), which frees any strings and string
> arrays in a group. Much easier than to track them individually, as
> in Geany (though if someone is willing to track the keyfile_groups
> prefs free-s and remove them, a call may be included in
> configuration_finalize).

Probably it should be named more generally, in case we support e.g. 
null-terminated integer lists. Maybe stash_group_free_settings().

Regards,
Nick



More information about the Devel mailing list