diff --git a/src/ChangeLog b/src/ChangeLog index 855f795721..9260d72555 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2003-04-01 Alfredo Braunstein + + * text2.C (setCursor): do not anchor to cursor row for the time being + 2003-04-02 John Levon * LyXAction.C: diff --git a/src/text2.C b/src/text2.C index 3202c54f24..37f1bd7500 100644 --- a/src/text2.C +++ b/src/text2.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 }