commit f7b0ecb64efe459244449c00fc5e05fd5bc9b7fa
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Fri Dec 20 14:14:32 2013 +0100
Remove obsolete comment
It is not possible to make editXY const because of checkInsetHit,
getPitNearY and getPitandRowNearY that modify the TextMetrics object.
diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp
index 4e70dc0..618c893 100644
--- a/src/TextMetrics.cpp
+++ b/src/TextMetrics.cpp
@@ -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;
}