X-Git-Url: http://secure.phpeclipse.com
diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/textmanipulation/NopTextEdit.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/textmanipulation/NopTextEdit.java
index 083fe0b..1994ef2 100644
--- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/textmanipulation/NopTextEdit.java
+++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/textmanipulation/NopTextEdit.java
@@ -7,54 +7,61 @@ package net.sourceforge.phpdt.internal.corext.textmanipulation;
import org.eclipse.core.runtime.CoreException;
/**
- * A text edit that does nothing. A NopTextEdit
can be used to track
- * positions when executing TextEdits
associated with a
+ * A text edit that does nothing. A NopTextEdit
can be used to
+ * track positions when executing TextEdits
associated with a
+ *
* TextBufferEditor
.
*/
public class NopTextEdit extends TextEdit {
-
+
private TextRange fTextRange;
-
+
/**
- * Creates a new NopTextEdit
for the given
- * offset and length.
+ * Creates a new NopTextEdit
for the given offset and length.
*
- * @param offset the starting offset this text edit is "working on"
- * @param length the length this text edit is "working on"
+ * @param offset
+ * the starting offset this text edit is "working on"
+ * @param length
+ * the length this text edit is "working on"
*/
public NopTextEdit(int offset, int length) {
this(new TextRange(offset, length));
}
-
+
/**
- * Creates a new NopTextEdit
for the given
- * range.
+ * Creates a new NopTextEdit
for the given range.
*
- * @param range the TextRange
this text edit is "working on"
+ * @param range
+ * the TextRange
this text edit is "working on"
*/
public NopTextEdit(TextRange range) {
- fTextRange= range;
+ fTextRange = range;
}
- /* non Java-doc
+ /*
+ * non Java-doc
+ *
* @see TextEdit#getTextRange
- */
+ */
public TextRange getTextRange() {
return fTextRange;
}
- /* non Java-doc
+ /*
+ * non Java-doc
+ *
* @see TextEdit#perform
- */
+ */
public TextEdit perform(TextBuffer buffer) throws CoreException {
return new NopTextEdit(fTextRange);
}
-
- /* non Java-doc
+
+ /*
+ * non Java-doc
+ *
* @see TextEdit#perform
- */
+ */
public TextEdit copy() {
return new NopTextEdit(fTextRange.copy());
- }
+ }
}
-