private TextRange findFragment(int docOffset) {
      return ContainerUtil.find(myAffectedFragments.keySet(), range -> range.containsOffset(docOffset));
    }
private TextRange findFragment(int docOffset)