searching for a useroption for the autoinsert for singlematches in the codecompletion i didn't find any. so here's a patchoffer for latest trunk (4428) and latest stable (4375 - which also includes the autocompletion patch from http://codelite.org/forum/viewtopic.php?f=13&t=1127).
the patch adds the useroption in the tagsmenu and modifies both ShowCompletionBox functions in cl_editor.cpp:2862 and 2908.
In
Code: Select all
void LEditor::ShowCompletionBox(const std::vector<TagEntryPtr>& tags, const wxString& word, wxEvtHandler* owner)
In
Code: Select all
void LEditor::ShowCompletionBox(const std::vector<TagEntryPtr>& tags, const wxString& word, bool showFullDecl, bool autoHide, bool autoInsertSingleChoice)
defaultsetting is 'on', since this is, what the prototype gets initialized with in cl_editor.h:472.
greets,
nem
edit: rewrote the patch for revision 4433