void (char c, @NotNull PsiFile file, Editor editor) { myEnabled = false; if (editor.isColumnMode() || !StringUtil.isWhiteSpace(c)) { return; } Language language = getLanguageAtCursorPosition(file, editor); SmartBackspaceMode mode = getBackspaceMode(language); if (mode != myMode) { return; } doBeforeCharDeleted(c, file, editor); myEnabled = true; }