"Vincent van Ravesteijn - TNW" <v.f.vanraveste...@tudelft.nl> writes:
> Paragraph has a member function setBuffer(Buffer & b) which sets the
> buffer member of all Insets. Paragraph itself has no Buffer member
> whatsoever. I'd think that if something would be related to the buffer,
> a paragraph would be one of the closest.
>
> Is there a reason for the abundance of a Paragraph::buffer_ member ?

absence?

> Now, there are 20 functions having a Buffer or BufferParams parameter.

This can be solved right now by using owner().buffer(). And yes, I think
it would be very useful. But at the same time, I think some of the usage
of BufferParams (for language in moveItem(), for example, is bogus). We
should not use the fact that buffer information is accessible for using
it in cases where it is not needed.

JMarc

Reply via email to