public void CenterTo(int offset)
 {
     textEditorImpl.CenterTo(offset);
 }