30#ifndef FINDREPLACEPANE_H
31#define FINDREPLACEPANE_H
34#include <wx/fdrepdlg.h>
37#include <wx/radiobut.h>
38#include <wx/checkbox.h>
39#include <wx/textctrl.h>
51 bool GetRegexSearch()
const {
return m_regexSearch;}
52 void SetRegexSearch(
bool regexSearch) {m_regexSearch = regexSearch;}
62 wxTextCtrl *m_searchText;
63 wxTextCtrl *m_replaceText;
64 wxButton *m_searchButton;
65 wxButton *m_replaceButton;
66 wxButton *m_replaceAllButton;
67 wxRadioButton *m_forward;
68 wxRadioButton *m_backwards;
69 wxRadioButton *m_regexSearch;
70 wxRadioButton *m_simpleSearch;
71 wxCheckBox *m_matchCase;
73 bool m_activateDuringConstruction;
77 bool GetRegexSearch()
const {
return m_findReplaceData->GetRegexSearch();}
79 wxString GetFindString()
const
80 {
return m_findReplaceData->GetFindString(); }
82 void SetFindString(wxString strng);
84 wxFindReplaceData *GetData()
const
85 {
return m_findReplaceData; }
88 void OnActivate(wxActivateEvent &event);
90 void OnSearch(wxCommandEvent &event);
92 void OnReplace(wxCommandEvent &event);
94 void OnReplaceAll(wxCommandEvent &event);
96 void OnReplaceStringChange(wxCommandEvent &event);
98 void OnFindStringChange(wxCommandEvent &event);
100 void OnDirectionChange(wxCommandEvent &event);
102 void OnRegexSimpleChange(wxCommandEvent &event);
104 void OnMatchCase(wxCommandEvent &event);
106 void OnKeyDown(wxKeyEvent &event);
Definition: FindReplacePane.h:48
The find+replace pane.
Definition: FindReplacePane.h:44