withEndColumn

open fun withEndColumn(endColumn: Int): Range(source)

Return

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

Parameters

endColumn

The value used to replace the current end column number. Valid values are per the constructor ofPosition.