#include <klflatexedit.h>
Public Types | |
enum | Type { Normal = 0, Keyword, Comment, Paren } |
enum | TypeMask { NoMask = 0, KeywordMask = 1 << Keyword, CommentMask = 1 << Comment, ParenMask = 1 << Paren } |
enum | ParenMatch { None = 0, Matched, Mismatched, Lonely } |
Public Member Functions | |
ParsedBlock (Type t=Normal, int a=-1, int l=-1) | |
bool | parenIsLatexBrace () const |
Public Attributes | |
Type | type |
int | pos |
int | len |
QString | keyword |
ParenMatch | parenmatch |
bool | parenisopening |
int | parenSpecIndex |
QString | parenmodifier |
QString | parenstr |
int | parenotherpos |
Static Public Attributes | |
static KLFLatexParenSpecs | parenSpecs |
Definition at line 204 of file klflatexedit.h.
Enumerator | |
---|---|
None | |
Matched | |
Mismatched | |
Lonely |
Definition at line 210 of file klflatexedit.h.
Enumerator | |
---|---|
Normal | |
Keyword | |
Comment | |
Paren |
Definition at line 205 of file klflatexedit.h.
Enumerator | |
---|---|
NoMask | |
KeywordMask | |
CommentMask | |
ParenMask |
Definition at line 206 of file klflatexedit.h.
|
inline |
Definition at line 212 of file klflatexedit.h.
bool KLFLatexSyntaxHighlighter::ParsedBlock::parenIsLatexBrace | ( | ) | const |
Definition at line 187 of file klflatexedit.cpp.
References KLFLatexParenSpecs::ParenSpec::IsLaTeXBrace, and KLF_ASSERT_CONDITION.
QString KLFLatexSyntaxHighlighter::ParsedBlock::keyword |
Definition at line 222 of file klflatexedit.h.
Referenced by operator<<(), and KLFLatexSyntaxHighlighter::refreshAll().
int KLFLatexSyntaxHighlighter::ParsedBlock::len |
Definition at line 220 of file klflatexedit.h.
Referenced by operator<<().
bool KLFLatexSyntaxHighlighter::ParsedBlock::parenisopening |
Definition at line 225 of file klflatexedit.h.
Referenced by operator<<().
ParenMatch KLFLatexSyntaxHighlighter::ParsedBlock::parenmatch |
Definition at line 224 of file klflatexedit.h.
Referenced by operator<<(), and KLFLatexSyntaxHighlighter::refreshAll().
QString KLFLatexSyntaxHighlighter::ParsedBlock::parenmodifier |
Definition at line 227 of file klflatexedit.h.
Referenced by operator<<().
int KLFLatexSyntaxHighlighter::ParsedBlock::parenotherpos |
Definition at line 229 of file klflatexedit.h.
Referenced by operator<<().
int KLFLatexSyntaxHighlighter::ParsedBlock::parenSpecIndex |
Definition at line 226 of file klflatexedit.h.
Referenced by operator<<().
|
static |
This contains the specifications for matching parens
Definition at line 233 of file klflatexedit.h.
Referenced by KLFLatexParenSpecs::identifyModifier(), and KLFLatexSyntaxHighlighter::refreshAll().
QString KLFLatexSyntaxHighlighter::ParsedBlock::parenstr |
Definition at line 228 of file klflatexedit.h.
Referenced by operator<<().
int KLFLatexSyntaxHighlighter::ParsedBlock::pos |
Definition at line 219 of file klflatexedit.h.
Referenced by operator<<().
Type KLFLatexSyntaxHighlighter::ParsedBlock::type |
Definition at line 217 of file klflatexedit.h.
Referenced by operator<<().