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;}
60 wxTextCtrl *m_searchText;
61 wxTextCtrl *m_replaceText;
62 wxButton *m_searchButton;
63 wxButton *m_replaceButton;
64 wxButton *m_replaceAllButton;
65 wxRadioButton *m_forward;
66 wxRadioButton *m_backwards;
67 wxRadioButton *m_regexSearch;
68 wxRadioButton *m_simpleSearch;
69 wxCheckBox *m_matchCase;
70 wxCheckBox *m_searchInInput;
71 wxCheckBox *m_searchInOutput;
75 void SetFocus()
override;
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 wxFR_SEARCH_IN_INPUT = 0x10,
89 wxFR_SEARCH_IN_OUTPUT = 0x20
93 void OnSearch(wxCommandEvent &event);
95 void OnReplace(wxCommandEvent &event);
97 void OnReplaceAll(wxCommandEvent &event);
99 void OnReplaceStringChange(wxCommandEvent &event);
101 void OnFindStringChange(wxCommandEvent &event);
103 void OnDirectionChange(wxCommandEvent &event);
105 void OnRegexSimpleChange(wxCommandEvent &event);
107 void OnMatchCase(wxCommandEvent &event);
109 void OnSearchIn(wxCommandEvent &event);
111 void OnKeyDown(wxKeyEvent &event);
Definition: FindReplacePane.h:48
The find+replace pane.
Definition: FindReplacePane.h:44