]> git.lyx.org Git - features.git/commit
Refined fix for #9633
authorEnrico Forestieri <forenr@lyx.org>
Tue, 25 Jun 2019 19:57:00 +0000 (21:57 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Tue, 25 Jun 2019 19:57:00 +0000 (21:57 +0200)
commit911e6412b8e654d4d5fa9f692a9ffabbfc37bf44
tree9acc1c674d577d086bbd0409e78c7945d472767c
parent7998616edb587d44938d377fec94a35547150c3b
Refined fix for #9633

A branch inset modifies the layout of the internal structures in
which the text is organized. When a branch is active, it is as if it
was not there, but its only presence makes a paragraph which would not
be the last one to actually be the last one, or the check for the
language of the previous paragraph to fail because there is no
previous paragraph before the first one in a branch inset.
Oney way I found to tackle it, is tracking whether the typesetted
paragraphs are actually part of an active branch inset and acting
accordingly.
src/OutputParams.cpp
src/OutputParams.h
src/insets/InsetBranch.cpp
src/output_latex.cpp
status.23x