mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
tiny fix (current font was not set)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8496 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
39bccdb268
commit
f13b5fb356
@ -1,3 +1,6 @@
|
||||
2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
|
||||
|
||||
* text2.C (setCursorFromCoordinates): fix font problem
|
||||
|
||||
2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
|
||||
|
||||
|
@ -1294,10 +1294,7 @@ void LyXText::setCursorFromCoordinates(LCursor & cur, int x, int y)
|
||||
bool bound = false;
|
||||
int xx = x + xo_; // getRowNearX get absolute x coords
|
||||
pos_type const pos = row.pos() + getColumnNearX(pit, row, xx, bound);
|
||||
cur.par() = parOffset(pit);
|
||||
cur.pos() = pos;
|
||||
cur.boundary() = bound;
|
||||
deleteEmptyParagraphMechanism(cur.top(), old_cursor);
|
||||
setCursor(cur, parOffset(pit), pos, true, bound);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user