From 5fcf6fc5a47565d830cc7923c1ddf1b81d7a006c Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Tue, 24 Jan 2023 17:50:49 +0100 Subject: CppEditor: Add more details to soft assert Change-Id: I9b95d212344decc82cda20608e0a1166ab679754 Reviewed-by: hjk Reviewed-by: Qt CI Bot Reviewed-by: --- src/plugins/cppeditor/semantichighlighter.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/cppeditor/semantichighlighter.cpp') diff --git a/src/plugins/cppeditor/semantichighlighter.cpp b/src/plugins/cppeditor/semantichighlighter.cpp index 79ecd18ceb..4c3c40967d 100644 --- a/src/plugins/cppeditor/semantichighlighter.cpp +++ b/src/plugins/cppeditor/semantichighlighter.cpp @@ -178,6 +178,7 @@ void SemanticHighlighter::onHighlighterResultAvailable(int from, int to) for (QTextBlock block = firstBlockForResult; block != endBlock; block = block.next()) { QTC_ASSERT(block.isValid(), qDebug() << from << to << i << result.line << result.column + << result.kind << result.textStyles.mainStyle << firstBlockForResult.blockNumber() << firstBlockForResult.position() << lastBlockForResult.blockNumber() << lastBlockForResult.position(); break); -- cgit v1.2.3