Remove all the synthesized characters when matching curly braces

This commit is contained in:
Roberto Raggi
2009-09-21 18:19:09 +02:00
parent 29f03c7526
commit b9ce92ec4d
3 changed files with 32 additions and 16 deletions

View File

@@ -41,6 +41,9 @@ class CPLUSPLUS_EXPORT MatchingText
public:
MatchingText();
static bool shouldInsertMatchingText(const QTextCursor &tc);
static bool shouldInsertMatchingText(const QChar &lookAhead);
QString insertMatchingBrace(const QTextCursor &tc, const QString &text,
const QChar &la, int *skippedChars) const;
QString insertParagraphSeparator(const QTextCursor &tc) const;