Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::SyntaxHighlighter Class Reference
Inheritance diagram for inviwo::SyntaxHighlighter:

Signals

void update ()

Public Member Functions

void addMultBlockPattern (QTextCharFormat format, std::string_view startPattern, std::string_view endPattern)
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 clear ()
const QTextCharFormat & defaultFormat () const
const std::string & font () const
int fontSize () const
const vec4 & highlight () const
void setDefaultFormat (QTextCharFormat format)
void setFont (const std::string &font)
void setFontSize (int size)
void setHighlight (const vec4 &highlight)
 SyntaxHighlighter (QTextDocument *parent)

Protected Member Functions

void highlightBlock (const QString &text)

The documentation for this class was generated from the following file:
  • modules/qtwidgets/include/modules/qtwidgets/syntaxhighlighter.h