]> git.lyx.org Git - features.git/commit
Refined fix for #9633
authorEnrico Forestieri <forenr@lyx.org>
Fri, 10 May 2019 06:09:26 +0000 (08:09 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:28 +0000 (15:48 +0200)
commit5df71b6155d5aa843dad2b474a22d7c423ce7223
treea3c9eefaa3867c3456d1ddeca3b740f9680ac76d
parent8e8d739a4a3dcf918b1bb18566277c75d0ff6858
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