From f7b0ecb64efe459244449c00fc5e05fd5bc9b7fa Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Fri, 20 Dec 2013 14:14:32 +0100 Subject: [PATCH] Remove obsolete comment It is not possible to make editXY const because of checkInsetHit, getPitNearY and getPitandRowNearY that modify the TextMetrics object. --- src/TextMetrics.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp index 4e70dc0b82..618c893d87 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; } -- 2.39.2