On Friday 09 August 2002 3:42 pm, Andre Poenitz wrote: > On Fri, Aug 09, 2002 at 02:07:04PM +0100, Angus Leeming wrote: > > Look what I dug out of my mailbox. Did anything ever come of this? > > Nothing that I am aware of. > > And I am still undecided whether this "regrouping of functionailty" is > worthwhile...
I guess that that depends on what you think that a Buffer, or a Paragraph or indeed a TextInset should provide. It seems to me that Buffer and Paragraph are horrible beasts because they do too much. If they became little more than dumn containers and provided the outside world with decent iterators, then the outside world could do far more. Spellcheck, for example. Your argument about rows and cols would be stronger if we only tried to do one thing with each inset. Instead, however, we try and do many, many things, to the point where One Thing, One File starts to be at least an attractive alternative to One Class, One File I ask myself how complicated is the concept of a Paragraph and then I ask myself how well I understand (even, how often have I ventured inside!) the current Paragraph code? The answers, invariably, start with "Not very"! Angus