[Github-comments] [geany-plugins] Add new "Lineoperations" plugin (#324)

Colomban Wendling notifications at xxxxx
Sun Jan 17 14:14:42 UTC 2016


> +
> +
> +G_MODULE_EXPORT
> +void geany_load_module(GeanyPlugin *plugin)
> +{
> +	main_locale_init(LOCALEDIR, GETTEXT_PACKAGE);
> +
> +    plugin->info->name        = _("Line Operations");
> +    plugin->info->description = _("Line Operations provides a handful of functions that can be applied to a document such as, removing duplicate lines, removing empty lines, removing lines with only whitespace, and sorting lines.");
> +    plugin->info->version     = "0.1";
> +    plugin->info->author      = _("Sylvan Mostert <smostert.dev at gmail.com>");
> +
> +    plugin->funcs->init       = lo_init;
> +    plugin->funcs->cleanup    = lo_cleanup;
> +
> +    GEANY_PLUGIN_REGISTER(plugin, 225);

indentation is odd (4 spaces here instead of 1 tab everywhere else)

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/324/files#r49946787
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160117/f3efb185/attachment.html>


More information about the Github-comments mailing list