diff options
Diffstat (limited to 'org.eclipse.text')
3 files changed, 7 insertions, 2 deletions
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/TextEdit.java b/org.eclipse.text/src/org/eclipse/text/edits/TextEdit.java index bbe53e0e1b6..2099accebdd 100644 --- a/org.eclipse.text/src/org/eclipse/text/edits/TextEdit.java +++ b/org.eclipse.text/src/org/eclipse/text/edits/TextEdit.java @@ -39,11 +39,13 @@ import org.eclipse.jface.text.Region; * </p> * <p> * An edit tree is well formed in the following sense: + * </p> * <ul> * <li>a parent edit covers all its children</li> * <li>children don't overlap</li> * <li>an edit with length 0 can't have any children</li> * </ul> + * <p> * Any manipulation of the tree that violates one of the above requirements results * in a <code>MalformedTreeException</code>. * </p> @@ -51,6 +53,7 @@ import org.eclipse.jface.text.Region; * Insert edits are represented by an edit of length 0. If more than one insert * edit exists at the same offset then the edits are executed in the order in which * they have been added to a parent. The following code example: + * </p> * <pre> * IDocument document= new Document("org"); * MultiTextEdit edit= new MultiTextEdit(); @@ -58,6 +61,7 @@ import org.eclipse.jface.text.Region; * edit.addChild(new InsertEdit(0, "eclipse.")); * edit.apply(document); * </pre> + * <p> * therefore results in string: "www.eclipse.org". * </p> * <p> diff --git a/org.eclipse.text/src/org/eclipse/text/edits/UndoEdit.java b/org.eclipse.text/src/org/eclipse/text/edits/UndoEdit.java index bb0f523e8f7..b12bd1fed66 100644 --- a/org.eclipse.text/src/org/eclipse/text/edits/UndoEdit.java +++ b/org.eclipse.text/src/org/eclipse/text/edits/UndoEdit.java @@ -27,7 +27,8 @@ import org.eclipse.jface.text.IDocument; * <p> * Clients can't add additional children to an undo edit nor can they * add an undo edit as a child to another edit. Doing so results in - * both cases in a <code>MalformedTreeException<code>. + * both cases in a <code>MalformedTreeException</code>. + * </p> * * @since 3.0 * @noinstantiate This class is not intended to be instantiated by clients. diff --git a/org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoManager.java b/org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoManager.java index db7d7f7f72c..57e3f925e4f 100644 --- a/org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoManager.java +++ b/org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoManager.java @@ -52,7 +52,7 @@ import org.eclipse.jface.text.TextUtilities; * <p> * The classes representing individual text edits (formerly text commands) * were promoted from inner types to their own classes in order to support - * reassignment to a different undo manager.<p> + * reassignment to a different undo manager.</p> * <p> * This class is not intended to be subclassed. * </p> |