forked from qt-creator/qt-creator
Utils: move TextPosition/Range to textutils
Change-Id: Id94a7a96f3b0f978e94850d67eb4b8fba6c18fe2 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -850,7 +850,7 @@ private:
|
||||
static QFutureWatcher<SearchResultItems> *m_selectWatcher;
|
||||
};
|
||||
|
||||
static QTextCursor selectRange(QTextDocument *textDocument, const Search::TextRange &range,
|
||||
static QTextCursor selectRange(QTextDocument *textDocument, const Text::Range &range,
|
||||
TextEditorWidgetPrivate::SearchResult *searchResult = nullptr)
|
||||
{
|
||||
const int startLine = qMax(range.begin.line - 1, 0);
|
||||
|
||||
Reference in New Issue
Block a user