On Wed, Mar 05, 2003 at 09:44:30PM +0100, Alfredo Braunstein wrote: > I'm not convinced about using a row as a reference position. Keeping a row > number is wrong (it can change with rebreaking in previous rows). > Keeping instead a row pointer (as I do now) is broken, because the row can > disappear.
Ah, you are probably correct. > I think some other 'entity' should be used as reference position. Or maybe > there's some smart way of using a row. Hopefully one day we will have a simple cursor class that is an iterator on a document, and another class that has one of those and a pixel offset (for passing mouse clicks around or something). But that's some way off I suppose. john