|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILineRange
Describes a range of lines.
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.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
int getStartLine()
-1.
-1 if this line range is invalid.int getNumberOfLines()
-1.
-1 if this line range is invalid.
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.