]> git.lyx.org Git - lyx.git/blobdiff - src/minibuffer.C
fix "make dist" target
[lyx.git] / src / minibuffer.C
index 87186a1cf781f8518138cdbee2ae5d5a02249b50..3ea3b88de1f75517984b248776bb007c3e13edc7 100644 (file)
@@ -28,7 +28,6 @@
 #include "BufferView.h"
 
 
-//using std::endl;
 using SigC::slot;
 using std::vector;
 
@@ -175,6 +174,10 @@ int MiniBuffer::peek_event(FL_OBJECT * ob, int event, int key)
                case 13:
                case XK_Return:
                {
+#if 0
+                       // This will go in again in a little while
+                       // we need to be able to declare what types
+                       // of argumetns LFUN's should have first. (Lgb)
                        // First check for match
                        vector<string>::const_iterator cit =
                                std::find(completion_.begin(),
@@ -186,12 +189,15 @@ int MiniBuffer::peek_event(FL_OBJECT * ob, int event, int key)
                                string const tmp = input + _(" [no match]");
                                fl_set_input(ob, tmp.c_str());
                        } else {
+#endif
                                // Return the inputted string
                                deactivate();
                                owner_->view()->focus(true);
                                history_->push_back(input);
                                stringReady.emit(input);
+# if 0
                        }
+#endif
                        return 1;
                }
                case XK_space: