void () { init("te<caret>xt", PlainTextFileType.INSTANCE); executeAction(IdeActions.ACTION_EDITOR_TOGGLE_STICKY_SELECTION); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_RIGHT); executeAction(IdeActions.ACTION_EDITOR_BACKSPACE); checkResultByText("te<caret>t"); assertFalse(((EditorEx)getEditor()).isStickySelection()); }