|
wxMaxima
|
A BTextCtrl that allows to input a regex. More...
#include <RegexCtrl.h>
Public Member Functions | |
| RegexCtrl (wxWindow *parent, wxWindowID id, Configuration *cfg, const wxString &configName) | |
| bool | Matches (wxString text) |
| void | SetSkipTab (bool skip) |
Static Public Member Functions | |
| static wxTextCtrl * | LastActive () |
| The last BTextCtrl that got the keyboard focus, if it still exists. | |
| static void | ForgetLastActive () |
| Route sidebar button presses back to the worksheet again. | |
|
inlinestaticinherited |
The last BTextCtrl that got the keyboard focus, if it still exists.
The symbols sidebars use this to route their button presses: if a text control (e.g. a wizard field) had the focus last, the symbol is inserted there instead of into the worksheet.
Held as a wxWeakRef, which nulls itself when the control is destroyed: a closed wizard can therefore never leave a dangling pointer here, and no destructor needs to unregister the control anywhere (unregistering via the Configuration object crashed on shutdown when the Configuration died first, see issue #2027).