forked from qt-creator/qt-creator
Revert "Introduced a token cache for the C++ editor."
This reverts commit c2393df023.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user