Sets selection range and update the desired column.
Namespace: Sgry.Azuki.WinFormsAssembly: Azuki (in Azuki.dll) Version: 1.7.13.40248
Syntax
C# |
---|
public void SetSelection( int anchor, int caret ) |
Visual Basic |
---|
Public Sub SetSelection ( anchor As Integer, caret As Integer ) |
Parameters
- anchor
- Type: System..::..Int32
the position where the selection begins
- caret
- Type: System..::..Int32
the position where the caret is
Implements
IUserInterface..::..SetSelection(Int32, Int32)
Remarks
This method sets the selection range and also updates the desired column.
Normally the caret tries to keep its x-coordinate on moving line to line unless user explicitly changes x-coordinate of it. The term 'Desired Column' means this x-coordinate which the caret tries to stick close to.