public void removeDocumentListener(final DocumentListener listener) {
myDelegate.removeDocumentListener(listener);
}
public RangeMarker createRangeMarker(final int startOffset, final int endOffset) {
assert startOffset <= endOffset;
<BUG>TextRange hostRange = injectedToHost(new TextRange(startOffset, endOffset));
</BUG>
RangeMarker hostMarker = myDelegate.createRangeMarker(hostRange);
return new RangeMarkerWindow(this, (RangeMarkerEx)hostMarker);
}

public void removeDocumentListener(final DocumentListener listener) {
myDelegate.removeDocumentListener(listener);
}
public RangeMarker createRangeMarker(final int startOffset, final int endOffset) {
assert startOffset <= endOffset;
TextRange hostRange = injectedToHost(new ProperTextRange(startOffset, endOffset));
RangeMarker hostMarker = myDelegate.createRangeMarker(hostRange);
return new RangeMarkerWindow(this, (RangeMarkerEx)hostMarker);
}
