|
| SyntaxHighlighter (QTextDocument *parent) |
const QTextCharFormat & | defaultFormat () const |
void | setDefaultFormat (QTextCharFormat format) |
int | fontSize () const |
void | setFontSize (int size) |
const std::string & | font () const |
void | setFont (const std::string &font) |
const vec4 & | highlight () const |
void | setHighlight (const vec4 &highlight) |
void | addPattern (QTextCharFormat format, std::string_view pattern) |
void | addPatterns (QTextCharFormat format, std::span< const std::string_view > patterns) |
void | addPatternWithFormatStr (QTextCharFormat format, std::span< const std::string_view > patterns, std::string_view formatStr) |
void | addWordBoundaryPattern (QTextCharFormat format, std::span< const std::string_view > patterns) |
void | addMultBlockPattern (QTextCharFormat format, std::string_view startPattern, std::string_view endPattern) |
void | clear () |
|
void | highlightBlock (const QString &text) |
The documentation for this class was generated from the following file: