[plt-scheme] File-Open Dialog suggestion

From: Ittai Balaban (balaban at cs.nyu.edu)
Date: Sun Jun 25 00:34:35 EDT 2006

On Sun, 2006-06-25 at 00:04 -0400, Eli Barzilay wrote:
> It is doing that already -- when autocompletion happens, the listbox
> shows only matching names.  So IIUC, you want this to happen
> immediately and the actual text to be added on a delay.  The reason
> some delay is needed is that narrowing the list box is expensive -- it
> requires scanning the full list and filtering out names.  Maybe all
> you need is a shorter delay for completion?

I realize that's expensive. But selecting the (lexicographically)
minimal element, while leaving listbox content intact, should be cheap,
and would probably be correct most of the time (I, for one, don't use
fancy regexps most of the time).

-- 
Ittai




Posted on the users mailing list.