]> 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>
Fri, 12 Jan 2018 12:54:05 +0000 (13:54 +0100)
commit145f583244562db7558f762f738ff7c991b15ef1
tree2da5a0703dfd900e32c94d4d781278fc4499f0c1
parent8c3650f8a0bf87eac375094897b5e3bcc8f7cd8b
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