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
This commit is contained in:
Vincent van Ravesteijn 2009-07-11 17:53:26 +00:00
parent 78fde5d4f8
commit 4abaf35bad
2 changed files with 3 additions and 0 deletions

View File

@ -1956,6 +1956,7 @@ bool BufferView::mouseSetCursor(Cursor & cur, bool select)
bool update = leftinset; bool update = leftinset;
if (!do_selection && !badcursor && d->cursor_.inTexted()) if (!do_selection && !badcursor && d->cursor_.inTexted())
update |= checkDepm(cur, d->cursor_); update |= checkDepm(cur, d->cursor_);
d->cursor_.macroModeClose();
d->cursor_.resetAnchor(); d->cursor_.resetAnchor();
d->cursor_.setCursor(cur); d->cursor_.setCursor(cur);

View File

@ -185,6 +185,8 @@ What's new
- Fix display of unknown math macros that become known after editing their - 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). 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 * DOCUMENTATION AND LOCALIZATION