diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2023-01-24 17:50:49 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2023-01-25 09:27:48 +0000 |
commit | 5fcf6fc5a47565d830cc7923c1ddf1b81d7a006c (patch) | |
tree | 6a56df311593d71602f1d4d94edf3fd94759f054 /src/plugins/cppeditor/semantichighlighter.cpp | |
parent | f74cb26598bd4bd1858faaeaeb3c9a60da401c44 (diff) |
CppEditor: Add more details to soft assert
Change-Id: I9b95d212344decc82cda20608e0a1166ab679754
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'src/plugins/cppeditor/semantichighlighter.cpp')
-rw-r--r-- | src/plugins/cppeditor/semantichighlighter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); |