mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 14:29:21 +00:00
honor nextnoindent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10608 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
217a57fbc7
commit
70c0f419f6
@ -1,3 +1,7 @@
|
|||||||
|
2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||||
|
|
||||||
|
* text.C (leftMargin): honor the NextNoIndent tag in layouts.
|
||||||
|
|
||||||
2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||||
|
|
||||||
* lyxfunc.C:
|
* lyxfunc.C:
|
||||||
|
@ -489,6 +489,13 @@ int LyXText::leftMargin(pit_type const pit, pos_type const pos) const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This happens after sections in standard classes. The 1.3.x
|
||||||
|
// code compared depths too, but it does not seem necessary
|
||||||
|
// (JMarc)
|
||||||
|
if (par.layout() == tclass.defaultLayout()
|
||||||
|
&& pit > 0 && pars_[pit - 1].layout()->nextnoindent)
|
||||||
|
parindent.erase();
|
||||||
|
|
||||||
LyXFont const labelfont = getLabelFont(par);
|
LyXFont const labelfont = getLabelFont(par);
|
||||||
switch (layout->margintype) {
|
switch (layout->margintype) {
|
||||||
case MARGIN_DYNAMIC:
|
case MARGIN_DYNAMIC:
|
||||||
|
Loading…
Reference in New Issue
Block a user