提交 5673cd24 编写于 作者: V visualfc

litefind: file search replace repain

上级 8a597e34
......@@ -299,7 +299,15 @@ void FileSearchManager::doReplace(const QString &text, const QList<Find::SearchR
m_searchResultWidget->addResults(items,Find::AddOrdered,true);
}
m_liteApp->editorManager()->saveAllEditors(false);
LiteApi::IEditor *edit = m_liteApp->editorManager()->currentEditor();
if (edit) {
QPlainTextEdit *ed = LiteApi::getPlainTextEdit(edit);
if (ed) {
ed->repaint();
}
}
m_searchResultWidget->setRevertMode(text,m_currentSearch->searchText());
m_searchResultWidget->repaint();
}
void FileSearchManager::searchTextChanged(const QString &text)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册