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