[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2023-09-12 13:03:02 +00:00
committed by WandererFan
parent a207d11fa4
commit e92ed45df9
435 changed files with 2669 additions and 2645 deletions

View File

@@ -107,7 +107,7 @@ void RegExpDialog::performRegExp()
ui->textLabel4->setText(rx.errorString());
if (!rx.isValid()) {
rxhilighter->resethighlight();
return;// invalid expression
return; // invalid expression
}
rxhilighter->highlightMatchedText(rx);
@@ -137,7 +137,7 @@ void RegExpSyntaxHighlighter::highlightBlock(const QString& text)
setFormat(0, text.length(), regFormat);
if (regexp.pattern().isEmpty()) {
return;// empty regular expression
return; // empty regular expression
}
int pos = 0;