The branch, 2.0.x has been updated
       via  124bc762a735d482e12d54022008e919dff76978 (commit)
      from  4296e47d28156ab84549c53fa4dc486bd5b581e8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 124bc762a735d482e12d54022008e919dff76978
Author: Enrico Forestieri <for...@lyx.org>
Date:   Mon Apr 30 23:55:34 2012 +0200

    Fix bug #8140: Crash with math macros and input completion
    
    When clicking away in the same math inset after hitting '\', the
    cursor may be broken and all of its instances have to be fixed.
    
    (cherry picked from commit 982562179801340feff7eb108addd99ec4a05d08)

diff --git a/src/BufferView.cpp b/src/BufferView.cpp
index d8a67f2..b0d3135 100644
--- a/src/BufferView.cpp
+++ b/src/BufferView.cpp
@@ -2171,8 +2171,8 @@ void BufferView::mouseEventDispatch(FuncRequest const & 
cmd0)
 
        // Notify left insets
        if (cur != old) {
-               old.fixIfBroken();
-               bool badcursor = notifyCursorLeavesOrEnters(old, cur);
+               bool badcursor = old.fixIfBroken() | cur.fixIfBroken()
+                               | notifyCursorLeavesOrEnters(old, cur);
                if (badcursor)
                        cursor().fixIfBroken();
        }
diff --git a/status.20x b/status.20x
index 72ed28d..46bba5f 100644
--- a/status.20x
+++ b/status.20x
@@ -162,6 +162,9 @@ What's new
 
 - Fix the coloring of Quotation marks with change tracking (bug 7653).
 
+- Fix crash when clicking away in the same math inset just after hitting '\'
+  (bug 8140).
+
 
 * DOCUMENTATION AND LOCALIZATION
 

-----------------------------------------------------------------------

Summary of changes:
 src/BufferView.cpp |    4 ++--
 status.20x         |    3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to