34 virtual bool lexLine(
int line,
int& currentDocOffset );
37 virtual void lexLines(
int line,
int lineCount );
38 virtual void lexRange(
int beginOffset,
int endOffset );
42 RegExp* createEndRegExp(
RegExp* startRegExp,
const QString &endRegExpStringIn);
45 void processCaptures(
RegExp *foundRegExp,
const QMap<int,QString>* foundCaptures );
47 TextGrammarRule* findAndApplyNextGrammarRule(
int currentDocOffset,
const QString& line,
int& offsetInLine );
52 void popActiveRange();
59 QVector<MultiLineScopedTextRange*> activeMultiLineRangesRefList_;
60 QVector<MultiLineScopedTextRange*> currentMultiLineRangeList_;
61 QVector<MultiLineScopedTextRange*> closedMultiRangesRangesRefList_;
63 QVector<ScopedTextRange*> activeScopedRangesRefList_;
virtual void lexRange(int beginOffset, int endOffset)
This method is called when the given range needs to be lexed.
Definition grammartextlexer.cpp:512
GrammarTextLexer(TextDocumentScopes *scopes)
Constructs the grammar textlexer.
Definition grammartextlexer.cpp:21
virtual void textChanged(const TextBufferChange &change)
This method is called to notify the lexer some data has been changed.
Definition grammartextlexer.cpp:339
virtual void lexLines(int line, int lineCount)
This method lexes a range of line.
Definition grammartextlexer.cpp:454
This class 'defines' a single document scope.
Definition textdocumentscopes.h:254
A class for matching QStrings with the Oniguruma API We need this Regular Expression library to be ab...
Definition regexp.h:35
A base scoped text range.
Definition textdocumentscopes.h:176
a list of textscopes This class is used for single-line scopes (Todo, this needs to be optimized)
Definition textdocumentscopes.h:220
This clas represents a text buffer change and is used to pass around between events This is a sharedd...
Definition textbuffer.h:45
This class is used to 'contain' all document scope information.
Definition textdocumentscopes.h:322
This class defines a single language grammar.
Definition textgrammar.h:124
defines a single grammar rule
Definition textgrammar.h:24
TextLexer(TextDocumentScopes *scopes)
Definition textlexer.cpp:13
#define EDBEE_EXPORT
Definition exports.h:15
QT Acessibility has an issue with reporting blank lines between elements lines. defining 'WINDOWS_EMP...
Definition commentcommand.cpp:20