Method GetSelectionForLine
GetSelectionForLine(int, out int, out int)
Sets left and right index of the first and last selected characters within specified line.
public virtual 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.
GetSelectionForLine(int, out int, out int, bool)
protected virtual bool GetSelectionForLine(int index, out int left, out int right, bool checkBounds)
Parameters
Returns
GetSelectionForLine(int, out int, out int, bool, SelectionType, Rectangle)
protected bool GetSelectionForLine(int index, out int left, out int right, bool checkBounds, SelectionType selType, Rectangle selRect)