forked from qt-creator/qt-creator
Remove all the synthesized characters when matching curly braces
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user