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.
Be warned all that qt3 and gtk will not compile for a while. I am not
really interested in doing qt3 as I think it is a waste of time but if
someone is willing to do the required change, please be my guest.
I'll have a look at gtk but I can't promise anything.
Abdel.