]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inset.C
some reindentation, revert workarea xpos++, constify, remove all traces of LyXParagra...
[lyx.git] / src / insets / inset.C
index bae82b6f9c130d8345b7fea29754c3323826f386..bb97e2bc10fbf8ad98e0e13e6fbf0c155946dce6 100644 (file)
@@ -181,6 +181,7 @@ void UpdatableInset::scroll(BufferView * bv, float s) const
        if ((tmp_top_x + scx + width(bv, font)) < (workW / 2)) {
                scx += (workW / 2) - (tmp_top_x + scx + width(bv, font));
        }
+
        // bv->updateInset(const_cast<UpdatableInset *>(this), false);
 }
 
@@ -204,7 +205,7 @@ void UpdatableInset::scroll(BufferView * bv, int offset) const
                        scx += offset;
                }
        }
-       // bv->updateInset(const_cast<UpdatableInset *>(this), false);
+//     bv->updateInset(const_cast<UpdatableInset *>(this), false);
 }