private String getRangeText(@NotNull String hostText, int hostNum) {
    synchronized (myLock) {
      PsiLanguageInjectionHost.Shred shred = myShreds.get(hostNum);
      Segment hostRangeMarker = shred.getHostRangeMarker();
      return shred.getPrefix() +
             (hostRangeMarker == null ? "" : hostText.substring(hostRangeMarker.getStartOffset(), hostRangeMarker.getEndOffset())) +
             shred.getSuffix();
    }
  }
private String getRangeText(@NotNull String hostText, int hostNum)