mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 20:32:49 +00:00
don't add an indent for paragraphs inside tabular cells (fix #208)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3583 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6953743e22
commit
82d23e8538
@ -1,3 +1,8 @@
|
||||
2002-02-22 Juergen Vigna <jug@sad.it>
|
||||
|
||||
* text.C (leftMargin): don't add an indent for paragraphs inside
|
||||
tabular cells (fix #208).
|
||||
|
||||
2002-02-21 José Matos <jamatos@fep.up.pt>
|
||||
|
||||
* tabular.C (docBook): fixed support for long tables.
|
||||
|
@ -838,6 +838,8 @@ int LyXText::leftMargin(BufferView * bview, Row const * row) const
|
||||
&& ! row->par()->isFirstInSequence()))
|
||||
&& align == LYX_ALIGN_BLOCK
|
||||
&& !row->par()->params().noindent()
|
||||
// in tabulars paragraphs are never indented!
|
||||
&& (!row->par()->inInset() || row->par()->inInset()->owner()->lyxCode() != Inset::TABULAR_CODE)
|
||||
&& (row->par()->layout ||
|
||||
bview->buffer()->params.paragraph_separation ==
|
||||
BufferParams::PARSEP_INDENT))
|
||||
|
Loading…
Reference in New Issue
Block a user