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
This commit is contained in:
Tommaso Cucinotta 2011-06-11 22:06:06 +00:00
parent c279ddd1b1
commit 314f995cf2

View File

@ -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;