return myDelegate.getLineNumber(hostOffset);
}
@Override
public boolean containsRange(int start, int end) {
synchronized (myLock) {
<BUG>if (end - start > myShreds.get(0).getHostRangeMarker().getEndOffset() - myShreds.get(0).getHostRangeMarker().getStartOffset()) return false;
for (PsiLanguageInjectionHost.Shred shred : myShreds) {</BUG>
Segment hostRange = shred.getHostRangeMarker();
if (hostRange == null) continue;
TextRange textRange = ProperTextRange.create(hostRange);

return myDelegate.getLineNumber(hostOffset);
}
@Override
public boolean containsRange(int start, int end) {
synchronized (myLock) {
Segment hostRangeMarker = myShreds.get(0).getHostRangeMarker();
if (hostRangeMarker == null || end - start > hostRangeMarker.getEndOffset() - hostRangeMarker.getStartOffset()) return false;
for (PsiLanguageInjectionHost.Shred shred : myShreds) {
Segment hostRange = shred.getHostRangeMarker();
if (hostRange == null) continue;
TextRange textRange = ProperTextRange.create(hostRange);
