Audacity 3.2.0
|
#include <NyqBench.h>
Public Member Functions | |
NyqTextCtrl (wxWindow *parent, wxWindowID id, const wxString &value, const wxPoint &pos, const wxSize &size, int style=0) | |
void | SetFocusFromKbd () |
void | MarkDirty () |
void | GoMatch () |
void | GoTop () |
void | GoUp () |
void | GoPrev () |
void | GoNext () |
Private Member Functions | |
void | OnKeyUp (wxKeyEvent &e) |
void | OnChar (wxKeyEvent &e) |
void | OnUpdate (wxUpdateUIEvent &e) |
void | MoveCursor (long first, long second) |
void | Colorize (long left, long right) |
void | FindParens () |
DECLARE_EVENT_TABLE () | |
Private Attributes | |
wxLongToLongHashMap | mLeftParens |
wxLongToLongHashMap | mRightParens |
long | mLeftParen |
long | mRightParen |
long | mLastCaretPos |
wxTextAttr | mOn |
wxTextAttr | mOff |
Definition at line 29 of file NyqBench.h.
NyqTextCtrl::NyqTextCtrl | ( | wxWindow * | parent, |
wxWindowID | id, | ||
const wxString & | value, | ||
const wxPoint & | pos, | ||
const wxSize & | size, | ||
int | style = 0 |
||
) |
Definition at line 162 of file NyqBench.cpp.
|
private |
Definition at line 397 of file NyqBench.cpp.
References mLeftParen, mLeftParens, mOff, mOn, and mRightParen.
Referenced by MoveCursor(), OnKeyUp(), and OnUpdate().
|
private |
|
private |
Definition at line 427 of file NyqBench.cpp.
References mLeftParens, mRightParens, Tuple::detail::npos(), and wxT().
Referenced by MarkDirty().
void NyqTextCtrl::GoMatch | ( | ) |
Definition at line 291 of file NyqBench.cpp.
References mLeftParen, MoveCursor(), and mRightParen.
Referenced by NyqBench::OnGoMatch().
void NyqTextCtrl::GoNext | ( | ) |
Definition at line 360 of file NyqBench.cpp.
References mLeftParen, mLeftParens, and MoveCursor().
Referenced by NyqBench::OnGoNext().
void NyqTextCtrl::GoPrev | ( | ) |
Definition at line 340 of file NyqBench.cpp.
References mLeftParen, mLeftParens, and MoveCursor().
Referenced by NyqBench::OnGoPrev().
void NyqTextCtrl::GoTop | ( | ) |
Definition at line 296 of file NyqBench.cpp.
References mLeftParen, mLeftParens, and MoveCursor().
Referenced by NyqBench::OnGoTop().
void NyqTextCtrl::GoUp | ( | ) |
Definition at line 318 of file NyqBench.cpp.
References mLeftParen, mLeftParens, and MoveCursor().
Referenced by NyqBench::OnGoUp().
void NyqTextCtrl::MarkDirty | ( | ) |
Definition at line 189 of file NyqBench.cpp.
References FindParens().
|
private |
Definition at line 380 of file NyqBench.cpp.
References Colorize(), and wxT().
Referenced by GoMatch(), GoNext(), GoPrev(), GoTop(), and GoUp().
|
private |
Definition at line 195 of file NyqBench.cpp.
References mLeftParen, mLeftParens, mOff, and mRightParen.
|
private |
Definition at line 241 of file NyqBench.cpp.
References Colorize(), mLeftParens, mRightParens, and wxT().
|
private |
Definition at line 264 of file NyqBench.cpp.
References Colorize(), mLastCaretPos, mLeftParens, mRightParens, and wxT().
void NyqTextCtrl::SetFocusFromKbd | ( | ) |
Definition at line 178 of file NyqBench.cpp.
|
private |
Definition at line 67 of file NyqBench.h.
Referenced by OnUpdate().
|
private |
Definition at line 64 of file NyqBench.h.
Referenced by Colorize(), GoMatch(), GoNext(), GoPrev(), GoTop(), GoUp(), and OnChar().
|
private |
Definition at line 61 of file NyqBench.h.
Referenced by Colorize(), FindParens(), GoNext(), GoPrev(), GoTop(), GoUp(), OnChar(), OnKeyUp(), and OnUpdate().
|
private |
Definition at line 70 of file NyqBench.h.
Referenced by Colorize(), and OnChar().
|
private |
Definition at line 69 of file NyqBench.h.
Referenced by Colorize().
|
private |
Definition at line 65 of file NyqBench.h.
Referenced by Colorize(), GoMatch(), and OnChar().
|
private |
Definition at line 62 of file NyqBench.h.
Referenced by FindParens(), OnKeyUp(), and OnUpdate().