On Monday 20 May 2002 8:27 pm, Edwin Leuven wrote:
> > Ed, why have you given the controller all these set/get methods? Wouldn't
> > it have been easier to just provide
> >
> > ParagraphParameters & ControlParagraph::params()
> > {
> >     lyx::Assert(pp_.get());
> >     return *pp_;
> > }
> >
> > Or am I mising something?
>
> I actually thought about doing that but then I saw ControlCharacter so I
> ended up creating all these set 'n get methods...I probably missed
> something...

There is no one single Parameter struct in ControlCharacter, so the set and 
get methods were the easiest way to do things there. Here though, you're just 
making life more difficult for yourself.

> Shall I change it?

Why not. It'll only take 5 minutes.
Angus

Reply via email to