110 FoldScope(
const QTextBlock &block,
bool &valid);
113 int triggerLevel()
const;
114 int scopeLevel()
const;
115 bool collapsed()
const;
116 bool isValid()
const;
119 QPair<int, int> getRange(
bool ignoreBlankLines =
true)
const;
121 void unfold(
bool unfoldChildBlocks =
true);
122 QString text(
int maxLines)
const;
123 QSharedPointer<FoldScope> parent()
const;
124 QTextBlock trigger()
const;
125 QList<FoldScope> childRegions()
const;
126 QList<QTextBlock> blocks(
bool ignoreBlankLines =
true)
const;
128 static QTextBlock findParentScope(QTextBlock block);
131 QTextBlock m_trigger;