Package org.eclipse.jface.text.revisions
Class RevisionRange
java.lang.Object
org.eclipse.jface.text.revisions.RevisionRange
- All Implemented Interfaces:
ILineRange
An unmodifiable line range that belongs to a
Revision.- Since:
- 3.3
- Restriction:
- This class is not intended to be instantiated by clients.
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of lines of this line range or-1.Returns the revision that this range belongs to.intReturns the start line of this line range or-1.toString()
-
Method Details
-
getRevision
Returns the revision that this range belongs to.- Returns:
- the revision that this range belongs to
-
getStartLine
public int getStartLine()Description copied from interface:ILineRangeReturns the start line of this line range or-1.- Specified by:
getStartLinein interfaceILineRange- Returns:
- the start line of this line range or
-1if this line range is invalid.
-
getNumberOfLines
public int getNumberOfLines()Description copied from interface:ILineRangeReturns the number of lines of this line range or-1.- Specified by:
getNumberOfLinesin interfaceILineRange- Returns:
- the number of lines in this line range or
-1if this line range is invalid.
-
toString
-