]> git.lyx.org Git - features.git/commit
Fix bug #5167: Correctly paint special characters in InsetMathFont
authorVincent van Ravesteijn <vfr@lyx.org>
Thu, 3 May 2012 13:51:55 +0000 (15:51 +0200)
committerVincent van Ravesteijn <vfr@lyx.org>
Sun, 6 May 2012 15:23:21 +0000 (17:23 +0200)
commitabce7966e66e8e73d646aeafc561bc994e8f84c0
treeb83f27de4e8094d0d9dcad11e36b268a0274a9bc
parent58946a2996c875e65f558463ca41a918f7249909
Fix bug #5167: Correctly paint special characters in InsetMathFont

When using, e.g., a 'mathcal' inset in math, the inline completion and
other special characters like '\#', '{..}' are are painted in the
'mathcal' font as well. This is overcome by setting the mathnormal font
before painted these characters.

(cherry picked from commit 63772964923f765e4ab975946215725086a9c838)
src/mathed/InsetMathBrace.cpp
src/mathed/MathData.cpp
src/mathed/MathSupport.cpp
status.20x