@Nullable
  @Override
  public Commenter getLineCommenter(@NotNull PsiFile file,
                                    @NotNull Editor editor,
                                    @NotNull Language lineStartLanguage,
                                    @NotNull Language lineEndLanguage) {
    final TextMateScope actualScope = TextMateEditorUtils.getCurrentScopeSelector((EditorEx)editor);
    if (actualScope == null) {
      return null;
    }

    ShellVariablesRegistry registry = TextMateService.getInstance().getShellVariableRegistry();
    final TextMateCommentPrefixes prefixes = PreferencesReadUtil.readCommentPrefixes(registry, actualScope);

    return (prefixes.getBlockCommentPair() != null || prefixes.getLineCommentPrefix() != null) ? new MyCommenter(prefixes) : null;
  }
@Nullable
  @Override
  public Commenter getLineCommenter(@NotNull PsiFile file,
                                    @NotNull Editor editor,
                                    @NotNull Language lineStartLanguage,
                                    @NotNull Language lineEndLanguage)