Editor
package is a basic framework for an editor
component with syntax highlighting capabilities, built on top of the
Swing text framework. It includes built-in highlight support for
Java, JSP, HTML, C++, IDL, XML, PL/SQL, and Java properties files.
The primary editor component, BasicEditorPane
(which
extends Swing's JEditorPane
), can be used as a
replacement for any JTextArea
or JEditorPane
instances for automatic syntax highlighting of the supported language
types. Additionally, new syntax highlighting modules for additional
languages may be added easily by implementing a
LanguageModule
, LanguageSupport
, and
DocumentRenderer
implementations.
For more information on the capabilities and services of an editor
pane, refer to the JavaDoc for the BasicEditorPane
.