]> git.lyx.org Git - features.git/commit
When pasting into mathed, take into account the current mode.
authorEnrico Forestieri <forenr@lyx.org>
Sat, 18 Oct 2008 09:06:27 +0000 (09:06 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Sat, 18 Oct 2008 09:06:27 +0000 (09:06 +0000)
commit6bd593d8b38770ce0661bb8e7a83ba754ed17c79
tree6aa5b32551bf7b0bb41102d84e81786625d46127
parent02ebfa000b9d41cf085cc633985ffe8235ede64f
When pasting into mathed, take into account the current mode.
For example, this allows to paste something like $x$ to a textmode
inset and get the expected result. If $x$ is pasted in mathmode,
it is pasted verbatim, such that no compile errors can arise.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26935 a592a061-630c-0410-9148-cb99ea01b6c8
src/mathed/InsetMathGrid.cpp
src/mathed/InsetMathNest.cpp