@Override
  public TextRange getHostRange(int hostOffset) {
    synchronized (myLock) {
      for (PsiLanguageInjectionHost.Shred shred : myShreds) {
        Segment currentRange = shred.getHostRangeMarker();
        if (currentRange == null) continue;
        TextRange textRange = ProperTextRange.create(currentRange);
        if (textRange.grown(1).contains(hostOffset)) return textRange;
      }
    }
    return null;
  }
@Override
  public TextRange getHostRange(int hostOffset)