Re: anchor_row

2003-08-15 Thread Andre Poenitz
t y = newy; - ParagraphList::iterator dummypit; - anchor_row_ = getRowNearY(y, dummypit); - anchor_row_offset_ = newy - y; - lyxerr[Debug::GUI] << "changing reference to row: " << &*anchor_row_ - << "

Re: anchor_row

2003-08-15 Thread Andre Poenitz
On Fri, Aug 15, 2003 at 03:16:50PM +0100, John Levon wrote: > On Fri, Aug 15, 2003 at 04:12:43PM +0200, Alfredo Braunstein wrote: > > > Needless to say, I don't agree with > > > > - RowList::iterator anchor_row_; > > You have to evangelise/explain to Andre. I am happy to learn about it.

Re: anchor_row

2003-08-15 Thread John Levon
On Fri, Aug 15, 2003 at 04:12:43PM +0200, Alfredo Braunstein wrote: > Needless to say, I don't agree with > > - RowList::iterator anchor_row_; You have to evangelise/explain to Andre. john -- Khendon's Law: If the same point is made twice by the same person, the thread is over.

Re: anchor_row

2003-08-15 Thread Andre Poenitz
On Fri, Aug 15, 2003 at 04:12:43PM +0200, Alfredo Braunstein wrote: > Needless to say, I don't agree with > > - RowList::iterator anchor_row_; If you tell me what it was supposed to do I'll happily re-implement it on top of the now split rowlist. Andre' -- Those who desire to give up Fr

anchor_row

2003-08-15 Thread Alfredo Braunstein
Needless to say, I don't agree with - RowList::iterator anchor_row_; Alfredo

anchor_row

2003-08-15 Thread Andre Poenitz
Why is this needed at all? Wouldn't a 'y offset from document start' suffice? I'd even guess scrolling would be much smoother ... Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both.

Re: Dubious anchor_row ...

2003-04-01 Thread Alfredo Braunstein
John Levon wrote: > Well, I know we're disabling it, but Alfredo, did you realise that your > choice of where to the put the anchor_row() call is dubious ? We have Yes. ;) > a number of actual cursors other than the one the user sees (e.g. > selection.end), and we use that

Dubious anchor_row ...

2003-04-01 Thread John Levon
Well, I know we're disabling it, but Alfredo, did you realise that your choice of where to the put the anchor_row() call is dubious ? We have a number of actual cursors other than the one the user sees (e.g. selection.end), and we use that setCursor(cursor, par, pos) call on cursors