protected void setEditorText(@NotNull String text, boolean updateHighlighter) {
    myTextToReformat = StringUtil.convertLineSeparators(text);
    if (updateHighlighter) updatePreviewHighlighter(myEditor);
    updateEditorState(false);
  }
protected void setEditorText(@NotNull String text, boolean updateHighlighter)