forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.14'
Conflicts: src/plugins/qmldesigner/assetexporterplugin/componentexporter.cpp Change-Id: If742bcd843cf75cf55e07b489ecb7211f0cd9058
This commit is contained in:
@@ -3682,7 +3682,7 @@ void TextEditorWidgetPrivate::highlightSearchResults(const QTextBlock &block, co
|
||||
.toTextCharFormat(C_SEARCH_RESULT).background().color().darker(120);
|
||||
|
||||
while (idx < text.length()) {
|
||||
const QRegularExpressionMatch match = m_searchExpr.match(text, idx + 1);
|
||||
const QRegularExpressionMatch match = m_searchExpr.match(text, idx + l + 1);
|
||||
if (!match.hasMatch())
|
||||
break;
|
||||
idx = match.capturedStart();
|
||||
|
||||
Reference in New Issue
Block a user