summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-02-20 12:55:01 +0100
committerRoberto Raggi <roberto.raggi@nokia.com>2009-02-20 12:55:18 +0100
commita976385b440d08ad9c894b2acae2cba8d224510e (patch)
treee6b3f513dca82d13fa11b265fb589ecc715c8408 /src/libs/cplusplus
parent5205d86aa26db832909c16cd066af2f43130cc92 (diff)
downloadqt-creator-a976385b440d08ad9c894b2acae2cba8d224510e.tar.gz
Code completion of doxygen tags.
Diffstat (limited to 'src/libs/cplusplus')
-rw-r--r--src/libs/cplusplus/TokenUnderCursor.cpp3
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();