forked from qt-creator/qt-creator
TextEditor: Fix typo in a TextDocumentLayout function
Change-Id: I17153d9bfe9820f3ccc88f54bce1d494a522be33 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -193,7 +193,7 @@ void DiffAndLogHighlighter::highlightBlock(const QString &text)
|
||||
TextEditor::TextBlockUserData *data =
|
||||
TextEditor::TextDocumentLayout::userData(currentBlock());
|
||||
QTC_ASSERT(data, return; );
|
||||
if (!TextEditor::TextDocumentLayout::testUserData(currentBlock().previous()))
|
||||
if (!TextEditor::TextDocumentLayout::textUserData(currentBlock().previous()))
|
||||
d->m_foldingState = Internal::StartOfFile;
|
||||
|
||||
switch (d->m_foldingState) {
|
||||
|
||||
Reference in New Issue
Block a user