forked from qt-creator/qt-creator
Editor: fix typo
Change-Id: I9abb2e3abb44753a86445d2aea37c97b5beeeb56 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -5108,7 +5108,7 @@ void TextEditorWidgetPrivate::highlightSearchResults(const QTextBlock &block, co
|
|||||||
if (!m_find->inScope(start, end))
|
if (!m_find->inScope(start, end))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// check if the result is inside the visibale area for long blocks
|
// check if the result is inside the visible area for long blocks
|
||||||
const QTextLine &startLine = block.layout()->lineForTextPosition(idx);
|
const QTextLine &startLine = block.layout()->lineForTextPosition(idx);
|
||||||
const QTextLine &endLine = block.layout()->lineForTextPosition(idx + l);
|
const QTextLine &endLine = block.layout()->lineForTextPosition(idx + l);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user