Re: autocompletion

Philip Langdale <[email protected]>
Newsgroups gmane.comp.web.galeon.devel
Message-ID <[email protected]>
Well, I like it the way it is right now :-)

Autocomplete non-ambiguous as you type and show the drop-down on
one tab.

I personally see nothing wrong with having prefs for autocomplete
behaviour. It's pretty clear to me that this is preferences in
this regard are rather idiosyncratic; Even with the (hidden) prefs
that are currently available, Tommi's desired behaviour isn't possible.
And if, as Ricardo indicates, we need to offer the ability to use
something other than tab for accessibility reasons, we will definitely
need a pref, though I assume that we would do this by registering our
keyboard shortcuts and letting the control centre handle the UI.

I think there is validity some validity in arguing that there should be
a default automatic dropdown for newbies to discover that the feature
exists, but I find it annoying, and the price of getting me to accept
a default that I'm not going to use *will* be a UI pref; I'm not
interested in being treated as a second class user by programs I
write.

I think Alan's timeout idea might be a credible option for default
behaviour but I'm not sure at this time.

--phil

Tommi Komulainen wrote:
> I'd like to elaborate on the tab-completion as I think it should
> probably work very similar to the tab-completion in shells, e.g.
> 
>       * pressing tab will complete everything non-ambiguous from the
>         current point forward, and *not* show the dropdown list
>       * if non-ambiguous completion is not possible, only then show the
>         dropdown list
>               * actually, the dropdown list should probably be shown
>                 only after tab is pressed twice in a row; that way you
>                 can avoid ambiguities in behavior and be sure that
>                 hitting <anychar><tab> never shows the dropdown and that
>                 <anychar><tab><tab> always does
> 
> 
> Hmm, quickly glancing at the code I noticed some note about heuristic
> completions (to be done) when tab is pressed.  I only wonder what they
> were...
> 
> 



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.