On Sat, Oct 07, 2006 at 06:07:26PM +0200, Abdelrazak Younes wrote: > Abdelrazak Younes wrote: > >Andre Poenitz wrote: > >> > >>I think I'd prefer something like > >> > >> + x_ += theFontMetrics(font).width(&str[0], str.size()); > >> > >>Going 'optically' through four layers is not adding clarity. > > > >I can also provide this helper function if you want, no problem. But I > >guess that's not what you mean. > > I am going to commit the patch now "as is" but I will do the above > change if you confirm me that that's what you want. I can also provide > helper functions like this one for bufferList and LyXFunc.
I want as few->indiretions.as_PoSiBBLe.when()->calling().a(simple)[function]. When helper functions can reduces the clutter I prfer to use them. Andre'