minimalReplace(String newText) Internal routine for performing the smallest single update operation to the document given an
old document and a new text string.
Flush this unit to its document, writing changes as needed and updating flags.
See Also:SourceUnit.writeLock true iff the document was written to by the operation public abstract booleanflush();
final protected synchronized Thread getWritingThread()(Code)
Fetches the current writing thread if there is one. This can be used to distinguish whether a
method is being called as part of an existing modification or if a lock needs to be acquired
and a new transaction started.
the thread actively modifying the document or null if there are nomodifications in progress
Internal routine for performing the smallest single update operation to the document given an
old document and a new text string.
Parameters: newText - The new document text contents.
abstractprotected void read(char[] cbuf, int len)(Code)
Read the actual characters from the source document's content. Concrete subclasses must
override this method to process the buffer characters into the model.