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 |
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. |
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()