Region.intersectRegion

gtksource.region.Region intersectRegion(gtksource.region.Region region2 = null)

Returns the intersection between region1 and region2.

region1 and region2 are not modified.

Parameters

region2a #GtkSourceRegion, or null.

Returns

the intersection as a #GtkSourceRegion

object.