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.
nStart | Specifies the start of the range. It's a zero-based offset in the edit control internal buffer. |
nEnd | Specifies the end of the range. It's a zero-based offset in the edit control internal buffer. |
lstOutlineBlocks | Out parameter. Contains the list of found nodes, when the function returns. |
bFullInRangeOnly | If 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. |
bRecursive | If FALSE, the function looks through the first level subnodes. If TRUE, the function looks through all subnodes. |