>

<h2>SWT standalone example - Text Editor</h2>

<p>
This example demonstrates how to use a StyledText widget to implement
a text editor with formatting support.
The example has a typical text editor interface.
The <strong>Edit</strong> menu contains <strong>Cut</strong>, <strong>Copy</strong>, <strong>Paste</strong> and <strong>Set Font</strong> items.  The toolbar
provides a bold text toggle, three colour tools, and a reset button, all of which operate on the current selection.
</p>

<h3>Running the exam