@Override
  public void addTextSegment(@NotNull String text) {
    text = StringUtil.convertLineSeparators(text);
    myTemplateText += text;
  }
@Override
  public void addTextSegment(@NotNull String text)