Extending Qt Creator Manual | MatchingText

Extending Qt Creator Manual 4.4.0

# MatchingText Class

(CPlusPlus::MatchingText)

- List of all members, including inherited members

## Static Public Members

bool | contextAllowsAutoParentheses(const QTextCursor &cursor, const QString &textToInsert, IsNextBlockDeeperIndented isNextIndented = IsNextBlockDeeperIndented())
bool | contextAllowsAutoQuotes(const QTextCursor &cursor, const QString &textToInsert)
bool | contextAllowsElectricCharacters(const QTextCursor &cursor)
QString | insertMatchingBrace(const QTextCursor &tc, const QString &text, QChar lookAhead, bool skipChars, int *skippedChars)
QString | insertMatchingQuote(const QTextCursor &tc, const QString &text, QChar lookAhead, bool skipChars, int *skippedChars)
QString | insertParagraphSeparator(const QTextCursor &tc)
bool | isInCommentHelper(const QTextCursor &currsor, Token *retToken = 0)
bool | shouldInsertMatchingText(const QTextCursor &tc)
bool | shouldInsertMatchingText(QChar lookAhead)
CPlusPlus::Kind | stringKindAtCursor(const QTextCursor &cursor)

## Member Function Documentation

### `[static]` bool MatchingText::contextAllowsAutoParentheses(const QTextCursor &cursor, const QString &textToInsert, IsNextBlockDeeperIndented isNextIndented = IsNextBlockDeeperIndented())

### `[static]` bool MatchingText::contextAllowsAutoQuotes(const QTextCursor &cursor, const QString &textToInsert)

### `[static]` bool MatchingText::contextAllowsElectricCharacters(const QTextCursor &cursor)

### `[static]` QString MatchingText::insertMatchingBrace(const QTextCursor &tc, const QString &text, QChar lookAhead, bool skipChars, int *skippedChars)

### `[static]` QString MatchingText::insertMatchingQuote(const QTextCursor &tc, const QString &text, QChar lookAhead, bool skipChars, int *skippedChars)

### `[static]` QString MatchingText::insertParagraphSeparator(const QTextCursor &tc)

### `[static]` bool MatchingText::isInCommentHelper(const QTextCursor &currsor, Token *retToken = 0)

### `[static]` bool MatchingText::shouldInsertMatchingText(const QTextCursor &tc)

### `[static]` bool MatchingText::shouldInsertMatchingText(QChar lookAhead)

### `[static]` CPlusPlus::Kind MatchingText::stringKindAtCursor(const QTextCursor &cursor)