]> git.lyx.org Git - features.git/commit
Revert [60ac25a4/lyxgit], [30f16463/lyxgit], and part of [e8f480e7/lyxgit]
authorEnrico Forestieri <forenr@lyx.org>
Fri, 26 Apr 2019 10:21:38 +0000 (12:21 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:27 +0000 (15:48 +0200)
commit92019d6a66f62f0f3a2cb2dc3bee9bb55d7ba852
tree1cd17a2c79485e36a1ed247a499b0bc25f70deb5
parent06a486a12ce6cc6d47e846e58b8c6dc560193d73
Revert [60ac25a4/lyxgit], [30f16463/lyxgit], and part of [e8f480e7/lyxgit]

As evidenced in #11552, at loading time there is no way to tell
whether braces were added by LyX with certainty. However, after
[503f7db2/lyxgit], LyX does not automatically removes brace insets.
So, in case one faces the problems mentioned in [e8f480e7/lyxgit],
the workaround of adding a brace inset now will not be frustrated.
In essence, after [503f7db2/lyxgit], the real fix for #11552 would
have been reverting the part in [e8f480e7/lyxgit] that was adding
the braces on output.
src/Buffer.h
src/mathed/InsetMathMacro.cpp
src/mathed/MathParser.cpp
src/mathed/MathStream.cpp
src/mathed/MathStream.h