From 71d75896e00253be2853a784120c7d755827aa9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Sat, 5 May 2007 12:06:37 +0000 Subject: [PATCH] * src/TextMetrics.cpp (setHeightOfRow): - don't use parkip in ERT insets (bug 3146) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18205 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/TextMetrics.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp index aa5f01c576..d80c66167f 100644 --- a/src/TextMetrics.cpp +++ b/src/TextMetrics.cpp @@ -665,9 +665,10 @@ void TextMetrics::setHeightOfRow(pit_type const pit, // is it a top line? if (row.pos() == 0) { BufferParams const & bufparams = buffer.params(); - // some parksips VERY EASY IMPLEMENTATION + // some parskips VERY EASY IMPLEMENTATION if (bufparams.paragraph_separation == BufferParams::PARSEP_SKIP + && par.ownerCode() != Inset::ERT_CODE && pit > 0 && ((layout->isParagraph() && par.getDepth() == 0) || (pars[pit - 1].layout()->isParagraph()