Pass the lookahead character to matching text.

This commit is contained in:
Roberto Raggi
2009-09-17 18:39:10 +02:00
parent 82b80b9e39
commit da4fcd22ef
3 changed files with 28 additions and 4 deletions

View File

@@ -41,7 +41,8 @@ class CPLUSPLUS_EXPORT MatchingText
public:
MatchingText();
QString insertMatchingBrace(const QTextCursor &tc, const QString &text, int *skippedChars) const;
QString insertMatchingBrace(const QTextCursor &tc, const QString &text,
const QChar &la, int *skippedChars) const;
QString insertParagraphSeparator(const QTextCursor &tc) const;
};