]> git.lyx.org Git - features.git/blobdiff - src/minibuffer.C
The command-sequence patch from Andre'; also remove the comment in first
[features.git] / src / minibuffer.C
index eea98c940cfc8ad47f3608b499cbf26034f4f6cd..a674f6d37d75f71dbb7e566de04f6100cea69f7c 100644 (file)
@@ -54,22 +54,8 @@ void MiniBuffer::ExecutingCB(FL_OBJECT * ob, long)
        obj->Set(_("Executing:"), obj->cur_cmd);
        obj->addHistory(obj->cur_cmd);
        
-       // Split command into function and argument
-       string arg = obj->cur_cmd;
-       string function;
-       if (contains(arg, " ")) {
-               arg = split(arg, function, ' ');
-               function = strip(function);
-       } else {
-               function = arg;
-               arg.clear();
-       }
-       lyxerr.debug() << "Function: " << function
-                      << "\nArg     : " << arg << endl;
-
        // Dispatch only returns requested data for a few commands (ale)
-       string res = obj->owner->getLyXFunc()->Dispatch(function.c_str(),
-                                                      arg.c_str());
+       string res = obj->owner->getLyXFunc()->Dispatch(obj->cur_cmd);
        lyxerr.debug() << "Minibuffer Res: " << res << endl;
        obj->shows_no_match = false;