diff options
author | Erik Verbruggen <erik.verbruggen@nokia.com> | 2010-05-28 16:23:31 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@nokia.com> | 2010-05-28 16:29:53 +0200 |
commit | 41bc5dac154fc95bb2ea69cf2df0cdff7147c4d5 (patch) | |
tree | eaf277aff96b7872dea878aebd03f36af127ace1 /src/libs/cplusplus/ASTPath.h | |
parent | 3eee397abd91d31e61c87e394c548532d3fbfb2f (diff) | |
download | qt-creator-41bc5dac154fc95bb2ea69cf2df0cdff7147c4d5.tar.gz |
Added a utility method to search by line/column.
Diffstat (limited to 'src/libs/cplusplus/ASTPath.h')
-rw-r--r-- | src/libs/cplusplus/ASTPath.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/cplusplus/ASTPath.h b/src/libs/cplusplus/ASTPath.h index e4b8347053..2b6d0cc078 100644 --- a/src/libs/cplusplus/ASTPath.h +++ b/src/libs/cplusplus/ASTPath.h @@ -53,6 +53,7 @@ public: QList<AST *> operator()(const QTextCursor &cursor) { return this->operator()(cursor.blockNumber(), cursor.columnNumber()); } + /// line and column are 0-based! QList<AST *> operator()(int line, int column); #ifdef DEBUG_AST_PATH |