Re: Auto completion patch for search in GtkTreeView



On Sun, 2005-04-03 at 13:40 +0200, Jaap Haitsma wrote:
> Hi,
> 
> The find as you type search functionality in the GtkTreeView which came 
> in GTK 2.6 is really cool in my opinion, because it saves a lot of 
> typing or scrolling.
> 
> When I was editing nautilus with gedit I noticed I still had to type a 
> lot because a lot of files have the following format nautilus-<some 
> name>.[ch]
> 
> I implemented a patch such that you need even less typing. If there are 
> no other viable options for the characters you typed it will try to 
> complete the text as far as possible. E.g. if you have a directory which 
> contains a lot of files with start with nautilus- the search entry will 
> complete automatically to nautilus- as soon as you type an n and if ther 
> e are no other files which start with an n.

  IMHO, it would be much more useful if typeahead search was always
based on substring match, like the way mozilla searches in web
pages/links.  This would more useful because sometimes you want a file,
but you have no idea how it starts, and you only know a word in the
middle.

  Regards.

-- 
Gustavo J. A. M. Carneiro
<gjc inescporto pt> <gustavo users sourceforge net>
The universe is always one step beyond logic.

Attachment: smime.p7s
Description: S/MIME cryptographic signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]