Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2019-02-16 15:04:20 +0000
committerAlexander Kurtakov2019-02-16 15:04:20 +0000
commit5022557f3c9c7735813111b5c2a0d7ff07f8b12e (patch)
tree93fe1bf6d3ef3d47cae3d42be02c7e4bf5dc5277 /org.eclipse.text
parentbd41efff8beecfdd9c83f1f3a8125177b474be9d (diff)
downloadeclipse.platform.text-5022557f3c9c7735813111b5c2a0d7ff07f8b12e.tar.gz
eclipse.platform.text-5022557f3c9c7735813111b5c2a0d7ff07f8b12e.tar.xz
eclipse.platform.text-5022557f3c9c7735813111b5c2a0d7ff07f8b12e.zip
Fix javadoc warnings catched by Java 11 tool with XDoclint:html. Change-Id: I9d4dfa7c57b47c5d130c8d0c50069b0ed15b70fa Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'org.eclipse.text')
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/CopyingRangeMarker.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/package.html16
2 files changed, 9 insertions, 9 deletions
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/CopyingRangeMarker.java b/org.eclipse.text/src/org/eclipse/text/edits/CopyingRangeMarker.java
index 17e3b6534a5..61f2f62d5cc 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/CopyingRangeMarker.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/CopyingRangeMarker.java
@@ -28,7 +28,7 @@ public final class CopyingRangeMarker extends TextEdit {
private String fText;
/**
- * Creates a new <tt>CopyRangeMarker</tt> for the given
+ * Creates a new <code>CopyRangeMarker</code> for the given
* offset and length.
*
* @param offset the marker's offset
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/package.html b/org.eclipse.text/src/org/eclipse/text/edits/package.html
index 769057d167b..738f733f9b5 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/package.html
+++ b/org.eclipse.text/src/org/eclipse/text/edits/package.html
@@ -9,20 +9,20 @@
<body>
Provides support for describing and applying textual document editions.
<p>
-A complex textual edition can be described by a tree of <tt>TextEdit</tt>s. An edit
-can be applied to an <tt>IDocument</tt> by calling <tt>TextEdit.apply</tt> or by
-using a <tt>TextEditProcessor</tt>. Applying a text edit can record a reverse edit
+A complex textual edition can be described by a tree of <code>TextEdit</code>s. An edit
+can be applied to an <code>IDocument</code> by calling <code>TextEdit.apply</code> or by
+using a <code>TextEditProcessor</code>. Applying a text edit can record a reverse edit
description that can be used to undo the edition.
</p>
Use the standard edit kinds to describe the basic document editing operations:
<ul>
- <li><em>replace</em> a document range: <tt>ReplaceEdit</tt></li>
- <li><em>delete</em> a document range: <tt>DeleteEdit</tt></li>
- <li><em>insert</em> text: <tt>InsertEdit</tt></li>
- <li><em>track</em> a range while the document is being modified: <tt>RangeMarker</tt></li>
+ <li><em>replace</em> a document range: <code>ReplaceEdit</code></li>
+ <li><em>delete</em> a document range: <code>DeleteEdit</code></li>
+ <li><em>insert</em> text: <code>InsertEdit</code></li>
+ <li><em>track</em> a range while the document is being modified: <code>RangeMarker</code></li>
</ul>
<p>
-Other subclasses of <tt>TextEdit</tt> exist for specialized tasks. Use <tt>MultiTextEdit</tt> to
+Other subclasses of <code>TextEdit</code> exist for specialized tasks. Use <code>MultiTextEdit</code> to
compose a complex edit tree, or subclass it to provide a custom edit.
</p>
</body></html> \ No newline at end of file

Back to the top