mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +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);
|
Inset * inset = checkInsetHit(x, yy);
|
||||||
//lyxerr << "inset " << inset << " hit at x: " << x << " y: " << y << endl;
|
//lyxerr << "inset " << inset << " hit at x: " << x << " y: " << y << endl;
|
||||||
if (!inset) {
|
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();
|
cur.setCurrentFont();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user