AGS.Editor.ScintillaWrapper.SetSelection C# (CSharp) Method

SetSelection() public method

public SetSelection ( int pos, int length ) : void
pos int
length int
return void
        public void SetSelection(int pos, int length)
        {
            scintillaControl1.EnsureVisible(scintillaControl1.LineFromPosition(pos));
            scintillaControl1.SetSel(pos, pos + length);
        }
ScintillaWrapper