From: Tommaso Cucinotta Date: Sat, 11 Jun 2011 22:06:06 +0000 (+0000) Subject: Now the cursor is visible while at the rightmost part of a regexp inset. X-Git-Tag: 2.1.0beta1~3077 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=314f995cf2924aaf460a6a73c8580be2a39257dd;p=features.git 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. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39013 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index 7be9d7d6ed..4e83162b03 100644 --- a/src/mathed/InsetMathHull.cpp +++ b/src/mathed/InsetMathHull.cpp @@ -439,6 +439,8 @@ void InsetMathHull::metrics(MetricsInfo & mi, Dimension & dim) const 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;