void EditableTextImplementor.CutText(int start_pos, int end_pos)
        {
            var oldSelection = TextEditorData.MainSelection;

            TextEditorData.SetSelection(start_pos, end_pos);
            ClipboardActions.Cut(TextEditorData);
            TextEditorData.MainSelection = oldSelection;
        }
 void EditableTextImplementor.PasteText(int position)
 {
     editor.Caret.Offset = position;
     ClipboardActions.Paste(TextEditorData);
 }