]> 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>
Thu, 3 May 2012 14:36:19 +0000 (16:36 +0200)
commit63772964923f765e4ab975946215725086a9c838
tree27faee5ab23a20cc8dc12b1ade58f40eb6d563d2
parentb0b8e5f54c3d3f408fcd08d07416749cc5bd76b2
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.
src/mathed/InsetMathBrace.cpp
src/mathed/MathData.cpp
src/mathed/MathSupport.cpp