public interface IRewriteTarget
ITextViewer
,
IDocument
,
IUndoManager
Modifier and Type | Method and Description |
---|---|
void |
beginCompoundChange()
If an undo manager is connected to the document's visible presentation,
this method tells the undo manager to fold all subsequent changes into
one single undo command until
endCompoundChange is called. |
void |
endCompoundChange()
If an undo manager is connected to the document's visible presentation,
this method tells the undo manager to stop the folding of changes into a
single undo command.
|
IDocument |
getDocument()
Returns the document of this target.
|
void |
setRedraw(boolean redraw)
Disables/enables redrawing while modifying the target's document.
|
IDocument getDocument()
void setRedraw(boolean redraw)
redraw
- true
if the document's visible presentation
should be updated, false
otherwisevoid beginCompoundChange()
endCompoundChange
is called.void endCompoundChange()
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.