From: Jean-Marc Lasgouttes Date: Fri, 20 Dec 2013 13:14:32 +0000 (+0100) Subject: Remove obsolete comment X-Git-Tag: 2.1.0rc1~327 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f7b0ecb64efe459244449c00fc5e05fd5bc9b7fa;p=lyx.git 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 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; }