Limit fix for bug #6063 to math insets and only when inline completion

is disabled in math. This is a backport of r39337.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39627 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2011-09-07 07:57:14 +00:00
parent aa329ae1bd
commit beb6d505de
2 changed files with 3 additions and 1 deletions

View File

@ -311,7 +311,7 @@ void GuiCompleter::updateVisibility(Cursor & cur, bool start, bool keep, bool cu
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);

View File

@ -31,6 +31,8 @@ What's new
- Updated German and Slovak user interface localization.
- Speed up cursor movement when inline completion is enabled in math.
* DOCUMENTATION AND LOCALIZATION