On Fri, Nov 28, 2003 at 01:33:53PM +0000, Angus Leeming wrote:
> Andre Poenitz wrote:
> 
> > 
> > [We had discussed this already once, but as this is 'fundamental' I
> > thought we'd better agree explicitly on it ;-)]
> > 
> > This replaces the LyXText 'semi member' of BufferView by a real
> > LyXText member of Buffer.
> 
> [snip...]
> 
> > Comments?
> 
> This (below) seems fundamentally wrong. If the LyXText needs to know 
> the width of the WorkArea, then it isn't a Buffer property at all.
> Of course, this maybe the 'prepares for' bit ;-)

There are, indeed, still row cache related parts 'in' the LyXText, so
LyXText is not (yet) the 'ParagraphList data & method' kind of class I'd
like to have in the end.

[The 'elements' are, of course, Paragraphs::rows itself, and a few
bits and pieces all over the place. textwidth_ belongs in this
category.]

[I still think we can get away with 'draw on demand' in the end so the
row cache could completely die...]

Andre'

Reply via email to