Fix syntax highlighting unicode support (#475)
* convert BasicParser to a template * fix syntax hightlighting with unicode characters
This commit is contained in:
@@ -11,6 +11,6 @@ namespace devtools {
|
||||
};
|
||||
|
||||
std::unique_ptr<FontStylesScheme> syntax_highlight(
|
||||
const std::string& lang, std::string_view source
|
||||
const std::string& lang, std::wstring_view source
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user