From 4abaf35bad4b04ccf895440d1ab0478a396c984f Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Sat, 11 Jul 2009 17:53:26 +0000 Subject: [PATCH] branch: Fix bug #3706: Mathed builtin/macro expansion not performed when clicking away. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30491 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/BufferView.cpp | 1 + status.16x | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/BufferView.cpp b/src/BufferView.cpp index a56ef78989..70117c8f87 100644 --- a/src/BufferView.cpp +++ b/src/BufferView.cpp @@ -1956,6 +1956,7 @@ bool BufferView::mouseSetCursor(Cursor & cur, bool select) bool update = leftinset; if (!do_selection && !badcursor && d->cursor_.inTexted()) update |= checkDepm(cur, d->cursor_); + d->cursor_.macroModeClose(); d->cursor_.resetAnchor(); d->cursor_.setCursor(cur); diff --git a/status.16x b/status.16x index e6464bd16b..3c26de7fd4 100644 --- a/status.16x +++ b/status.16x @@ -185,6 +185,8 @@ What's new - Fix display of unknown math macros that become known after editing their name. They are now correctly expanded and not left in red (bug 5923). +- Fix display of macros when clicking away (bug 3706). + * DOCUMENTATION AND LOCALIZATION