ParenMatcher Class Reference
#include <parenmatcher.h>
Collaboration diagram for ParenMatcher:

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(), Symbol::pos(), and Symbol::type(). Referenced by match(). |
|
Definition at line 57 of file parenmatcher.cpp. References Symbol::ch(), Symbol::pos(), and Symbol::type(). Referenced by match(). |
|
Definition at line 35 of file parenmatcher.cpp. References checkClosedParen(), and checkOpenParen(). Referenced by QEditor::doMatch(). |
|
Definition at line 54 of file parenmatcher.h. References enabled. |
Member Data Documentation
|
Definition at line 60 of file parenmatcher.h. Referenced by ParenMatcher(), and setEnabled(). |
The documentation for this class was generated from the following files:
- editors/qeditor/parenmatcher.h
- editors/qeditor/parenmatcher.cpp