Method GetSelectionForLine
GetSelectionForLine(int, out int, out int)
When implemented by a class, sets left and right parameter to the first and last selected characters within specified line.
bool GetSelectionForLine(int index, out int left, out int right)
Parameters
indexintIndex of line within Edit control content.
leftintReceives index of the first selected character.
rightintReceives index of the last selected character.
Returns
- bool
True if succeed; otherwise false.