| Code::Blocks
    SVN r11506
    | 
#include <incremental_select_helper.h>
| Public Member Functions | |
| IncrementalSelectHandler (wxDialog *parent, IncrementalSelectIterator *iterator) | |
| ~IncrementalSelectHandler () override | |
| void | Init (wxListCtrl *list, wxTextCtrl *text) | 
| void | DeInit (wxWindow *window) | 
| void | FilterItems () | 
| int | GetSelection () | 
| Private Member Functions | |
| void | OnKeyDown (wxKeyEvent &event) | 
| void | OnTextChanged (wxCommandEvent &event) | 
| void | OnItemActivated (wxListEvent &event) | 
| Private Attributes | |
| wxDialog * | m_parent | 
| wxListCtrl * | m_list | 
| wxTextCtrl * | m_text | 
| IncrementalSelectIterator * | m_iterator | 
Definition at line 58 of file incremental_select_helper.h.
| IncrementalSelectHandler::IncrementalSelectHandler | ( | wxDialog * | parent, | 
| IncrementalSelectIterator * | iterator | ||
| ) | 
Definition at line 54 of file incremental_select_helper.cpp.
References m_parent.
| 
 | override | 
Definition at line 64 of file incremental_select_helper.cpp.
| void IncrementalSelectHandler::DeInit | ( | wxWindow * | window | ) | 
Definition at line 84 of file incremental_select_helper.cpp.
References m_list, m_text, OnItemActivated(), OnKeyDown(), OnTextChanged(), and wxEVT_KEY_DOWN.
Referenced by GotoFile::~GotoFile(), and GotoFunctionDlg::~GotoFunctionDlg().
| void IncrementalSelectHandler::FilterItems | ( | ) | 
Definition at line 119 of file incremental_select_helper.cpp.
References IncrementalSelectIterator::AddIndex(), wxString::c_str(), wxString::empty(), FilterItemsFinalize(), wxString::find(), IncrementalSelectIterator::GetItemFilterString(), IncrementalSelectIterator::GetTotalCount(), wxString::Lower(), m_iterator, m_list, m_text, wxString::Matches(), wxString::npos, IncrementalSelectIterator::Reset(), wxIsalpha(), and wxT.
Referenced by Init(), GotoFunctionDlg::OnModeClick(), and OnTextChanged().
| int IncrementalSelectHandler::GetSelection | ( | ) | 
Definition at line 283 of file incremental_select_helper.cpp.
References wxListCtrl::GetNextItem(), IncrementalSelectIterator::GetUnfilteredIndex(), m_iterator, m_list, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED, and wxNOT_FOUND.
Referenced by GotoFile::GetSelection(), and GotoFunctionDlg::GetSelection().
| void IncrementalSelectHandler::Init | ( | wxListCtrl * | list, | 
| wxTextCtrl * | text | ||
| ) | 
Definition at line 68 of file incremental_select_helper.cpp.
References IncrementalSelectIterator::CalcColumnWidth(), FilterItems(), m_iterator, m_list, m_text, OnItemActivated(), OnKeyDown(), OnTextChanged(), and wxEVT_KEY_DOWN.
Referenced by GotoFile::BuildContent(), and GotoFunctionDlg::BuildContent().
| 
 | private | 
| 
 | private | 
Definition at line 263 of file incremental_select_helper.cpp.
References wxListCtrl::EnsureVisible(), wxListCtrl::GetItemCount(), wxListCtrl::GetNextItem(), KeyDownAction(), m_list, m_parent, wxListCtrl::SetItemState(), wxID_LOWEST, wxLIST_NEXT_ALL, and wxLIST_STATE_SELECTED.
| 
 | private | 
Definition at line 97 of file incremental_select_helper.cpp.
References FilterItems().
| 
 | private | 
Definition at line 78 of file incremental_select_helper.h.
Referenced by FilterItems(), GetSelection(), and Init().
| 
 | private | 
Definition at line 76 of file incremental_select_helper.h.
Referenced by DeInit(), FilterItems(), GetSelection(), Init(), and OnKeyDown().
| 
 | private | 
Definition at line 75 of file incremental_select_helper.h.
Referenced by IncrementalSelectHandler(), OnItemActivated(), and OnKeyDown().
| 
 | private | 
Definition at line 77 of file incremental_select_helper.h.
Referenced by DeInit(), FilterItems(), and Init().
 1.8.13
 1.8.13