On 09/06/2011 02:23 PM, Enrico Forestieri wrote: > On Mon, Sep 05, 2011 at 07:52:09PM +0200, Pavel Sanda wrote: >> for...@lyx.org wrote: >>> Author: forenr >>> Date: Mon Jul 18 10:10:20 2011 >>> New Revision: 39337 >>> URL: http://www.lyx.org/trac/changeset/39337 >>> >>> Log: >>> Limit fix for bug #6063 to math insets and only when inline completion >>> is disabled in math. >>> >>> Modified: >>> lyx-devel/trunk/src/frontends/qt4/GuiCompleter.cpp >>> >>> Modified: lyx-devel/trunk/src/frontends/qt4/GuiCompleter.cpp >>> ============================================================================== >>> --- lyx-devel/trunk/src/frontends/qt4/GuiCompleter.cpp Mon Jul 18 >>> 05:25:29 2011 (r39336) >>> +++ lyx-devel/trunk/src/frontends/qt4/GuiCompleter.cpp Mon Jul 18 >>> 10:10:20 2011 (r39337) >>> @@ -311,7 +311,7 @@ >>> 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); >> Enrico, this was for branch as well? p > Yes, it must have been overlooked. Richard? > Looks good.
rh