RangeValue

abstract class RangeValue

Each range is associated with a value, which must inherit from this class.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open val endSide: Int = 0

The bias value at the end of the range. Determines ordering when multiple ranges end at the same position: negative values sort before, positive values sort after. Defaults to 0.

Link copied to clipboard
open val mapMode: MapMode

The mode with which the location of the range should be mapped when its from and to are the same. Defaults to MapMode.TrackDel.

Link copied to clipboard
open val point: Boolean = false

Determines whether this value marks a point range.

Link copied to clipboard
open val startSide: Int = 0

The bias value at the start of the range. Determines ordering when multiple ranges start at the same position: negative values sort before, positive values sort after. Defaults to 0.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
fun range(from: DocPos, to: DocPos = from): Range<Nothing>

Create a Range with this value.