From f397e61e7245f08f37cd9aaf34cebaeb1c7d2639 Mon Sep 17 00:00:00 2001 From: Martin Vermeer Date: Thu, 16 Jun 2005 15:15:33 +0000 Subject: [PATCH] Fix bug 1904 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10076 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 4 ++++ src/text.C | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 4c8c3dc447..56f2cc53d4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2005-06-16 Martin Vermeer + + * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX) + 2005-06-14 Angus Leeming * lyx_main.C (init): ensure that the LyX binary dir is the first diff --git a/src/text.C b/src/text.C index cd8b3c2f5d..b9bb9ea891 100644 --- a/src/text.C +++ b/src/text.C @@ -371,6 +371,8 @@ void readParagraph(Buffer const & buf, Paragraph & par, LyXLex & lex) break; } } + // Initialize begin_of_body_ on load; redoParagraph maintains + par.setBeginOfBody(); }