cullmann added a comment.
Hmm, I think the idea is good. But instead of adding API, could we not just define that an additional resource dir is searched always? e.g. like: loadSyntaxFolder(repo, QStringLiteral(":/org.kde.syntax-highlighting/syntax-extra")); or something like that and per definition applications (or libraries using the framework) can just add extra syntax files are resources to that directory? Then you need no API and it is very easy to deploy the stuff, as you just bundle all the extra files in the qrc inside the binary (lib). (same for themes) That would then work like other frameworks like kxmlgui and Co. just search in some defined resource dir for extra things. REPOSITORY R216 Syntax Highlighting REVISION DETAIL https://phabricator.kde.org/D7699 To: zrax, #kate, #framework_syntax_hightlighting, dhaumann Cc: dhaumann, vkrause, cullmann, #framework_syntax_hightlighting, #frameworks