[Bug 60987] auto complete directly if only one available completion
Dominik Haumann
dhdev at gmx.de
Fri Mar 11 14:40:09 UTC 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=60987
------- Additional Comments From dhdev gmx de 2005-03-11 14:39 -------
Adam Trea: hm, what about
if ( entryList.size() == 1 && invokedOnDemand ) { /* complete immediately*/
m_activeEditor->insertText(m_ccLine, m_ccColumn, entryList[0].text);
} else if (entryList.size()) { /* as it was before */ }
so you do not have to go the CompletionBox-way at all. Still missing is the bool "invokedOnDemand" :) This could be a parameter of void completeText(); maybe.
Jörg Rüppel: only one wish/bug per bug report. This has in general nothing to do with the original bug report, so please open another one :) I even believe that showing tooltips is not possible right now (that right?).
More information about the KDevelop-devel
mailing list