Re: [patch] encapsulate LyXText::cursor

2004-01-13 Thread Andre Poenitz
On Tue, Jan 13, 2004 at 11:23:08AM +0100, Alfredo Braunstein wrote: > Andre Poenitz wrote: > > > This is 'large' but mostly purely mechanical: rename > > TextCursor::cursor to cursor_ and provide accessot functions. > > Same for the selection anchor. > > Nice, I was also thinking about doing some

Re: [patch] encapsulate LyXText::cursor

2004-01-13 Thread Alfredo Braunstein
Andre Poenitz wrote: > This is 'large' but mostly purely mechanical: rename > TextCursor::cursor to cursor_ and provide accessot functions. > Same for the selection anchor. Nice, I was also thinking about doing something like that. > The idea is to encapsulate the cursor accesses from within Ly

[patch] encapsulate LyXText::cursor

2004-01-13 Thread Andre Poenitz
This is 'large' but mostly purely mechanical: rename TextCursor::cursor to cursor_ and provide accessot functions. Same for the selection anchor. The idea is to encapsulate the cursor accesses from within LyXText to make the shift to the global cursor easier. Incidentilayy, this also fixes a bu