From beed3b20efd54e6b331ccd0a46fe15a97bc875e5 Mon Sep 17 00:00:00 2001 From: John Levon Date: Wed, 2 Apr 2003 22:45:56 +0000 Subject: [PATCH] alfredo's disable anchor row patch git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6692 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 4 ++++ src/text2.C | 7 +++++++ 2 files changed, 11 insertions(+) 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 } -- 2.39.2