mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
* 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
This commit is contained in:
parent
307c4a5844
commit
71d75896e0
@ -665,9 +665,10 @@ void TextMetrics::setHeightOfRow(pit_type const pit,
|
|||||||
// is it a top line?
|
// is it a top line?
|
||||||
if (row.pos() == 0) {
|
if (row.pos() == 0) {
|
||||||
BufferParams const & bufparams = buffer.params();
|
BufferParams const & bufparams = buffer.params();
|
||||||
// some parksips VERY EASY IMPLEMENTATION
|
// some parskips VERY EASY IMPLEMENTATION
|
||||||
if (bufparams.paragraph_separation
|
if (bufparams.paragraph_separation
|
||||||
== BufferParams::PARSEP_SKIP
|
== BufferParams::PARSEP_SKIP
|
||||||
|
&& par.ownerCode() != Inset::ERT_CODE
|
||||||
&& pit > 0
|
&& pit > 0
|
||||||
&& ((layout->isParagraph() && par.getDepth() == 0)
|
&& ((layout->isParagraph() && par.getDepth() == 0)
|
||||||
|| (pars[pit - 1].layout()->isParagraph()
|
|| (pars[pit - 1].layout()->isParagraph()
|
||||||
|
Loading…
Reference in New Issue
Block a user