[ Version ( since = "3.22" ) ]
public SourceRegion? intersect_subregion (TextIter _start, TextIter _end)
Returns the intersection between this and the subregion delimited by @_start and @_end.
this is not modified.
this |
a SourceRegion. |
_start |
the start of the subregion. |
_end |
the end of the subregion. |
the intersection as a new SourceRegion. |