MalformedTreeException
or use TextEditProcessor
to execute an edit tree.
@param document the document to be manipulated
@param style flags controlling the execution of the edit tree. Validflags are: CREATE_UNDO
and UPDATE_REGIONS.
@return a undo edit, if CREATE_UNDO
is specified. Otherwisenull
is returned.
@exception MalformedTreeException is thrown if the tree isn'tin a valid state. This exception is thrown before any edit is executed. So the document is still in its original state.
@exception BadLocationException is thrown if one of the editsin the tree can't be executed. The state of the document is undefined if this exception is thrown.
@see TextEditProcessor#performEdits()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|