aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2023-05-30 10:52:47 +0200
committerEike Ziller <eike.ziller@qt.io>2023-05-30 10:52:47 +0200
commite71d7bf4548ee0f8b92d03350809949d80826836 (patch)
treed0f410bd3595ece777bf08c404fa49b228cd1c83
parentaa2e8e3cb886f0be8229f69c983dac867fc09efe (diff)
parent13e9125d1d628d418a54baa1aa62ab6986280f02 (diff)
Merge remote-tracking branch 'origin/10.0' into 11.0
-rw-r--r--src/plugins/cppeditor/cpphighlighter.cpp1
-rw-r--r--src/plugins/cppeditor/testcases/highlightingtestcase.cpp2
m---------src/shared/qbs0
3 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/cpphighlighter.cpp b/src/plugins/cppeditor/cpphighlighter.cpp
index 87e36491ad..f5ef94efde 100644
--- a/src/plugins/cppeditor/cpphighlighter.cpp
+++ b/src/plugins/cppeditor/cpphighlighter.cpp
@@ -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;
}
diff --git a/src/plugins/cppeditor/testcases/highlightingtestcase.cpp b/src/plugins/cppeditor/testcases/highlightingtestcase.cpp
index dd1f9c1b3e..53ffcc1b55 100644
--- a/src/plugins/cppeditor/testcases/highlightingtestcase.cpp
+++ b/src/plugins/cppeditor/testcases/highlightingtestcase.cpp
@@ -1,7 +1,7 @@
auto func()
{
return R"(foo
- foobar
+
R"notaprefix!(
barfoobar)" R"(second)" /* comment */ R"(third)";
}
diff --git a/src/shared/qbs b/src/shared/qbs
-Subproject dc4da2ef8aaf63ab837da0aa7689a5b18e34ace
+Subproject eaeba4a45e7d95b7bb3f4fe907e862d947faf09