ISourceModel.Line Interface

com.bea.ide.sourceeditor.model
ISourceModel.Line Interface

public static interface ISourceModel.Line

A line in the source model. It is assumed that it is safe to hold a reference to a line through document edits; Line objects must remain valid by tracking document changes and adjusting their range appropriately.


All Known Implementing Classes
SourceBreakpoint.DefaultLine
Enclosing interface

ISourceModel

Method Summary

public int
getEndOffset()
Returns the exclusive end offset of this line.
public int
getStartOffset()
Returns the inclusive start offset of this line.
public String
getText()
Returns the actual text of this line.

Method Detail

getEndOffset() Method

public int getEndOffset()
Returns the exclusive end offset of this line. Note that this may change over document edits.


getStartOffset() Method

public int getStartOffset()
Returns the inclusive start offset of this line. Note that this may change over document edits.


getText() Method

public String getText()
Returns the actual text of this line. Note that this may change over document edits.