mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
tex2lyx/text.cpp: take care of the brace pair after comment environments that are there when the TeX file was created by LyX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24498 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f7ac332808
commit
329461c700
@ -765,6 +765,7 @@ void parse_environment(Parser & p, ostream & os, bool outer,
|
|||||||
parse_text_in_inset(p, os, FLAG_END, outer, parent_context);
|
parse_text_in_inset(p, os, FLAG_END, outer, parent_context);
|
||||||
end_inset(os);
|
end_inset(os);
|
||||||
p.skip_spaces();
|
p.skip_spaces();
|
||||||
|
skip_braces(p); // eat {} that might by set by LyX behind comments
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (name == "lyxgreyedout") {
|
else if (name == "lyxgreyedout") {
|
||||||
|
Loading…
Reference in New Issue
Block a user