Author: tommaso
Date: Sun Jun 12 00:06:06 2011
New Revision: 39013
URL: http://www.lyx.org/trac/changeset/39013

Log:
Now the cursor is visible while at the rightmost part of a regexp inset.
Fixing issue 2. reported at: 
http://permalink.gmane.org/gmane.editors.lyx.devel/136992.

Modified:
   lyx-devel/trunk/src/mathed/InsetMathHull.cpp

Modified: lyx-devel/trunk/src/mathed/InsetMathHull.cpp
==============================================================================
--- lyx-devel/trunk/src/mathed/InsetMathHull.cpp        Sat Jun 11 22:20:22 
2011        (r39012)
+++ lyx-devel/trunk/src/mathed/InsetMathHull.cpp        Sun Jun 12 00:06:06 
2011        (r39013)
@@ -439,6 +439,8 @@
                        dim.wid += 30 + l;
        }
 
+       if (type_ == hullRegexp)
+               dim.wid += 2;
        // make it at least as high as the current font
        int asc = 0;
        int des = 0;

Reply via email to