add gui.set_syntax_styles

This commit is contained in:
MihailRis 2025-11-23 18:10:06 +03:00
parent 1676c47093
commit 50f6c48771
11 changed files with 149 additions and 43 deletions

View file

@ -18,7 +18,9 @@ namespace devtools {
class SyntaxProcessor {
public:
std::unique_ptr<FontStylesScheme> highlight(
const std::string& ext, std::wstring_view source
const FontStylesScheme& colorScheme,
const std::string& ext,
std::wstring_view source
) const;
void addSyntax(std::unique_ptr<Syntax> syntax);