@Override
  public @NonNls String toString() {
    return "RangeMarker" + (isGreedyToLeft() ? "[" : "(")
           + (isValid() ? "" : "invalid:") + getStartOffset() + "," + getEndOffset()
           + (isGreedyToRight() ? "]" : ")")
           + " " + (isValid() ? getId() : "");
  }
@Override
  public @NonNls String toString()