Simple syntax highlighting for Scripter (QTextEdit). Based on the source of the Sqliteman and Qt4 examples. but very simplifier. Improved too (of course). TODO: colors of the higlited texts. User should set the colors in the preferences. Waiting for the new plugin API.
More...
#include <ActionEditorImpl.h>
Simple syntax highlighting for Scripter (QTextEdit). Based on the source of the Sqliteman and Qt4 examples. but very simplifier. Improved too (of course). TODO: colors of the higlited texts. User should set the colors in the preferences. Waiting for the new plugin API.
- Author
- Petr Vanek, petr@.nosp@m.yarp.nosp@m.en.cz
◆ SyntaxHighlighter()
SyntaxHighlighter::SyntaxHighlighter |
( |
QTextEdit * |
textEdit | ) |
|
◆ highlightBlock()
void SyntaxHighlighter::highlightBlock |
( |
const QString & |
text | ) |
|
|
protected |
◆ colors
◆ highlightingRules
◆ keywordFormat
QTextCharFormat SyntaxHighlighter::keywordFormat |
|
protected |
◆ numberFormat
QTextCharFormat SyntaxHighlighter::numberFormat |
|
protected |
◆ operatorFormat
QTextCharFormat SyntaxHighlighter::operatorFormat |
|
protected |
◆ quotationFormat
QTextCharFormat SyntaxHighlighter::quotationFormat |
|
protected |
◆ singleLineCommentFormat
QTextCharFormat SyntaxHighlighter::singleLineCommentFormat |
|
protected |
The documentation for this class was generated from the following files: