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

This commit is contained in:
The Qt Project
2023-05-30 09:08:27 +00: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)";
}