]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathData.cpp
* the old cursor is stored before dispatch and then used after moving
[lyx.git] / src / mathed / MathData.cpp
index 8e1deaba17cbf39dd123db07cb70cead6290b5d8..a911cc839aec0a2da88fa620828ce2278e240140 100644 (file)
@@ -310,8 +310,6 @@ void MathData::draw(PainterInfo & pi, int x, int y) const
                || x >= bv. workWidth())
                return;
 
-               
-
        for (size_t i = 0, n = size(); i != n; ++i) {
                MathAtom const & at = operator[](i);
 #if 0
@@ -333,10 +331,7 @@ void MathData::draw(PainterInfo & pi, int x, int y) const
 #endif
                bv.coordCache().insets().add(at.nucleus(), x, y);
                at->drawSelection(pi, x, y);
-               at->setRedrawBackground(false);
-               lyxerr << "selection draw " << x << " " << y << " " << at->redrawBackground() << std::endl;
                at->draw(pi, x, y);
-               //at->setRedrawBackground(true);
                x += at->width();
        }
 }