On Sun, Dec 02, 2001 at 05:45:09PM +0100, Michael Schmitt wrote:

> - No list of possible completions is given anymore in the minibuffer if you enter, 
>e.g.,
>   "Alt+s" or "Alt+p" (or it takes a much too long time until they occur)

Ugh, sorry. Please apply attached.

thanks
john

p.s. isn't the timeout way too large ?

-- 
"Faced with the prospect of rereading this book, I would rather have 
 my brains ripped out by a plastic fork."
        - Charles Cooper on "Business at the Speed of Thought" 
Index: src/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
retrieving revision 1.428
diff -u -r1.428 ChangeLog
--- src/ChangeLog       2001/12/02 23:20:56     1.428
+++ src/ChangeLog       2001/12/03 02:03:10
@@ -1,3 +1,7 @@
+2001-12-03  John Levon  <[EMAIL PROTECTED]>
+
+       * lyxfunc.C: fix show options on timeout
+ 
 2001-12-03  Lars Gullik Bjønnes  <[EMAIL PROTECTED]>
 
        * screen.C (topCursorVisible): scroll half a page when the cursor
Index: src/lyxfunc.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxfunc.C,v
retrieving revision 1.268
diff -u -r1.268 lyxfunc.C
--- src/lyxfunc.C       2001/11/30 13:25:35     1.268
+++ src/lyxfunc.C       2001/12/03 02:03:13
@@ -2015,7 +2022,7 @@
 
        // Else, when a non-complete key sequence is pressed,
        // show the available options.
-       else if (keyseq.length() > 1) {
+       if (keyseq.length() > 0 && !keyseq.deleted()) {
                text = keyseq.printOptions();
        }
    

Reply via email to