Re: r20081 - /lyx-devel/trunk/src/TextMetrics.cpp

2007-09-06 Thread Alfredo Braunstein
Abdelrazak Younes wrote: > Yes, this was just a short-term fix. The whole method needs to be > cleaned up (see FIXME). You are very welcome to do it ;-) -// only used for inset right now. should also be used for main text +// FIXME: only take care of one row! I've seen the fixme, but it's a bit

Re: r20081 - /lyx-devel/trunk/src/TextMetrics.cpp

2007-09-06 Thread Abdelrazak Younes
Alfredo Braunstein wrote: [EMAIL PROTECTED] wrote: - ParagraphMetrics const & pm1 = par_metrics_[beg.pit()]; - ParagraphMetrics const & pm2 = par_metrics_[end.pit()]; + ParagraphMetrics const & pm1 = parMetrics(beg.pit()); + ParagraphMetrics const & pm2 = parMetrics(end.

Re: r20081 - /lyx-devel/trunk/src/TextMetrics.cpp

2007-09-06 Thread Alfredo Braunstein
[EMAIL PROTECTED] wrote: > -   ParagraphMetrics const & pm1 = par_metrics_[beg.pit()]; > -   ParagraphMetrics const & pm2 = par_metrics_[end.pit()]; > +   ParagraphMetrics const & pm1 = parMetrics(beg.pit()); > +   ParagraphMetrics const & pm2 = parMetrics(end.pit()); > Row const &