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
Since: Together 3.0
See Also: SciObject, SciObject.getText(), SciObject.getContainingFile(), com.togethersoft.openapi.ide.editor.IdeEditor.getPositionConverter()

Method Summary
 intgetEndOffset()
          Returns an integer value containing the offset of the last byte of SciObject's text in the file.
 intgetStartOffset()
          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()