Hi !
I've submitted feature
3492 to be able to use filespec (* and ?) in Goto file/function dialogs.
That way, you can type in the Goto file dialog
tod*wto match
plugins\todo\todolistview.cppin codeblocks.cbp
Simple, efficient, no side effect, enjoy !!

The patch 2046 is
hereIndex: incrementalselectlistdlg.cpp
===================================================================
--- incrementalselectlistdlg.cpp (revision 4078)
+++ incrementalselectlistdlg.cpp (working copy)
@@ -116,13 +116,17 @@
void IncrementalSelectListDlg::FillList()
{
Freeze();
- wxString search = m_Text->GetValue().Lower();
+
+ // We put a star before and after pattern to find search expression everywhere in path
+ wxString search(wxT("*") + m_Text->GetValue().Lower() + wxT("*"));
+
wxArrayString result;
//Manager::Get()->GetMessageManager()->Log(mltDevDebug, "FillList(): '%s'", search.c_str());
m_List->Clear();
for (unsigned int i = 0; i < m_Items.GetCount(); ++i)
{
- if (search.IsEmpty() || m_Items[i].Lower().Find(search) != wxNOT_FOUND)
+ // 2 for before and after stars =~ empty string
+ if ((search.Length()==2) || m_Items[i].Lower().Matches(search.c_str()))
result.Add(m_Items[i]);
// m_List->Append(m_Items[i]);
}
Dje