On Mon, Oct 20, 2003 at 03:07:10PM +0200, Lars Gullik Bj�nnes wrote:
> Hmm... but what has depth to do wiht right margin? delete the last
> three lines... unless you can see obvious bugs already present.
>
> What does CVS Blame say? :-)
(poenitz 17-Oct-03): int LyXText::rightMargin(Paragraph const & par,
(larsbj 28-Aug-03): Buffer const & buf, Row const &) const
(larsbj 27-Sep-99): {
(leeming 09-Sep-03): LyXTextClass const & tclass =
buf.params().getLyXTextClass();
(poenitz 17-Oct-03): LyXLayout_ptr const & layout = par.layout();
(larsbj 21-Mar-02):
(poenitz 29-Jul-03): return PAPER_MARGIN
(levon 24-May-02): + font_metrics::signedWidth(tclass.rightmargin(),
(lasgoutt 16-Oct-01): tclass.defaultfont());
(poenitz 29-Jul-03): + font_metrics::signedWidth(layout->rightmargin,
(larsbj 24-Jun-02): tclass.defaultfont())
(poenitz 17-Oct-03): * 4 / (par.getDepth() +
(larsbj 27-Sep-99): }
The usual suspects ;-)
Andre'