DocumentWindowImpl window = (DocumentWindowImpl)o;
return myDelegate.equals(window.getDelegate()) && areRangesEqual(window);
}
public int hashCode() {
synchronized (myLock) {
<BUG>return myShreds.get(0).getHostRangeMarker().getStartOffset();
}</BUG>
}
public boolean isOneLine() {
return myOneLine;

DocumentWindowImpl window = (DocumentWindowImpl)o;
return myDelegate.equals(window.getDelegate()) && areRangesEqual(window);
}
public int hashCode() {
synchronized (myLock) {
Segment hostRangeMarker = myShreds.get(0).getHostRangeMarker();
return hostRangeMarker == null ? -1 : hostRangeMarker.getStartOffset();
}
}
public boolean isOneLine() {
return myOneLine;
