Re: Plugin system

"'Neil Hodgson' via scite-interest" <[email protected]> Sat, 3 Dec 2022 08:21:08 +1100
Newsgroups gmane.editors.scite.general
Message-ID <[email protected]>
Red M:

> Is there any interest in someone offering a plugin system where by extensions (like the Lua extension) could be loaded into SciTE via a dynamically linked library?

   Sounds reasonable.

> I'm starting at step 1 which would be allowing the SciTE Extension interface to load statically compiled libraries by defining them in SciTE config. The syntax would look something like this:
> 
> ext.load.$extension_name=$relative_path_to_scite_userhome

   The interfaces in Extender.h may not be sufficiently defined to work between separately compiled executables like a DLL/so and the SciTE application. They haven't been made ABI-safe by declaring calling conventions. There are returns of C++ types (like std::string) that may be defined differently by different standard libraries or even between release and debug builds.

> Open to suggestions on such a plugin system and I'm not afraid to put in the work and offer my patch to be merged. Also, is there a GitHub repository or if not where is the repository?

   Its on SourceForge:
https://sourceforge.net/p/scintilla/scite/ci/default/tree/

   Neil

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/scite-interest/D899DC39-B955-43E9-86B6-02FDA6D87EAB%40me.com.