C# Class _3PA.Npp.Selection

Represents a selection when there are multiple active selections in a Scintilla control.
Show file Open project: jcaillon/3P

Public Methods

Method Description
Selection ( int index ) : System

Initializes a new instance of the Selection class.

SetPosition ( int pos ) : void

Sets both anchor and caret position to the same position

Method Details

Selection() public method

Initializes a new instance of the Selection class.
public Selection ( int index ) : System
index int The index of this selection within the SelectionCollection that created it.
return System

SetPosition() public method

Sets both anchor and caret position to the same position
public SetPosition ( int pos ) : void
pos int
return void