cantor/src/lib
defaulthighlighter.h
Go to the documentation of this file.
122 template <class Container> void addRules(const Container& conditions, const QTextCharFormat& format);
QTextCharFormat keywordFormat() const
Definition: defaulthighlighter.cpp:273
void addVariables(const Container &variables)
Convenience method, equivalent to.
Definition: defaulthighlighter.h:207
QTextCharFormat variableFormat() const
Definition: defaulthighlighter.cpp:263
void addRules(const Container &conditions, const QTextCharFormat &format)
Convenience method, highlights all items in conditions with the specified format. ...
Definition: defaulthighlighter.h:184
void addFunctions(const Container &functions)
Convenience method, equivalent to.
Definition: defaulthighlighter.h:195
The DefaultHighlighter is an implementation QSyntaxHighlighter.
Definition: defaulthighlighter.h:47
void removeRules(const Container &conditions)
Convenience method, removes all rules with conditions from conditions.
Definition: defaulthighlighter.h:213
QTextCharFormat functionFormat() const
Definition: defaulthighlighter.cpp:258
void addRule(const QString &word, const QTextCharFormat &format)
Highlights all instances of the word in the text with the specified format.
Definition: defaulthighlighter.cpp:380
void removeRule(const QString &word)
Removes any rules previously added for the word word.
Definition: defaulthighlighter.cpp:395
void addKeywords(const Container &keywords)
Convenience method, equivalent to.
Definition: defaulthighlighter.h:201
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.