[PATCH 7/8] SymbolView: Reduce flicker of view in tree mode when edit text
loh.tar
loh.tar at googlemail.com
Sun Jul 22 14:06:16 BST 2018
...by increasing update delay timer from 500ms->2s
This affect of course not only the tree mode, but there was the flicker
pretty annoying. I think this noticeable delay is acceptable, at least
much more than these flickering
---
addons/symbolviewer/plugin_katesymbolviewer.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/addons/symbolviewer/plugin_katesymbolviewer.cpp b/addons/symbolviewer/plugin_katesymbolviewer.cpp
index 0994b1af3..0c9a0e9b9 100644
--- a/addons/symbolviewer/plugin_katesymbolviewer.cpp
+++ b/addons/symbolviewer/plugin_katesymbolviewer.cpp
@@ -215,7 +215,7 @@ void KatePluginSymbolViewerView::slotDocChanged()
void KatePluginSymbolViewerView::slotDocEdited()
{
m_currItemTimer.stop(); // Avoid unneeded update
- m_updateTimer.start(500);
+ m_updateTimer.start(2000);
}
void KatePluginSymbolViewerView::cursorPositionChanged()
--
2.18.0
More information about the KWrite-Devel
mailing list