[PATCH] auto-completing URLs on Ctrl-Enter

Germain Garand germain at ebooksfrance.org
Wed Feb 1 14:28:33 GMT 2006


Le Mercredi 01 Février 2006 10:36, Thiago Macieira a écrit :
> Tony Sideris wrote:
> >Attached is a patch that will add a feature similar to Firefox, and IE.
> > When Ctrl-Enter is pressed in the URL bar the current text will be
> > wrapped in "http://" and ".com"...
[...]
> That's an interesting feature. However, I'd like to ask you to modify your
> code to do as follows:
>
> 1) respect the file's coding styles (indentation is 4 spaces)
>
> 2) make the list of suffixes configurable (don't remove the hardcoded
> default ones, though). There's no need for GUI, but reading the data from
> a .desktop. That way, translators could set their locale's default
> suffixes. For instance, I don't have much use for ".de", but I do about
> ".com.br".

also please use another shortcut : Ctrl+Enter is already taken by "open 
currently typed URL in a new tab". 
For instance, Shift+Enter is free...

Germain




More information about the kfm-devel mailing list