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
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.
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)