Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.jface.text.source
Interface ILineRange

All Known Implementing Classes:
  LineRange

public interface ILineRange

Describes a range of lines.

Since:
  3.0

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

### getStartLine

    public int getStartLine()

  Returns the start line of this line range or `-1`.

  Returns:
    the start line of this line range or `-1` if this line range is invalid.

### getNumberOfLines

    public int getNumberOfLines()

  Returns the number of lines of this line range or `-1`.

  Returns:
    the number of lines in this line range or `-1` if this line range is invalid.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.