- <init>
- copy
Creates a new range with the same start and length as the passed line range.
- createAbsolute
Creates a new range with the given start and end offsets.
- createRelative
Creates a new range with the given start offset and length.
- end
Returns the first line after this range. Equivalent to #start() + #length().
- length
Returns the number of lines contained in this range. Short equivalent of
#getNumberOfLines().
- moveTo
Moves the receiver to start, keeping #length() constant.
- resizeBy
Resizes the range by delta lines, keeping #start() constant.
- setEnd
Sets the end of this range, keeping #start() constant.
- setLength
Sets the length of this range, keeping #start() constant.
- setStart
Moves the start offset to start, keeping #end() constant.
- split
Splits a range off the end of the receiver. The receiver is shortened to only
includeremaining lines