RangeMarker (@NotNull Document document, @NotNull Long2ObjectMap<RangeMarker> range2markerCache, long textRange) { return range2markerCache.computeIfAbsent(textRange, __ -> document.createRangeMarker(TextRangeScalarUtil.startOffset(textRange), TextRangeScalarUtil.endOffset(textRange))); }