Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.text/src/org/eclipse/text/edits/package.html')
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/package.html16
1 files changed, 8 insertions, 8 deletions
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