Inheritance diagram for Outliner:
These can include functions, methods, fields, classes, errors and so on. Works as a filter on input editor stream.
Public Member Functions | |
Outliner (BaseEditor *baseEditor, const Region *searchRegion) | |
Creates outliner object, that searches stream for the specified type of region. | |
OutlineItem * | getItem (int idx) |
Returns reference to item with specified ordinal index in list of currently generated outline items. | |
int | itemCount () |
Total number of currently available outline items. | |
void | startParsing (int lno) |
void | endParsing (int lno) |
void | clearLine (int lno, String *line) |
void | addRegion (int lno, String *line, int sx, int ex, const Region *region) |
void | enterScheme (int lno, String *line, int sx, int ex, const Region *region, const Scheme *scheme) |
void | leaveScheme (int lno, String *line, int sx, int ex, const Region *region, const Scheme *scheme) |
void | modifyEvent (int topLine) |
Static Public Member Functions | |
static int | manageTree (Vector< int > &treeStack, int newLevel) |
Static service method to make easy tree reconstruction from created list of outline items. | |
Protected Member Functions | |
bool | isOutlined (const Region *region) |
Protected Attributes | |
BaseEditor * | baseEditor |
const Region * | searchRegion |
Vector< OutlineItem * > | outline |
bool | lineIsEmpty |
int | curLevel |
int | modifiedLine |
|
Creates outliner object, that searches stream for the specified type of region. Outliner is deattached on its explicit destruction action.
|
|
Returns reference to item with specified ordinal index in list of currently generated outline items. Note, that the returned pointer is vaild only between subsequent parser invocations. |
|
Static service method to make easy tree reconstruction from created list of outline items. This list contains unpacked level indexed of item's enclosure in scheme.
|