Gets range of current selection. Note that this method does not return [anchor, caret) pair but [begin, end) pair.

Namespace: Sgry.Azuki.WinForms
Assembly: Azuki (in Azuki.dll) Version: 1.7.5.21597

Syntax

C#
public void GetSelection(
	out int begin,
	out int end
)
Visual Basic
Public Sub GetSelection ( _
	<OutAttribute> ByRef begin As Integer, _
	<OutAttribute> ByRef end As Integer _
)

Parameters

begin
Type: System..::..Int32%
index of where the selection begins.
end
Type: System..::..Int32%
index of where the selection ends (selection do not includes the char at this index).

Implements

IUserInterface..::..GetSelection(Int32%, Int32%)

See Also