add a space on mb completion so user can just type an arg.

thanks
john


-- 
"...life's not a paragraph
and death i think is no
parenthesis"
        - e. e. cummings
Index: src/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
retrieving revision 1.463
diff -u -r1.463 ChangeLog
--- src/ChangeLog       2001/12/15 14:34:15     1.463
+++ src/ChangeLog       2001/12/15 16:39:07
@@ -1,3 +1,7 @@
+2001-12-15  John Levon  <[EMAIL PROTECTED]>
+
+       * minibuffer.C: add a space on dropdown completion
+ 
 2001-12-15  Dekel Tsur  <[EMAIL PROTECTED]>
 
        * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language 
Index: src/minibuffer.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/minibuffer.C,v
retrieving revision 1.44
diff -u -r1.44 minibuffer.C
--- src/minibuffer.C    2001/12/03 13:17:01     1.44
+++ src/minibuffer.C    2001/12/15 16:39:08
@@ -384,8 +384,11 @@
 
 void MiniBuffer::set_complete_input(string const & str)
 {
-       if (!str.empty())
-               set_input(str);
+       if (!str.empty()) {
+               // add a space so the user can type
+               // an argument immediately
+               set_input(str + " ");
+       }
 }
 
  

Reply via email to