Fix bug 1764 (parindent use)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9893 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Martin Vermeer 2005-05-01 16:22:48 +00:00
parent 6d5b9d7791
commit ccec9da254
2 changed files with 8 additions and 3 deletions

View File

@ -1,7 +1,12 @@
2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
* text.C (leftMargin): Fix the parindent use bug (1764)
by dirty trick
2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
* lyxlayout.C (Read): transform underscores to spaces in CopyStyle
argument.
* lyxlayout.C (Read): transform underscores to spaces in CopyStyle
argument.
2005-04-25 Angus Leeming <leeming@lyx.org>

View File

@ -591,7 +591,7 @@ int LyXText::leftMargin(pit_type const pit, pos_type const pos) const
&& align == LYX_ALIGN_BLOCK
&& !par.params().noindent()
// in charstyles, tabulars and ert paragraphs are never indented!
&& (par.ownerCode() != InsetBase::TEXT_CODE
&& ((par.ownerCode() != InsetBase::TEXT_CODE || isMainText())
&& par.ownerCode() != InsetBase::ERT_CODE
&& par.ownerCode() != InsetBase::CHARSTYLE_CODE)
&& (par.layout() != tclass.defaultLayout()