]> git.lyx.org Git - features.git/commit
Catch encoding exception when performing instant preview on an uncodable char (bug...
authorJürgen Spitzmüller <spitz@lyx.org>
Fri, 7 Aug 2009 05:25:22 +0000 (05:25 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Fri, 7 Aug 2009 05:25:22 +0000 (05:25 +0000)
commit89e7f60e1d1e9f8b20288703643c9bca820b393b
tree5bc6f3a2b6e53740831bdfae1948e04fbb5049ff
parentc5d70358cc497d2efa16789b3d4f2a1cceed104e
Catch encoding exception when performing instant preview on an uncodable char (bug 6116).

* MathStream{.cpp, h}:
- replace bool dryrun() by enum output that also knows whether the stream is for instant preview
* InsetMathHull.cpp:
- tell the stream whether we use it for instant preview.
* MathString.cpp (write):
- gracefully catch encoding exception for instant preview.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30895 a592a061-630c-0410-9148-cb99ea01b6c8
src/Cursor.cpp
src/mathed/InsetFormulaMacro.cpp
src/mathed/InsetMath.cpp
src/mathed/InsetMathHull.cpp
src/mathed/InsetMathNest.cpp
src/mathed/InsetMathString.cpp
src/mathed/MacroTable.cpp
src/mathed/MathMacroTemplate.cpp
src/mathed/MathStream.cpp
src/mathed/MathStream.h