Range

data class Range constructor(val startPoint: Point, val endPoint: Point, val startByte: UInt, val endByte: UInt)(source)

A range of positions in a text document, both in terms of bytes and of row-column points.

Throws

If the end point is smaller than the start point, or the end byte is smaller than the start byte.

Constructors

Link copied to clipboard
constructor(startPoint: Point, endPoint: Point, startByte: UInt, endByte: UInt)

Properties

Link copied to clipboard
@get:JvmName(name = "endByte")
val endByte: UInt
Link copied to clipboard
@get:JvmName(name = "endPoint")
val endPoint: Point
Link copied to clipboard
@get:JvmName(name = "startByte")
val startByte: UInt
Link copied to clipboard
@get:JvmName(name = "startPoint")
val startPoint: Point