+2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
+
+ * text.C (leftMargin): do not add identation to display() style
+ insets, because they are always centered (bug 1293).
+
2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
&& !isFirstInSequence(pit, pars_)))
&& align == LYX_ALIGN_BLOCK
&& !par.params().noindent()
+ // display style insets are always centered, omit indentation
+ && !(!par.empty()
+ && par.isInset(pos)
+ && par.getInset(pos)->display())
// in charstyles, tabulars and ert paragraphs are never indented!
&& ((par.ownerCode() != InsetBase::TEXT_CODE || isMainText())
&& par.ownerCode() != InsetBase::ERT_CODE