return myDelegate.getLineNumber(hostOffset);
}
public boolean containsRange(int start, int end) {
if (end - start > myRelevantRangesInHostDocument[0].getEndOffset() - myRelevantRangesInHostDocument[0].getStartOffset()) return false;
for (RangeMarker hostRange : myRelevantRangesInHostDocument) {
<BUG>if (InjectedLanguageUtil.toTextRange(hostRange).contains(new TextRange(start, end))) return true;
</BUG>
}
return false;
}

return myDelegate.getLineNumber(hostOffset);
}
public boolean containsRange(int start, int end) {
if (end - start > myRelevantRangesInHostDocument[0].getEndOffset() - myRelevantRangesInHostDocument[0].getStartOffset()) return false;
for (RangeMarker hostRange : myRelevantRangesInHostDocument) {
if (InjectedLanguageUtil.toTextRange(hostRange).contains(new ProperTextRange(start, end))) return true;
}
return false;
}
