public interface ILineRange
Note that the number of lines is 1-based, e.g. getStartLine() + getNumberOfLines()
computes the first line after the range, and a range with
getNumberOfLines() == 0
is empty.
Modifier and Type | Method and Description |
---|---|
int |
getNumberOfLines()
Returns the number of lines of this line range or
-1 . |
int |
getStartLine()
Returns the start line of this line range or
-1 . |
int getStartLine()
-1
.-1
if this line range is invalid.int getNumberOfLines()
-1
.-1
if this line range is invalid.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.