Overview | Package | Class | Use | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.togethersoft.openapi.sci
Interface SciTextPositions

public interface SciTextPositions

Contains the start and the end offsets of `SciObject`'s text in the file.

Author:
  TogetherSoft
See Also: SciObject, SciObject.getText(), SciObject.getContainingFile(), com.togethersoft.openapi.ide.editor.IdeEditor.getPositionConverter()

Method Summary
`int` | `getEndOffset()` Returns an integer value containing the offset of the last byte of `SciObject`'s text in the file.
`int` | `getStartOffset()` Returns an integer value containing the offset of the first byte of `SciObject`'s text in the file.

Method Detail

### getEndOffset

    public int getEndOffset()

  Returns an integer value containing the offset of the last byte of `SciObject`'s text in the file.
  Returns: an integer value containing the offset of the last byte of `SciObject`'s text in the file
  See Also:
    SciObject.getText()

### getStartOffset

    public int getStartOffset()

  Returns an integer value containing the offset of the first byte of `SciObject`'s text in the file.
  Returns: an integer value containing the offset of the first byte of `SciObject`'s text in the file
  See Also:
    SciObject.getText()

Overview | Package | Class | Use | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD