ISourceModelEvent Interface
- public interface ISourceModelEvent
A source model event indicates that the text of the source model has changed in some way. Changes include text
changes and line attribute changes. See ISourceModelListener
and
<code>ISourceModel.addSourceModelListener</code>
for more information.
getLength() Method
public int getLength()
Returns the length of change indicated by the event
getOffset() Method
public int getOffset()
Returns the character offset of the event
getType() Method
public ISourceModelEvent.EventType
getType()
Returns the type of change indicated by the event
isComplierSignificant() Method
public boolean isComplierSignificant()
Returns a boolean indicating if the change that will be passed to the compiler. Text-based
changes are always compiler-significant. Changes to line attributes are not.