[KLF Backend][KLF Tools][KLF Home]
KLatexFormula Project
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
KLFLatexSyntaxHighlighter::ParsedBlock Struct Reference

#include <klflatexedit.h>

Collaboration diagram for KLFLatexSyntaxHighlighter::ParsedBlock:
Collaboration graph
[legend]

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
 

Detailed Description

Definition at line 204 of file klflatexedit.h.

Member Enumeration Documentation

◆ ParenMatch

Enumerator
None 
Matched 
Mismatched 
Lonely 

Definition at line 210 of file klflatexedit.h.

◆ Type

Enumerator
Normal 
Keyword 
Comment 
Paren 

Definition at line 205 of file klflatexedit.h.

◆ TypeMask

Enumerator
NoMask 
KeywordMask 
CommentMask 
ParenMask 

Definition at line 206 of file klflatexedit.h.

Constructor & Destructor Documentation

◆ ParsedBlock()

KLFLatexSyntaxHighlighter::ParsedBlock::ParsedBlock ( Type  t = Normal,
int  a = -1,
int  l = -1 
)
inline

Definition at line 212 of file klflatexedit.h.

Member Function Documentation

◆ parenIsLatexBrace()

bool KLFLatexSyntaxHighlighter::ParsedBlock::parenIsLatexBrace ( ) const

Member Data Documentation

◆ keyword

QString KLFLatexSyntaxHighlighter::ParsedBlock::keyword

Definition at line 222 of file klflatexedit.h.

Referenced by operator<<(), and KLFLatexSyntaxHighlighter::refreshAll().

◆ len

int KLFLatexSyntaxHighlighter::ParsedBlock::len

Definition at line 220 of file klflatexedit.h.

Referenced by operator<<().

◆ parenisopening

bool KLFLatexSyntaxHighlighter::ParsedBlock::parenisopening

Definition at line 225 of file klflatexedit.h.

Referenced by operator<<().

◆ parenmatch

ParenMatch KLFLatexSyntaxHighlighter::ParsedBlock::parenmatch

Definition at line 224 of file klflatexedit.h.

Referenced by operator<<(), and KLFLatexSyntaxHighlighter::refreshAll().

◆ parenmodifier

QString KLFLatexSyntaxHighlighter::ParsedBlock::parenmodifier

Definition at line 227 of file klflatexedit.h.

Referenced by operator<<().

◆ parenotherpos

int KLFLatexSyntaxHighlighter::ParsedBlock::parenotherpos

Definition at line 229 of file klflatexedit.h.

Referenced by operator<<().

◆ parenSpecIndex

int KLFLatexSyntaxHighlighter::ParsedBlock::parenSpecIndex

Definition at line 226 of file klflatexedit.h.

Referenced by operator<<().

◆ parenSpecs

KLF_EXPORT KLFLatexParenSpecs KLFLatexSyntaxHighlighter::ParsedBlock::parenSpecs
static

This contains the specifications for matching parens

Definition at line 233 of file klflatexedit.h.

Referenced by KLFLatexParenSpecs::identifyModifier(), and KLFLatexSyntaxHighlighter::refreshAll().

◆ parenstr

QString KLFLatexSyntaxHighlighter::ParsedBlock::parenstr

Definition at line 228 of file klflatexedit.h.

Referenced by operator<<().

◆ pos

int KLFLatexSyntaxHighlighter::ParsedBlock::pos

Definition at line 219 of file klflatexedit.h.

Referenced by operator<<().

◆ type

Type KLFLatexSyntaxHighlighter::ParsedBlock::type

Definition at line 217 of file klflatexedit.h.

Referenced by operator<<().


The documentation for this struct was generated from the following files:

Generated by doxygen 1.8.13