]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_xdata.C
forward search in math insets. ugly. seems to work. don't ask why.
[lyx.git] / src / mathed / math_xdata.C
index 37786bbc74f0585d87edf841977e486adaf9f090..28f5d5c32e40c15a38ba710d1ff1bf29240cf669 100644 (file)
@@ -143,16 +143,6 @@ int MathXArray::dist(int x, int y) const
 }
 
 
-bool MathXArray::covers(int x, int y) const
-{
-       int const x0 = xo_;
-       int const y0 = yo_ - ascent_;
-       int const x1 = xo_ + width_;
-       int const y1 = yo_ + descent_;
-       return x >= x0 && x <= x1 && y >= y0 && y <= y1;
-}
-
-
 void MathXArray::boundingBox(int & x1, int & x2, int & y1, int & y2)
 {
        x1 = xo_;