Method GetSearchSelectionForLine
GetSearchSelectionForLine(int, out int, out int)
Sets left and right parameter to the first and last selected characters within specified line, when edit control is in search selection mode.
public virtual bool GetSearchSelectionForLine(int index, out int left, out int right)
Parameters
index
intIndex of line within Edit control content.
left
intReceives index of the first selected character.
right
intReceives index of the last selected character.
Returns
- bool
True if succeed; otherwise false.