forked from qt-creator/qt-creator
QuickFix: rename contains->isCursorOn, remove selectNode,selectToken
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
This commit is contained in:
@@ -77,16 +77,14 @@ public:
|
||||
|
||||
protected:
|
||||
const CPlusPlus::Token &tokenAt(unsigned index) const;
|
||||
QTextCursor selectToken(unsigned index) const;
|
||||
QTextCursor selectNode(CPlusPlus::AST *ast) const;
|
||||
|
||||
int startOf(unsigned index) const;
|
||||
int startOf(const CPlusPlus::AST *ast) const;
|
||||
int endOf(unsigned index) const;
|
||||
int endOf(const CPlusPlus::AST *ast) const;
|
||||
|
||||
bool contains(unsigned tokenIndex) const;
|
||||
bool contains(const CPlusPlus::AST *ast) const;
|
||||
bool isCursorOn(unsigned tokenIndex) const;
|
||||
bool isCursorOn(const CPlusPlus::AST *ast) const;
|
||||
|
||||
void move(int start, int end, int to);
|
||||
void move(unsigned tokenIndex, int to);
|
||||
|
||||
Reference in New Issue
Block a user