@techee commented on this pull request.


In src/pluginextension.c:

> +
+	.doc_symbols_provided = func_return_false,
+	.doc_symbols_get = func_return_ptrarr,
+
+	.symbol_highlight_provided = func_return_false
+};
+
+static PluginExtension *current_extension = &dummy_extension;
+
+
+GEANY_API_SYMBOL
+void plugin_extension_register(PluginExtension *extension)
+{
+	/* possibly, in the future if there's a need for multiple extensions,
+	 * have a list of extensions and add/remove to/from the list */
+	current_extension = extension;

Just a note that if we want to use this interface for Geany itself, Geany's PluginExtension could be the last one in the chain and serve as a fallback.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3849/review/2095870617@github.com>