Author: forenr
Date: Wed Sep 7 09:57:14 2011
New Revision: 39627
URL: http://www.lyx.org/trac/changeset/39627
Log:
Limit fix for bug #6063 to math insets and only when inline completion
is disabled in math. This is a backport of r39337.
Modified:
lyx-devel/branches/BRANCH_2_0_X/src/frontends/qt4/GuiCompleter.cpp
lyx-devel/branches/BRANCH_2_0_X/status.20x
Modified: lyx-devel/branches/BRANCH_2_0_X/src/frontends/qt4/GuiCompleter.cpp
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/src/frontends/qt4/GuiCompleter.cpp Wed Sep
7 08:27:54 2011 (r39626)
+++ lyx-devel/branches/BRANCH_2_0_X/src/frontends/qt4/GuiCompleter.cpp Wed Sep
7 09:57:14 2011 (r39627)
@@ -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);
Modified: lyx-devel/branches/BRANCH_2_0_X/status.20x
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/status.20x Wed Sep 7 08:27:54 2011
(r39626)
+++ lyx-devel/branches/BRANCH_2_0_X/status.20x Wed Sep 7 09:57:14 2011
(r39627)
@@ -31,6 +31,8 @@
- Updated German and Slovak user interface localization.
+- Speed up cursor movement when inline completion is enabled in math.
+
* DOCUMENTATION AND LOCALIZATION