Michael Gerz wrote:
[EMAIL PROTECTED] schrieb:
Modified: lyx-devel/trunk/src/mathed/InsetMathHull.C
URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/mathed/InsetMathHull.C?rev=17794 ==============================================================================
--- lyx-devel/trunk/src/mathed/InsetMathHull.C (original)
+++ lyx-devel/trunk/src/mathed/InsetMathHull.C Fri Apr 13 13:35:11 2007
@@ -1318,6 +1318,10 @@
 {
     cur.push(*this);
     left ? idxFirst(cur) : idxLast(cur);
+    // The inset formula dimension is not necessarily the same as the
+    // so we have to indicate to the BufferView that a metrics update
+    // is needed. +    cur.updateFlags(Update::Force);
 }

Abdel, your comment is incomplete.

look here:

Author: younes
Date: Fri Apr 13 13:49:58 2007
New Revision: 17795

URL: http://www.lyx.org/trac/changeset/17795
Log:
fix comment

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

Modified: lyx-devel/trunk/src/mathed/InsetMathHull.C
URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/mathed/InsetMathHull.C?rev=17795
==============================================================================
--- lyx-devel/trunk/src/mathed/InsetMathHull.C (original)
+++ lyx-devel/trunk/src/mathed/InsetMathHull.C Fri Apr 13 13:49:58 2007
@@ -1319,8 +1319,8 @@
        cur.push(*this);
        left ? idxFirst(cur) : idxLast(cur);
        // The inset formula dimension is not necessarily the same as the
-       // so we have to indicate to the BufferView that a metrics update
-       // is needed.
+       // one of the instant preview image, so we have to indicate to the
+       // BufferView that a metrics update is needed.
        cur.updateFlags(Update::Force);
 }





Reply via email to