Kate
KateCodeFoldingTree Class Reference
#include <katecodefoldinghelpers.h>
Public Slots | |
int | collapseOne (int realLine) |
void | collapseToplevelNodes () |
void | ensureVisible (uint line) |
void | expandOne (int realLine, int numLines) |
void | expandToplevelNodes (int numLines) |
void | toggleRegionVisibility (unsigned int) |
void | updateLine (unsigned int line, QMemArray< uint > *regionChanges, bool *updated, bool changed, bool colschanged) |
Signals | |
void | regionBeginEndAddedRemoved (unsigned int) |
void | regionVisibilityChangedAt (unsigned int) |
Public Member Functions | |
void | clear () |
void | debugDump () |
KateCodeFoldingNode * | findNodeForLine (unsigned int line) |
KateCodeFoldingNode * | findNodeForPosition (unsigned int line, unsigned int column) |
void | fixRoot (int endLRel) |
unsigned int | getHiddenLinesCount (unsigned int docLine) |
void | getLineInfo (KateLineInfo *info, unsigned int line) |
unsigned int | getRealLine (unsigned int virtualLine) |
unsigned int | getStartLine (KateCodeFoldingNode *node) |
unsigned int | getVirtualLine (unsigned int realLine) |
bool | isTopLevel (unsigned int line) |
KateCodeFoldingTree (KateBuffer *buffer) | |
void | lineHasBeenInserted (unsigned int line) |
void | lineHasBeenRemoved (unsigned int line) |
~KateCodeFoldingTree () |
Detailed Description
Definition at line 116 of file katecodefoldinghelpers.h.
Constructor & Destructor Documentation
KateCodeFoldingTree::KateCodeFoldingTree | ( | KateBuffer * | buffer | ) |
Definition at line 153 of file katecodefoldinghelpers.cpp.
KateCodeFoldingTree::~KateCodeFoldingTree | ( | ) |
Definition at line 181 of file katecodefoldinghelpers.cpp.
Member Function Documentation
void KateCodeFoldingTree::clear | ( | ) |
Definition at line 163 of file katecodefoldinghelpers.cpp.
Definition at line 1552 of file katecodefoldinghelpers.cpp.
void KateCodeFoldingTree::collapseToplevelNodes | ( | ) | [slot] |
Definition at line 1515 of file katecodefoldinghelpers.cpp.
void KateCodeFoldingTree::debugDump | ( | ) |
Definition at line 356 of file katecodefoldinghelpers.cpp.
void KateCodeFoldingTree::ensureVisible | ( | uint | line | ) | [slot] |
Ensures that all nodes surrounding line
are open.
Definition at line 1634 of file katecodefoldinghelpers.cpp.
Definition at line 1581 of file katecodefoldinghelpers.cpp.
void KateCodeFoldingTree::expandToplevelNodes | ( | int | numLines | ) | [slot] |
Definition at line 1538 of file katecodefoldinghelpers.cpp.
KateCodeFoldingNode * KateCodeFoldingTree::findNodeForLine | ( | unsigned int | line | ) |
Definition at line 256 of file katecodefoldinghelpers.cpp.
KateCodeFoldingNode * KateCodeFoldingTree::findNodeForPosition | ( | unsigned int | line, | |
unsigned int | column | |||
) |
Definition at line 305 of file katecodefoldinghelpers.cpp.
void KateCodeFoldingTree::fixRoot | ( | int | endLRel | ) |
Definition at line 158 of file katecodefoldinghelpers.cpp.
Definition at line 1489 of file katecodefoldinghelpers.cpp.
void KateCodeFoldingTree::getLineInfo | ( | KateLineInfo * | info, | |
unsigned int | line | |||
) |
Definition at line 202 of file katecodefoldinghelpers.cpp.
Definition at line 1435 of file katecodefoldinghelpers.cpp.
unsigned int KateCodeFoldingTree::getStartLine | ( | KateCodeFoldingNode * | node | ) |
Definition at line 1021 of file katecodefoldinghelpers.cpp.
Definition at line 1465 of file katecodefoldinghelpers.cpp.
Definition at line 185 of file katecodefoldinghelpers.cpp.
void KateCodeFoldingTree::lineHasBeenInserted | ( | unsigned int | line | ) |
Definition at line 1094 of file katecodefoldinghelpers.cpp.
void KateCodeFoldingTree::lineHasBeenRemoved | ( | unsigned int | line | ) |
Definition at line 1031 of file katecodefoldinghelpers.cpp.
void KateCodeFoldingTree::regionBeginEndAddedRemoved | ( | unsigned | int | ) | [signal] |
void KateCodeFoldingTree::regionVisibilityChangedAt | ( | unsigned | int | ) | [signal] |
void KateCodeFoldingTree::toggleRegionVisibility | ( | unsigned int | line | ) | [slot] |
Definition at line 1326 of file katecodefoldinghelpers.cpp.
void KateCodeFoldingTree::updateLine | ( | unsigned int | line, | |
QMemArray< uint > * | regionChanges, | |||
bool * | updated, | |||
bool | changed, | |||
bool | colschanged | |||
) | [slot] |
Definition at line 382 of file katecodefoldinghelpers.cpp.
The documentation for this class was generated from the following files: