Am 12.09.2010 08:47, schrieb Abdelrazak Younes:

or do you have to transform this also from InsetCommandParams to InsetWidgets?

InsetCommandParams is just a set of parameters...

InsetLine still contains some probably unused InsetCommand code. I'm not sure 
what to remove.

Besides this, there is one real problem left:

To be able to draw the lines on screen correctly, I need to access mi.base.textwidth in RowPainter::paintInset. I tried this with the attached patch. But then the compilation staops at line 171 of InsetText.h. I can add MetricsInfo also to Inset.h but that means that I would have to adapt every math mand text inset accordingly. Isn't there a simpler solution to get the metrics info in RowPainter::paintInset or at least in InsetLine::draw?
It would also help me to find the code where the MetricsBase calculates the 
textwidth.

Every an notion and tip is highly recommended!

thanks and regards
Uwe

Reply via email to