void (@NotNull Editor editor, Caret caret, DataContext dataContext) { boolean camelMode = editor.getSettings().isCamelWords(); int endOffset = editor.getCaretModel().getOffset(); int startOffset = EditorActionUtil.getPreviousCaretStopOffset(editor, WORD_START_IGNORE_LINE_BREAK, camelMode, true); if (startOffset != endOffset) { KillRingUtil.cut(editor, startOffset, endOffset); } }