Added the helper class MatchingText and use it to automagically insert text for curly braces.

This commit is contained in:
Roberto Raggi
2009-09-17 15:44:54 +02:00
parent 97df3b6cca
commit dfa6be721d
8 changed files with 273 additions and 58 deletions

View File

@@ -54,7 +54,6 @@ public:
int startOfFunctionCall(const QTextCursor &cursor);
private:
int startOfMatchingBrace(BackwardsScanner &tk, int index);
int startOfExpression(BackwardsScanner &tk, int index);
int previousBlockState(const QTextBlock &block);
bool isAccessToken(const SimpleToken &tk);