diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-02-20 12:55:01 +0100 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-02-20 12:55:18 +0100 |
commit | a976385b440d08ad9c894b2acae2cba8d224510e (patch) | |
tree | e6b3f513dca82d13fa11b265fb589ecc715c8408 /src/libs/cplusplus | |
parent | 5205d86aa26db832909c16cd066af2f43130cc92 (diff) | |
download | qt-creator-a976385b440d08ad9c894b2acae2cba8d224510e.tar.gz |
Code completion of doxygen tags.
Diffstat (limited to 'src/libs/cplusplus')
-rw-r--r-- | src/libs/cplusplus/TokenUnderCursor.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libs/cplusplus/TokenUnderCursor.cpp b/src/libs/cplusplus/TokenUnderCursor.cpp index d103a0307f..0caf324076 100644 --- a/src/libs/cplusplus/TokenUnderCursor.cpp +++ b/src/libs/cplusplus/TokenUnderCursor.cpp @@ -49,6 +49,9 @@ TokenUnderCursor::~TokenUnderCursor() SimpleToken TokenUnderCursor::operator()(const QTextCursor &cursor) const { SimpleLexer tokenize; + tokenize.setObjCEnabled(true); + tokenize.setSkipComments(false); + QTextBlock block = cursor.block(); int column = cursor.columnNumber(); |