]> git.lyx.org Git - features.git/commit
Fix some listings/minted incompatibilities
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 19 Apr 2019 17:03:29 +0000 (19:03 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:26 +0000 (15:48 +0200)
commitd98f5924b06b69d47472a1a4a99f04a2488ae50e
treee41359a2cc7189e67c06e434bde60286b1b0cfbc
parent427dc1a0d385e9e20a8a8bc63c5d30f93f519f25
Fix some listings/minted incompatibilities

The basic problem here is that rather than using an abstract syntax,
backend-specific param strings are produced in the listings dialog,
depending on whether listings or minted is used.

Of course this breaks if a user switches backends inbetween (s/he would
have to open and re-apply each and every listings inset!)

Do at least the most basic translations in InsetListings::latex().
A sane solution would imply the use of only one param syntax with
respective interpretation for each backend. But this would be a file
format change.
src/frontends/qt4/GuiListings.cpp
src/insets/InsetListings.cpp