translate
fun translate(lineDelta: Int = definedExternally, characterDelta: Int = definedExternally): Position(source)
Create a new position relative to this position.
Parameters
lineDelta
Delta value for the line value, default is 0
.
characterDelta
Delta value for the character value, default is 0
.
Derived a new position relative to this position.
Parameters
change
An object that describes a delta to this position.