summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus/MatchingText.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2010-06-04 12:37:26 +0200
committerErik Verbruggen <erik.verbruggen@nokia.com>2010-06-04 12:37:26 +0200
commit424b9724d6dc4f860cfb8da17d51a715684ad94c (patch)
tree921120642920dd72762ebeef6919181130ccf4f7 /src/libs/cplusplus/MatchingText.h
parent5f749306f11dbfd31a6f740ab9b1cb108476e202 (diff)
downloadqt-creator-424b9724d6dc4f860cfb8da17d51a715684ad94c.tar.gz
Revert "Introduced a token cache for the C++ editor."
This reverts commit c2393df02332618c8cf6159d9d6f6a40041ced89.
Diffstat (limited to 'src/libs/cplusplus/MatchingText.h')
-rw-r--r--src/libs/cplusplus/MatchingText.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libs/cplusplus/MatchingText.h b/src/libs/cplusplus/MatchingText.h
index 8e42dc0f81..5a49fa927c 100644
--- a/src/libs/cplusplus/MatchingText.h
+++ b/src/libs/cplusplus/MatchingText.h
@@ -35,12 +35,11 @@
namespace CPlusPlus {
class BackwardsScanner;
-class TokenCache;
class CPLUSPLUS_EXPORT MatchingText
{
public:
- MatchingText(TokenCache *tokenCache);
+ MatchingText();
static bool shouldInsertMatchingText(const QTextCursor &tc);
static bool shouldInsertMatchingText(const QChar &lookAhead);
@@ -51,8 +50,6 @@ public:
private:
bool shouldInsertNewline(const QTextCursor &tc) const;
-
- TokenCache *_tokenCache;
};
} // end of namespace CPlusPlus