mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
alfredo's disable anchor row patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6692 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3c1b0ea16b
commit
beed3b20ef
@ -1,3 +1,7 @@
|
||||
2003-04-01 Alfredo Braunstein <abraunst@libero.it>
|
||||
|
||||
* text2.C (setCursor): do not anchor to cursor row for the time being
|
||||
|
||||
2003-04-02 John Levon <levon@movementarian.org>
|
||||
|
||||
* LyXAction.C:
|
||||
|
@ -1734,10 +1734,17 @@ void LyXText::setCursor(LyXCursor & cur, Paragraph * par,
|
||||
cur.ix(int(x));
|
||||
} else
|
||||
cur.ix(cur.x());
|
||||
/* We take out this for the time being because 1) the redraw code is not
|
||||
prepared to this yet and 2) because some good policy has yet to be decided
|
||||
while editting: for instance how to act on rows being created/deleted
|
||||
because of DEPM.
|
||||
*/
|
||||
#if 0
|
||||
//if the cursor is in a visible row, anchor to it
|
||||
int topy = top_y();
|
||||
if (topy < y && y < topy + bv()->workHeight())
|
||||
anchor_row(row);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user