@NotNull
  private static Element createEmptyElement(int startOffset, int endOffset) {
    return new Element(startOffset, endOffset, null, TextAttributes.ERASE_MARKER, TextAttributesKey.EMPTY_ARRAY);
  }
@NotNull
  private static Element createEmptyElement(int startOffset, int endOffset)