]> git.lyx.org Git - features.git/commit
Do not convert dashes/hyphens in Code insets (logical markup).
authorGünter Milde <milde@lyx.org>
Mon, 8 Jan 2018 21:47:09 +0000 (22:47 +0100)
committerGünter Milde <milde@lyx.org>
Wed, 10 Jan 2018 11:07:36 +0000 (12:07 +0100)
commitcb1fda998868f12d87d03e285ae8f9111f415404
tree1d2021fbcfe1f77d3ab1028cae4414eb97f903cc
parenta3dcb6e4e5661f1961592a1e4d124c8416794ea5
Do not convert dashes/hyphens in Code insets (logical markup).

Code is by default rendered as typewriter and should be treated
similar:
In text marked up as code, -- or --- is typically part of a
command (e.g. "lyx --help" or "x--") and not a transliteration
for en dash, see #10961.
This is already handled so for text in typewriter font
(see Text.cpp:500).
lib/lyx2lyx/lyx_2_2.py
lib/lyx2lyx/lyx_2_3.py