Merge remote-tracking branch 'origin/10.0' into 11.0

Change-Id: I110bc26f4469093d262a77c27623ad1dddd1b7c1
This commit is contained in:
Eike Ziller
2023-05-30 10:52:47 +02:00
3 changed files with 3 additions and 2 deletions

View File

@@ -76,6 +76,7 @@ void CppHighlighter::highlightBlock(const QString &text)
setFormat(0, text.length(), formatForCategory(C_VISUAL_WHITESPACE));
}
TextDocumentLayout::setFoldingIndent(currentBlock(), foldingIndent);
TextDocumentLayout::setExpectedRawStringSuffix(currentBlock(), inheritedRawStringSuffix);
return;
}

View File

@@ -1,7 +1,7 @@
auto func()
{
return R"(foo
foobar
R"notaprefix!(
barfoobar)" R"(second)" /* comment */ R"(third)";
}