caret_in_selection
caret_in_selection ([doc])
This function returns 1 (true) if the caret is within the current selection of the document specified by doc, or the current document if doc is omitted. Returns 0 (false) if the caret is not within the selection, or if nothing is selected in the document identified by doc.
Related Topics