withBeginLine

open fun withBeginLine(beginLine: Int): Range(source)

Return

A copy of this `Range` object, but with the begin line number replaced with the given line number.

Parameters

beginLine

The value used to replace the current begin line number. Valid values are per the constructor ofPosition.