mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
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:
parent
80913b36bb
commit
f7b0ecb64e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user