ParenMatcher Class Reference
#include <parenmatcher.h>
Public Types | |
enum | Selection { Match = 1, Mismatch } |
Public Member Functions | |
ParenMatcher () | |
virtual bool | match (QTextCursor *c) |
void | setEnabled (bool b) |
Private Member Functions | |
bool | checkOpenParen (QTextCursor *c) |
bool | checkClosedParen (QTextCursor *c) |
Private Attributes | |
bool | enabled |
Member Enumeration Documentation
|
Definition at line 45 of file parenmatcher.h. |
Constructor & Destructor Documentation
|
Definition at line 30 of file parenmatcher.cpp. References enabled. |
Member Function Documentation
|
Definition at line 131 of file parenmatcher.cpp. References Symbol::ch(), checkClosedParen(), Match, Mismatch, Symbol::pos(), and Symbol::type(). Referenced by checkClosedParen(), and match(). |
|
Definition at line 57 of file parenmatcher.cpp. References Symbol::ch(), checkOpenParen(), Match, Mismatch, Symbol::pos(), and Symbol::type(). Referenced by checkOpenParen(), and match(). |
|
Definition at line 35 of file parenmatcher.cpp. References checkClosedParen(), checkOpenParen(), enabled, and match(). Referenced by QEditor::doMatch(), and match(). |
|
Definition at line 54 of file parenmatcher.h. |
Member Data Documentation
|
Definition at line 60 of file parenmatcher.h. Referenced by match(), and ParenMatcher(). |
The documentation for this class was generated from the following files:
- editors/qeditor/parenmatcher.h
- editors/qeditor/parenmatcher.cpp