]> git.lyx.org Git - lyx.git/blobdiff - src/LyXAction.C
Point fix, earlier forgotten
[lyx.git] / src / LyXAction.C
index 89c883ed2691a5978e8739c85626ef62d41ea8f1..14d18422b40f38f2db52b69d5b7cfe15e8706d84 100644 (file)
@@ -1,7 +1,14 @@
 /**
  * \file LyXAction.C
- * Copyright 1995-2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Lars Gullik Bjønnes
+ * \author Jean-Marc Lasgouttes
+ * \author John Levon
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
@@ -222,6 +229,7 @@ void LyXAction::init()
                { LFUN_MENU_SEPARATOR, "menu-separator-insert", Noop },
                { LFUN_META_FAKE, "meta-prefix", NoBuffer },
                { LFUN_INSET_MINIPAGE, "minipage-insert", Noop },
+               { LFUN_INSERT_BRANCH, "branch-insert", Noop },
                { LFUN_INSERT_NOTE, "note-insert", Noop },
                { LFUN_GOTONOTE, "note-next", ReadOnly },
                { LFUN_INSET_TOGGLE, "inset-toggle", ReadOnly },
@@ -398,7 +406,7 @@ FuncRequest LyXAction::retrieveActionArg(int pseudo) const
        if (pit != lyx_pseudo_map.end()) {
                lyxerr[Debug::ACTION] << "Found the pseudoaction: ["
                                      << pit->second.action << '|'
-                                     << pit->second.argument << "]\n";
+                                     << pit->second.argument << "]" << endl;
                return pit->second;
        } else {
                lyxerr << "Lyx Error: Unrecognized pseudo-action "
@@ -417,8 +425,8 @@ int LyXAction::LookupFunc(string const & func)
        // split action and arg
        string actstr;
        string const argstr = split(func2, actstr, ' ');
-       lyxerr[Debug::ACTION] << "Action: " << actstr << '\n';
-       lyxerr[Debug::ACTION] << "Arg   : " << argstr << '\n';
+       lyxerr[Debug::ACTION] << "Action: " << actstr << '\n'
+                             << "Arg   : " << argstr << endl;
 
        func_map::const_iterator fit = lyx_func_map.find(actstr);