BCGSoft Professional Editor for MFC
void CBCGPOutlineNode::GetBlocksInRange ( int  nStart,
int  nEnd,
CObList &  lstOutlineBlocks,
BOOL  bFullInRangeOnly = TRUE,
BOOL  bRecursive = TRUE 
) const

Returns all collapsible nodes from the specified range (by offsets).

Used to find all collapsible nodes inside the specified range.

Parameters
nStartSpecifies the start of the range. It's a zero-based offset in the edit control internal buffer.
nEndSpecifies the end of the range. It's a zero-based offset in the edit control internal buffer.
lstOutlineBlocksOut parameter. Contains the list of found nodes, when the function returns.
bFullInRangeOnlyIf TRUE, the function retrieves only the nodes that are fully contained in the specified range. Otherwise, it also retrieves nodes which are partially in range.
bRecursiveIf FALSE, the function looks through the first level subnodes. If TRUE, the function looks through all subnodes.