#include <klflatexedit.h>


Public Types | |
| enum | { Enabled = 0x01, HighlightParensOnly = 0x02, HighlightLonelyParen = 0x04 } |
Public Slots | |
| void | refreshAll () |
| void | resetEditing () |
Signals | |
| void | newSymbolTyped (const QString &symbolName) |
Public Member Functions | |
| KLFLatexSyntaxHighlighter (QTextEdit *textedit, QObject *parent) | |
| virtual | ~KLFLatexSyntaxHighlighter () |
| void | setCaretPos (int position) |
| virtual void | highlightBlock (const QString &text) |
Public Member Functions inherited from QSyntaxHighlighter | |
| QSyntaxHighlighter (QObject *parent) | |
| QSyntaxHighlighter (QTextDocument *parent) | |
| QSyntaxHighlighter (QTextEdit *parent) | |
| currentBlockState () | |
| currentBlockUserData () | |
| document () | |
| format (int position) | |
| highlightBlock (const QString &text) | |
| previousBlockState () | |
| rehighlight () | |
| setCurrentBlockState (int newState) | |
| setCurrentBlockUserData (QTextBlockUserData *data) | |
| setDocument (QTextDocument *doc) | |
| setFormat (int start, int count, const QTextCharFormat &format) | |
| setFormat (int start, int count, const QColor &color) | |
| setFormat (int start, int count, const QFont &font) | |
Definition at line 128 of file klflatexedit.h.
| anonymous enum |
| Enumerator | |
|---|---|
| Enabled | |
| HighlightParensOnly | |
| HighlightLonelyParen | |
Definition at line 139 of file klflatexedit.h.
Definition at line 215 of file klflatexedit.cpp.
References QTextEdit::document(), and QSyntaxHighlighter::setDocument().
|
virtual |
Definition at line 223 of file klflatexedit.cpp.
|
virtual |
Definition at line 408 of file klflatexedit.cpp.
References QList::append(), KLFConfig::configFlags, Enabled, QList::end(), QSyntaxHighlighter::format(), klfconfig, klfDbg, QString::length(), QTextBlock::position(), QVector::resize(), setCaretPos(), QSyntaxHighlighter::setFormat(), QVector::size(), QList::size(), KLFConfig::SyntaxHighlighter, and QTextEdit::textCursor().
|
signal |
|
slot |
Definition at line 232 of file klflatexedit.cpp.
References QSyntaxHighlighter::rehighlight().
|
slot |
This clears for example the list of already typed symbols.
Definition at line 463 of file klflatexedit.cpp.
Referenced by KLFLatexEdit::clearLatex().
| void KLFLatexSyntaxHighlighter::setCaretPos | ( | int | position | ) |
Definition at line 227 of file klflatexedit.cpp.
Referenced by highlightBlock().