forked from qt-creator/qt-creator
Quickfix: Be more efficient when looking up token start/end positions.
This commit is contained in:
@@ -92,6 +92,7 @@ protected:
|
||||
int startOf(const CPlusPlus::AST *ast) const;
|
||||
int endOf(unsigned index) const;
|
||||
int endOf(const CPlusPlus::AST *ast) const;
|
||||
void startAndEndOf(unsigned index, int *start, int *end) const;
|
||||
|
||||
bool isCursorOn(unsigned tokenIndex) const;
|
||||
bool isCursorOn(const CPlusPlus::AST *ast) const;
|
||||
|
||||
Reference in New Issue
Block a user