From 329461c700773264ca20b04f4b7e480fe196f57d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Fri, 25 Apr 2008 00:38:59 +0000 Subject: [PATCH] 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 --- src/tex2lyx/text.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp index b0b5006178..3d7e126dc2 100644 --- a/src/tex2lyx/text.cpp +++ b/src/tex2lyx/text.cpp @@ -765,6 +765,7 @@ void parse_environment(Parser & p, ostream & os, bool outer, parse_text_in_inset(p, os, FLAG_END, outer, parent_context); end_inset(os); p.skip_spaces(); + skip_braces(p); // eat {} that might by set by LyX behind comments } else if (name == "lyxgreyedout") { -- 2.39.2