]> git.lyx.org Git - lyx.git/commit
Fix computation of InsetLayout arguments for InsetText
authorGuillaume MM <gm@lyx.org>
Fri, 12 May 2017 22:51:21 +0000 (00:51 +0200)
committerGuillaume MM <gm@lyx.org>
Sat, 13 May 2017 14:12:25 +0000 (16:12 +0200)
commit1fb0a5f436a861175f7c7f719b936f51178f5ad6
treee6639504b6af75500a94d1b0c121e9463aac818f
parentef19e114bdf64167a5df33b161484dcf9ae4b923
Fix computation of InsetLayout arguments for InsetText

Do not take the optional arguments from the first paragraph, but from the
paragraphs whose layout have no arguments, consistently with the code in
InsetArgument::updateBuffer (i.e. what was shown on screen).
src/Layout.cpp
src/Layout.h
src/insets/InsetArgument.cpp
src/insets/InsetText.cpp
src/output_latex.cpp
src/output_latex.h