Uses of Class
org.eclipse.text.edits.TextEdit
-
Packages that use TextEdit Package Description org.eclipse.core.filebuffers.manipulation Provides the API for manipulating file buffers.org.eclipse.jface.text Provides a framework for creating and manipulating text documents.org.eclipse.ltk.core.refactoring Application programmer interface to implement semantic preserving workspace transformations.org.eclipse.text.edits Provides support for describing and applying textual document editions. -
-
Uses of TextEdit in org.eclipse.core.filebuffers.manipulation
Subclasses of TextEdit in org.eclipse.core.filebuffers.manipulation Modifier and Type Class Description classMultiTextEditWithProgressMulti-text edit with progress reporting. -
Uses of TextEdit in org.eclipse.jface.text
Methods in org.eclipse.jface.text with parameters of type TextEdit Modifier and Type Method Description static booleanRewriteSessionEditProcessor. isLargeEdit(TextEdit edit)Returnstrueif the passed edit is considered large,falseotherwise.Constructors in org.eclipse.jface.text with parameters of type TextEdit Constructor Description RewriteSessionEditProcessor(IDocument document, TextEdit root, int style)Constructs a new edit processor for the given document. -
Uses of TextEdit in org.eclipse.ltk.core.refactoring
Methods in org.eclipse.ltk.core.refactoring that return TextEdit Modifier and Type Method Description TextEditTextChange. getEdit()Returns the root text edit.TextEditTextChange. getPreviewEdit(TextEdit original)Returns the edit that got executed during preview generation instead of the given original.TextEdit[]TextChange. getPreviewEdits(TextEdit[] originals)Returns the edits that were executed during preview generation instead of the given array of original edits.TextEdit[]TextEditBasedChangeGroup. getTextEdits()Returns the text edits managed by the underlying text edit group.Methods in org.eclipse.ltk.core.refactoring with parameters of type TextEdit Modifier and Type Method Description voidTextChange. addEdit(TextEdit edit)Adds the given edit to the edit tree.TextEditTextChange. getPreviewEdit(TextEdit original)Returns the edit that got executed during preview generation instead of the given original.TextEdit[]TextChange. getPreviewEdits(TextEdit[] originals)Returns the edits that were executed during preview generation instead of the given array of original edits.voidTextChange. setEdit(TextEdit edit)Sets the root text edit that should be applied to the document represented by this text change.Constructors in org.eclipse.ltk.core.refactoring with parameters of type TextEdit Constructor Description CategorizedTextEditGroup(String name, TextEdit[] edits, GroupCategorySet groupCategories)Creates a new text edit group with the given name, array of edits and a set of group categories.CategorizedTextEditGroup(String name, TextEdit edit, GroupCategorySet groupCategories)Creates a new text edit group with a name, a singleTextEditand a set of group categories. -
Uses of TextEdit in org.eclipse.text.edits
Subclasses of TextEdit in org.eclipse.text.edits Modifier and Type Class Description classCopyingRangeMarkerACopyingRangeMarkercan be used to track positions when executing text edits.classCopySourceEditA copy source edit denotes the source of a copy operation.classCopyTargetEditA copy target edit denotes the target of a copy operation.classDeleteEditText edit to delete a range in a document.classInsertEditText edit to insert a text at a given position in a document.classMoveSourceEditA move source edit denotes the source of a move operation.classMoveTargetEditA move target edit denotes the target of a move operation.classMultiTextEditA multi-text edit can be used to aggregate several edits into one edit.classRangeMarkerA range marker can be used to track positions when executing text edits.classReplaceEditText edit to replace a range in a document with a different string.classUndoEditThis class encapsulates the reverse changes of an executed text edit tree.Methods in org.eclipse.text.edits that return TextEdit Modifier and Type Method Description TextEditTextEdit. copy()Creates a deep copy of the edit tree rooted at this edit.protected TextEditCopyingRangeMarker. doCopy()protected TextEditCopySourceEdit. doCopy()protected TextEditCopyTargetEdit. doCopy()protected TextEditDeleteEdit. doCopy()protected TextEditInsertEdit. doCopy()protected TextEditMoveSourceEdit. doCopy()protected TextEditMoveTargetEdit. doCopy()protected TextEditMultiTextEdit. doCopy()protected TextEditRangeMarker. doCopy()protected TextEditReplaceEdit. doCopy()protected abstract TextEditTextEdit. doCopy()Creates and returns a copy of this edit.protected TextEditUndoEdit. doCopy()TextEditMalformedTreeException. getChild()Returns the child edit that caused the exception.TextEdit[]TextEdit. getChildren()Returns the edit's children.TextEditTextEditCopier. getCopy(TextEdit original)Returns the copy for the original text edit.TextEditMalformedTreeException. getParent()Returns the parent edit that caused the exception.TextEditTextEdit. getParent()Returns the edit's parent.TextEditTextEdit. getRoot()Returns the root edit of the edit tree.TextEditTextEditProcessor. getRoot()Returns the edit processor's root edit.TextEdit[]TextEditGroup. getTextEdits()Returns an array ofTextEdits containing the edits managed by this group.TextEditTextEditCopier. perform()Performs the actual copying.TextEditTextEdit. removeChild(int index)Removes the edit specified by the given index from the list of children.TextEdit[]TextEdit. removeChildren()Removes all child edits from and returns them.Methods in org.eclipse.text.edits with parameters of type TextEdit Modifier and Type Method Description voidTextEdit. addChild(TextEdit child)Adds the given editchildto this edit.voidTextEdit. addChildren(TextEdit[] edits)Adds all edits ineditsto this edit.voidTextEditGroup. addTextEdit(TextEdit edit)Adds the givenTextEditto this group.protected booleanTextEditProcessor. considerEdit(TextEdit edit)Tells whether this processor considers the given edit.booleanMultiTextEdit. covers(TextEdit other)booleanTextEdit. covers(TextEdit other)Returnstrueif the edit covers the given editother.TextEditTextEditCopier. getCopy(TextEdit original)Returns the copy for the original text edit.static IRegionTextEdit. getCoverage(TextEdit[] edits)Returns the text range spawned by the given array of text edits.static IRegionMoveSourceEdit. intersect(TextEdit op1, TextEdit op2)voidTextEditVisitor. postVisit(TextEdit edit)Visits the given text edit following the type-specific visit (afterendVisit).voidTextEditVisitor. preVisit(TextEdit edit)Visits the given text edit prior to the type-specific visit.booleanTextEdit. removeChild(TextEdit child)Removes the first occurrence of the given child from the list of children.booleanTextEditGroup. removeTextEdit(TextEdit edit)Removes the givenTextEditfrom this group.booleanTextEditVisitor. visitNode(TextEdit edit)Visits the given text edit.Constructors in org.eclipse.text.edits with parameters of type TextEdit Constructor Description MalformedTreeException(TextEdit parent, TextEdit child, String message)Constructs a new malformed tree exception.TextEdit(TextEdit source)Copy constructorTextEditCopier(TextEdit edit)Constructs a newTextEditCopierfor the given edit.TextEditGroup(String name, TextEdit edit)Creates a new text edit group with a name and a singleTextEdit.TextEditGroup(String name, TextEdit[] edits)Creates a new text edit group with the given name and array of edits.TextEditProcessor(IDocument document, TextEdit root, int style)Constructs a new edit processor for the given document.
-