CBCGPOutlineNode* CBCGPOutlineNode::GetInnermostBlock | ( | int | nOffset | ) | const |
Searches for a collabsible node by offset and returns an innermost node.
This function is used to find a collapsible node where the offset is within the node's bounds. The GetInnermostBlock, unlike GetHiddenText, returns the innermost node, not the first found. Usually, this function is used by the edit control class, when it looks for a collapsible node to apply a user's command to.
nOffset | Specifies the offset from the beginning of text buffer. |