- <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().
- moveBy
Moves the range by delta lines, keeping #length() constant. The resulting start
line must be >= 0.
- 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.