public void appendPrefix(char c, boolean refreshUi) {
    checkValid();
    myOffsets.appendPrefix(c);
    myPresentableArranger.prefixChanged(this);
    requestResize();
    if (refreshUi) {
      refreshUi(false, true);
      ensureSelectionVisible(true);
    }
    for (PrefixChangeListener listener : myPrefixChangeListeners) {
      listener.afterAppend(c);
    }
  }
public void appendPrefix(char c, boolean refreshUi)