void append(@NotNull String text) {
    myBuffer = myEndOffset < myBuffer.length() ? myBuffer.substring(myEndOffset) + text : text;
    myStartOffset = 0;
    myEndOffset = 0;
  }
void append(@NotNull String text)