diff options
Diffstat (limited to 'src/plugins/glsleditor/glslautocompleter.cpp')
-rw-r--r-- | src/plugins/glsleditor/glslautocompleter.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/plugins/glsleditor/glslautocompleter.cpp b/src/plugins/glsleditor/glslautocompleter.cpp index e0ff3df2e84..cf19c7310e8 100644 --- a/src/plugins/glsleditor/glslautocompleter.cpp +++ b/src/plugins/glsleditor/glslautocompleter.cpp @@ -55,15 +55,17 @@ bool GlslCompleter::isInComment(const QTextCursor &cursor) const } QString GlslCompleter::insertMatchingBrace(const QTextCursor &cursor, const QString &text, - QChar lookAhead, int *skippedChars) const + QChar lookAhead, bool skipChars, int *skippedChars) const { - return CPlusPlus::MatchingText::insertMatchingBrace(cursor, text, lookAhead, skippedChars); + return CPlusPlus::MatchingText::insertMatchingBrace(cursor, text, lookAhead, + skipChars, skippedChars); } QString GlslCompleter::insertMatchingQuote(const QTextCursor &cursor, const QString &text, - QChar lookAhead, int *skippedChars) const + QChar lookAhead, bool skipChars, int *skippedChars) const { - return CPlusPlus::MatchingText::insertMatchingQuote(cursor, text, lookAhead, skippedChars); + return CPlusPlus::MatchingText::insertMatchingQuote(cursor, text, lookAhead, + skipChars, skippedChars); } QString GlslCompleter::insertParagraphSeparator(const QTextCursor &cursor) const |