Remove obsolete comment

It is not possible to make editXY const because of checkInsetHit, getPitNearY and getPitandRowNearY that modify the TextMetrics object.
This commit is contained in:
Jean-Marc Lasgouttes 2013-12-20 14:14:32 +01:00
parent 80913b36bb
commit f7b0ecb64e

View File

@ -1512,10 +1512,6 @@ Inset * TextMetrics::editXY(Cursor & cur, int x, int y,
Inset * inset = checkInsetHit(x, yy);
//lyxerr << "inset " << inset << " hit at x: " << x << " y: " << y << endl;
if (!inset) {
// Either we deconst editXY or better we move current_font
// and real_current_font to Cursor
// FIXME: what is needed now that current_font and real_current_font
// are transferred?
cur.setCurrentFont();
return 0;
}