Re: autocompletion
Tommi Komulainen <[email protected]>
| Newsgroups | gmane.comp.web.galeon.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 2002-11-25 at 20:56, Alan wrote:
>
> Copying this behaviour (assuming we don't already, like I said, I
> haven't used 1.3 yet, waiting for garnome's next release :) would solve
> both problems wouldn't it?
>
> - no slowdown for bast typers
> - no sudden jarring of a dropdown coming down as soon as you type
> - no need for a pref
> - available for both the newbie and experieneced user
> - can still use TAB for explicitly popping up the window
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...
--
Tommi Komulainen [email protected]
GPG 1024D/68388EE6 6FD6 DD79 EB38 BF6F 3533 09C0 04A8 9871 6838 8EE6
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA94qESBKiYcWg4juYRApSvAJ4hncL0dHy1UJI+FtchRSKdOV4eowCfRS1u sCZSK9qC+/FlJ88xnO26zwM= =UytI -----END PGP SIGNATURE-----