The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit ad94e7bde7e0020d59bf19e58bbc510155efff90
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Fri Dec 28 09:47:58 2012 +0100

    This hack seems to be no more needed. Let's see...

diff --git a/src/insets/InsetText.cpp b/src/insets/InsetText.cpp
index dca7b47..fd96fef 100644
--- a/src/insets/InsetText.cpp
+++ b/src/insets/InsetText.cpp
@@ -266,6 +266,9 @@ void InsetText::doDispatch(Cursor & cur, FuncRequest & cmd)
 {
        LYXERR(Debug::ACTION, "InsetText::doDispatch(): cmd: " << cmd);
 
+#if 0
+// FIXME: This code does not seem to be necessary anymore
+// Remove for 2.1 if no counter-evidence is found.
        if (isPassThru() && lyxCode() != ARG_CODE) {
                // Force any new text to latex_language FIXME: This
                // should only be necessary in constructor, but new
@@ -276,6 +279,7 @@ void InsetText::doDispatch(Cursor & cur, FuncRequest & cmd)
                cur.current_font.setLanguage(latex_language);
                cur.real_current_font.setLanguage(latex_language);
        }
+#endif
 
        switch (cmd.action()) {
        case LFUN_PASTE:

-----------------------------------------------------------------------

Summary of changes:
 src/insets/InsetText.cpp |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to