On Sun, Jul 17, 2011 at 06:49:43PM +0800, John McCabe-Dansted wrote:
> It seems that this code should only be called if the math inset has
> actually been modified, but that it is being called constantly, even
> on cursor movement outside the math inset.
Does the attached patch help? However, I don't see any difference even
reverting r30497.
--
Enrico
Index: src/frontends/qt4/GuiCompleter.cpp
===================================================================
--- src/frontends/qt4/GuiCompleter.cpp (revision 39333)
+++ src/frontends/qt4/GuiCompleter.cpp (working copy)
@@ -311,7 +311,7 @@ void GuiCompleter::updateVisibility(Curs
if (!inlineVisible() && possibleInlineState && start
&& cur.inset().automaticInlineCompletion())
inline_timer_.start(int(lyxrc.completion_inline_delay * 1000));
- else {
+ else if (cur.inMathed() && !lyxrc.completion_inline_math) {
// no inline completion, hence a metrics update is needed
if (!(cur.result().screenUpdate() & Update::Force))
cur.screenUpdateFlags(cur.result().screenUpdate() |
Update::SinglePar);