The find+replace pane.
More...
#include <FindReplacePane.h>
|
| enum | { wxFR_SEARCH_IN_INPUT = 0x10
, wxFR_SEARCH_IN_OUTPUT = 0x20
} |
| |
|
| | FindReplacePane (wxWindow *parent, FindReplaceData *data, bool searchOnly=false) |
| |
| void | SetEventTarget (wxEvtHandler *target) |
| | Send the search events to this handler instead of the outermost window.
|
| |
|
void | SetFocus () override |
| |
|
bool | GetRegexSearch () const |
| |
|
wxString | GetFindString () const |
| |
|
void | SetFindString (wxString strng) |
| |
|
wxFindReplaceData * | GetData () const |
| |
|
|
void | OnSearch (wxCommandEvent &event) |
| |
|
void | OnReplace (wxCommandEvent &event) |
| |
|
void | OnReplaceAll (wxCommandEvent &event) |
| |
|
void | OnReplaceStringChange (wxCommandEvent &event) |
| |
|
void | OnFindStringChange (wxCommandEvent &event) |
| |
|
void | OnDirectionChange (wxCommandEvent &event) |
| |
|
void | OnRegexSimpleChange (wxCommandEvent &event) |
| |
|
void | OnMatchCase (wxCommandEvent &event) |
| |
|
void | OnSearchIn (wxCommandEvent &event) |
| |
|
void | OnKeyDown (wxKeyEvent &event) |
| |
◆ FindReplacePane()
| FindReplacePane::FindReplacePane |
( |
wxWindow * |
parent, |
|
|
FindReplaceData * |
data, |
|
|
bool |
searchOnly = false |
|
) |
| |
- Parameters
-
| parent | The window the pane is shown in |
| data | Where the search string and the settings are kept |
| searchOnly | Hide everything that is about replacing, and the choice of searching in input or output: for a read-only view like the matrix viewer, which has no input and nothing that could be replaced. |
◆ SetEventTarget()
| void FindReplacePane::SetEventTarget |
( |
wxEvtHandler * |
target | ) |
|
|
inline |
Send the search events to this handler instead of the outermost window.
By default the events go to the window at the top of the parent chain, which is wxMaxima's main window – also for the dockable pane after it was undocked into a floating frame of its own. A window that isn't the main window, but whose find dialog nevertheless ends up with the main window as its outermost parent (the matrix viewer), has to say that it wants the events itself.
The documentation for this class was generated from the following files: