blob: fdad5c3b07449bd2a881fdfa155be26ff2235452 [file] [log] [blame]
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>SWT - Java Syntax Viewer Example</title>
<h2>Standard Widget Toolkit (SWT) Standalone Example - Java Syntax Viewer</h2>
<p>This example demonstrates how to implement a user-defined line styler for
the StyledText widget.
<h3>Running the example</h3>
<p>If the Example Launcher is installed, select the Java Viewer item from the Standalone category and click Run.&nbsp;
Otherwise, install and run the example manually as per the
<a href="swt_manual_setup.html">Standalone Examples Manual Setup</a> instructions.&nbsp; The executable class is
<p>The example provides a typical editor interface.&nbsp; To see the effect of the line
styler, open a *.java file.&nbsp; When the contents of the file are displayed in the
editor area, notice that the keywords have been highlighted.
<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000, 2001. All Rights Reserved." BORDER=0 height=12 width=195></a></p>