Code::Blocks
SVN r11506
|
#include <findreplacedlg.h>
Public Member Functions | |
FindReplaceDlg (wxWindow *parent, const wxString &initial=wxEmptyString, bool hasSelection=false, bool findMode=true, bool findReplaceInFilesOnly=false, bool findReplaceInFilesActive=false) | |
~FindReplaceDlg () override | |
wxString | GetFindString () const override |
wxString | GetReplaceString () const override |
bool | IsFindInFiles () const override |
bool | GetDeleteOldSearches () const override |
bool | GetSortSearchResult () const override |
bool | GetMatchWord () const override |
bool | GetStartWord () const override |
bool | GetMatchCase () const override |
bool | GetRegEx () const override |
bool | GetAutoWrapSearch () const override |
bool | GetFindUsesSelectedText () const override |
bool | GetStartFile () const override |
bool | GetMultiLine () const override |
bool | GetFixEOLs () const override |
int | GetDirection () const override |
int | GetOrigin () const override |
int | GetScope () const override |
bool | GetRecursive () const override |
bool | GetHidden () const override |
wxString | GetSearchPath () const override |
wxString | GetSearchMask () const override |
int | GetProject () const override |
int | GetTarget () const override |
bool | IsMultiLine () const |
Public Member Functions inherited from FindReplaceBase | |
FindReplaceBase (cb_optional wxWindow *parent, cb_optional const wxString &initial, cb_optional bool hasSelection) | |
~FindReplaceBase () override | |
Public Member Functions inherited from wxScrollingDialog | |
wxScrollingDialog () | |
wxScrollingDialog (wxWindow *parent, int id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const wxString &name=_("dialogBox")) | |
Public Member Functions inherited from wxDialog | |
virtual int | ShowModal () |
Protected Member Functions | |
void | OnReplaceChange (wxNotebookEvent &event) |
void | OnRegEx (wxCommandEvent &event) |
void | OnActivate (wxActivateEvent &event) |
void | OnMultiChange (wxCommandEvent &event) |
void | OnLimitToChange (wxCommandEvent &event) |
void | OnScopeChange (wxCommandEvent &event) |
void | OnBrowsePath (wxCommandEvent &event) |
void | OnSearchProject (wxCommandEvent &event) |
void | OnDeferredFocus (wxCommandEvent &event) |
void | OnSelectTarget (wxCommandEvent &event) |
Private Member Functions | |
void | FillComboWithLastValues (wxComboBox *combo, const wxString &configKey) |
void | SaveComboValues (wxComboBox *combo, const wxString &configKey) |
Private Attributes | |
bool | m_findReplaceInFilesActive |
bool | m_findMode |
wxWindow * | m_findPage |
Definition at line 16 of file findreplacedlg.h.
FindReplaceDlg::FindReplaceDlg | ( | wxWindow * | parent, |
const wxString & | initial = wxEmptyString , |
||
bool | hasSelection = false , |
||
bool | findMode = true , |
||
bool | findReplaceInFilesOnly = false , |
||
bool | findReplaceInFilesActive = false |
||
) |
Definition at line 63 of file findreplacedlg.cpp.
References _(), _T, CONF_GROUP, wxRadioBox::Enable(), ConfigManager::Exists(), wxChoice::FindString(), wxXmlResource::Get(), Manager::Get(), cbProject::GetActiveBuildTarget(), ProjectManager::GetActiveProject(), CompileTargetBase::GetBasePath(), cbProject::GetBuildTarget(), cbProject::GetBuildTargetsCount(), EditorManager::GetBuiltinEditor(), Manager::GetConfigManager(), Manager::GetEditorManager(), EditorManager::GetEditorsCount(), Manager::GetProjectManager(), ProjectManager::GetProjects(), wxRadioBox::GetSelection(), CompileTargetBase::GetTitle(), wxRadioBox::IsItemEnabled(), wxXmlResource::LoadObject(), maxTargetCount, OnReplaceChange(), ConfigManager::Read(), ConfigManager::ReadBool(), ConfigManager::ReadInt(), wxChoice::SetSelection(), wxRadioBox::SetSelection(), ConfigManager::UnSet(), and wxT.
|
override |
Definition at line 295 of file findreplacedlg.cpp.
References _T, CONF_GROUP, Manager::Get(), Manager::GetConfigManager(), IsFindInFiles(), m_findPage, m_findReplaceInFilesActive, OnReplaceChange(), SaveComboValues(), and ConfigManager::Write().
|
private |
Definition at line 755 of file findreplacedlg.cpp.
References _T, Manager::Get(), Manager::GetConfigManager(), and ConfigManager::Read().
|
overridevirtual |
Implements FindReplaceBase.
Definition at line 450 of file findreplacedlg.cpp.
References IsFindInFiles().
|
overridevirtual |
Implements FindReplaceBase.
Definition at line 400 of file findreplacedlg.cpp.
References IsFindInFiles().
|
overridevirtual |
Implements FindReplaceBase.
Definition at line 487 of file findreplacedlg.cpp.
References IsFindInFiles().
|
overridevirtual |
Implements FindReplaceBase.
Definition at line 365 of file findreplacedlg.cpp.
References IsFindInFiles(), and IsMultiLine().
|
overridevirtual |
Implements FindReplaceBase.
Definition at line 457 of file findreplacedlg.cpp.
|
overridevirtual |
Implements FindReplaceBase.
Definition at line 480 of file findreplacedlg.cpp.
References IsFindInFiles().
|
overridevirtual |
Implements FindReplaceBase.
Definition at line 513 of file findreplacedlg.cpp.
|
overridevirtual |
Implements FindReplaceBase.
Definition at line 436 of file findreplacedlg.cpp.
References IsFindInFiles().
|
overridevirtual |
Implements FindReplaceBase.
Definition at line 413 of file findreplacedlg.cpp.
References IsFindInFiles().
|
overridevirtual |
Implements FindReplaceBase.
Definition at line 473 of file findreplacedlg.cpp.
References IsFindInFiles().
|
overridevirtual |
Implements FindReplaceBase.
Definition at line 494 of file findreplacedlg.cpp.
References IsFindInFiles().
|
overridevirtual |
Implements FindReplaceBase.
Definition at line 528 of file findreplacedlg.cpp.
|
overridevirtual |
Implements FindReplaceBase.
Definition at line 508 of file findreplacedlg.cpp.
|
overridevirtual |
Implements FindReplaceBase.
Definition at line 443 of file findreplacedlg.cpp.
References IsFindInFiles().
|
overridevirtual |
Implements FindReplaceBase.
Definition at line 379 of file findreplacedlg.cpp.
References IsFindInFiles(), and IsMultiLine().
|
overridevirtual |
Implements FindReplaceBase.
Definition at line 501 of file findreplacedlg.cpp.
References IsFindInFiles().
|
overridevirtual |
Implements FindReplaceBase.
Definition at line 523 of file findreplacedlg.cpp.
|
overridevirtual |
Implements FindReplaceBase.
Definition at line 518 of file findreplacedlg.cpp.
|
overridevirtual |
Implements FindReplaceBase.
Definition at line 408 of file findreplacedlg.cpp.
|
overridevirtual |
Implements FindReplaceBase.
Definition at line 462 of file findreplacedlg.cpp.
References IsFindInFiles().
|
overridevirtual |
Implements FindReplaceBase.
Definition at line 425 of file findreplacedlg.cpp.
References IsFindInFiles().
|
overridevirtual |
Implements FindReplaceBase.
Definition at line 533 of file findreplacedlg.cpp.
References Manager::Get(), ProjectManager::GetActiveProject(), cbProject::GetBuildTarget(), cbProject::GetBuildTargetsCount(), Manager::GetProjectManager(), wxChoice::GetSelection(), wxChoice::GetString(), and CompileTargetBase::GetTitle().
|
overridevirtual |
Implements FindReplaceBase.
Definition at line 395 of file findreplacedlg.cpp.
References m_findReplaceInFilesActive.
Referenced by GetAutoWrapSearch(), GetDeleteOldSearches(), GetDirection(), GetFindString(), GetFixEOLs(), GetMatchCase(), GetMatchWord(), GetMultiLine(), GetOrigin(), GetRegEx(), GetReplaceString(), GetScope(), GetStartFile(), GetStartWord(), IsMultiLine(), OnActivate(), OnDeferredFocus(), and ~FindReplaceDlg().
bool FindReplaceDlg::IsMultiLine | ( | ) | const |
Definition at line 553 of file findreplacedlg.cpp.
References IsFindInFiles().
Referenced by GetFindString(), GetReplaceString(), OnActivate(), and OnDeferredFocus().
|
protected |
Definition at line 671 of file findreplacedlg.cpp.
References IsFindInFiles(), and IsMultiLine().
|
protected |
Definition at line 589 of file findreplacedlg.cpp.
References _(), ChooseDirectory(), and wxString::IsEmpty().
|
protected |
Definition at line 650 of file findreplacedlg.cpp.
References IsFindInFiles(), and IsMultiLine().
|
protected |
Definition at line 745 of file findreplacedlg.cpp.
|
protected |
Definition at line 690 of file findreplacedlg.cpp.
References wxCheckBox::GetValue(), m_findMode, m_findPage, and wxCheckBox::SetValue().
|
protected |
Definition at line 666 of file findreplacedlg.cpp.
|
protected |
Definition at line 614 of file findreplacedlg.cpp.
References m_findReplaceInFilesActive, and wxID_ANY.
Referenced by FindReplaceDlg(), and ~FindReplaceDlg().
|
protected |
Definition at line 562 of file findreplacedlg.cpp.
References wxRadioBox::GetSelection(), and m_findPage.
|
protected |
Definition at line 597 of file findreplacedlg.cpp.
References _(), wxChoice::FindString(), Manager::Get(), cbProject::GetActiveBuildTarget(), cbProject::GetBuildTarget(), cbProject::GetBuildTargetsCount(), Manager::GetProjectManager(), ProjectManager::GetProjects(), wxChoice::GetSelection(), CompileTargetBase::GetTitle(), and wxChoice::SetSelection().
|
protected |
Definition at line 789 of file findreplacedlg.cpp.
References _(), Manager::Get(), ProjectManager::GetActiveProject(), cbProject::GetBuildTarget(), cbProject::GetBuildTargetsCount(), Manager::GetProjectManager(), IncrementalSelectDialog::GetSelection(), CompileTargetBase::GetTitle(), maxTargetCount, wxChoice::SetSelection(), wxDialog::ShowModal(), and wxID_OK.
|
private |
Definition at line 763 of file findreplacedlg.cpp.
References _T, wxArrayString::Add(), Manager::Get(), Manager::GetConfigManager(), wxArrayString::Index(), wxString::IsEmpty(), ConfigManager::Write(), and wxNOT_FOUND.
Referenced by ~FindReplaceDlg().
|
private |
Definition at line 66 of file findreplacedlg.h.
Referenced by OnMultiChange().
|
private |
Definition at line 67 of file findreplacedlg.h.
Referenced by OnMultiChange(), OnScopeChange(), and ~FindReplaceDlg().
|
private |
Definition at line 65 of file findreplacedlg.h.
Referenced by IsFindInFiles(), OnReplaceChange(), and ~FindReplaceDlg().