Merge remote-tracking branch 'origin/qds/dev'

Change-Id: I5d593fc74785958886453dc0b452c25356a8c65f
This commit is contained in:
Tim Jenssen
2024-01-18 12:12:51 +01:00
242 changed files with 6226 additions and 870 deletions

View File

@@ -389,6 +389,7 @@ Utils::ChangeSet convertReplacements(const QTextDocument *doc,
.size();
QString replacementText = QString::fromStdString(replacement.getReplacementText().str());
replacementText.replace("\r", "");
auto sameCharAt = [&](int replacementOffset) {
if (replacementText.size() <= replacementOffset || replacementOffset < 0)
return false;