Automatic completion mode

Rafael Fernández López ereslibre at kde.org
Sat Nov 15 15:48:52 GMT 2008


Hi all,

I have been lately wondering the way automatic completion works. I could have 
just gone for the patch on KLineEdit or somewhere else, but I wanted to 
consult it with all you before writing a useless patch.

I will describe the problem now. Imagine on a lineedit that i want automatic 
completion (like krunner one) I write something like:

"websvn.kde.org/trunk/KDE/kdelibs/kdeui/itemviews" and press enter.

the lineedit now has saved that path. Good.

Now I open krunner again and write

"websvn.kde.org/trunk/KDE/kdelibs" and press enter.

Surprisingly for me "websvn.kde.org/trunk/KDE/kdelibs/kdeui/itemviews" is 
opened, what is wrong from my POV.

Options to fix this:

- Complete if I press "right" arrow key.
- Complete (and accept) if I press shift+enter.

Opinions, suggestions ?


Regards,
Rafael Fernández López.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20081115/e7991fde/attachment.sig>


More information about the kde-core-devel mailing list