public void SetSelection(int anchorOffset, int leadOffset)
 {
     textEditorImpl.SetSelection(anchorOffset, leadOffset);
 }