itom
Loading...
Searching...
No Matches
ito::FoldScope Class Reference

Public Member Functions

 FoldScope (const QTextBlock &block, bool &valid)
 
int triggerLevel () const
 
int scopeLevel () const
 
bool collapsed () const
 
bool isValid () const
 
QPair< int, int > getRange (bool ignoreBlankLines=true) const
 
void fold ()
 
void unfold (bool unfoldChildBlocks=true)
 
QString text (int maxLines) const
 
QSharedPointer< FoldScopeparent () const
 
QTextBlock trigger () const
 
QList< FoldScopechildRegions () const
 
QList< QTextBlock > blocks (bool ignoreBlankLines=true) const
 

Static Public Member Functions

static QTextBlock findParentScope (QTextBlock block)
 

Private Attributes

QTextBlock m_trigger
 

The documentation for this class was generated from the following files: