RSTALanguageSupport icon indicating copy to clipboard operation
RSTALanguageSupport copied to clipboard

Suggestion / enhancement: Storing reference of class loader for each language support

Open Mouseviator opened this issue 2 years ago • 0 comments

Hi, first of all thanks for this and all RSyntaxTextArea related projects. Wonderful work.

Now for my suggestion :)

I am using these projects in project that works with "plugins" and during this, I discovered that it is not possible to load LanguageSupport (and related resources) when they are available by different class loader than the main application. Thus, I made small adjustments to the LanguageSupportFactory class to allow specify class loader to use when adding LanguageSupport. I attached the diff file here, just in case you want to consider making this change part of master branch.

diff.txt

Have a good time Best regards Mouseviator

Mouseviator avatar Aug 17 '23 10:08 Mouseviator