You should extract the project org.eclipse.swt.examples.texteditor from
CVS (to play with StyledText). More details on downloading these
examples can be found at -http://www.eclipse.org/swt/examples.php