Commit 4088fc82 authored by Christian Kamm's avatar Christian Kamm
Browse files

Find: Increase delay between search highlight updates.

Currently when you type quickly in the current-file find text edit
it may feel slow because the highlights are updated for each keystroke.

This change increases the minimal delay between highlight updates from
10 ms to 50 ms. That means the delay is still barely noticeable, but
changing the search text stops feeling sluggish.

Change-Id: I41cf2a3282bdbd81afb6f6afb84d52fca16dd184

Reviewed-by: default avatarLeandro T. C. Melo <>
parent caefc206
......@@ -4761,7 +4761,7 @@ void BaseTextEditorWidget::highlightSearchResults(const QString &txt, Find::Find
Qt::CaseSensitive : Qt::CaseInsensitive);
d->m_findFlags = findFlags;
int BaseTextEditorWidget::verticalBlockSelectionFirstColumn() const
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment