]> git.lyx.org Git - features.git/commit
Make sure that language is "latex" in InsetArgument when pass-thru.
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 21 Oct 2021 17:14:06 +0000 (19:14 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 21 Oct 2021 17:14:06 +0000 (19:14 +0200)
commit2f236b01e0eb9dd7388cc446e9d0c58a3b31208f
treec2aae123595b804382ea08ce0b6f9014d5a524a8
parent3444a5a54af2419b4e02b4784a4d3d25f7076ee0
Make sure that language is "latex" in InsetArgument when pass-thru.

The code that determine whether an InsetArgument is passThru is
complex and lives in updateBuffer.

This patch factors out the code in a new init method and calls it also
in doInsetInsert when inserting a InsetArgument.

Fixes bug #12143.
src/Text3.cpp
src/insets/InsetArgument.cpp
src/insets/InsetArgument.h