]> git.lyx.org Git - features.git/commit
Fix some bugs related to spaces in math:
authorGeorg Baum <georg.baum@post.rwth-aachen.de>
Sun, 23 Oct 2011 20:19:49 +0000 (20:19 +0000)
committerGeorg Baum <georg.baum@post.rwth-aachen.de>
Sun, 23 Oct 2011 20:19:49 +0000 (20:19 +0000)
commit8e8c214bef6a44ce256305f1c44754a8fd9f9f23
tree0a1e9cd5badb5ab6e14b122de264777c342b630e
parent6781444835ca04a1e2a441193be031a96e1db6d9
Fix some bugs related to spaces in math:
- Interpret argument of LFUN_SPACE_INSERT correctly
- Use InsetMathSpace instead of InsetMathSpecialChar for "\ " (bug # 7728)
- Use InsetMathSpace instead of InsetMathChar for ~ (bug # 7728).
  This fixes also the display in LyX (previously a literal ~ was displayed).
Using InsetMathSpace enables also the "Insert Formatting" menu entries.
No file format change is needed, since the LaTeX export is unchanged.
Note that there are still some bugs related to spaces in math:
#7746, #7747, #7749, #7842

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39947 a592a061-630c-0410-9148-cb99ea01b6c8
14 files changed:
src/BufferView.cpp
src/LyXAction.cpp
src/Paragraph.cpp
src/ParagraphMetrics.cpp
src/Text.cpp
src/Text2.cpp
src/Text3.cpp
src/frontends/qt4/GuiHSpace.cpp
src/mathed/InsetMathNest.cpp
src/mathed/InsetMathSpace.cpp
src/mathed/InsetMathSpecialChar.cpp
src/mathed/MathFactory.cpp
src/mathed/MathParser.cpp
src/output_latex.cpp