Serialized Form


Package com.Ostermiller.Syntax

Class com.Ostermiller.Syntax.HighlightedDocument extends DefaultStyledDocument implements Serializable

Serialized Fields

documentReader

com.Ostermiller.Syntax.DocumentReader documentReader
A reader wrapped around the document so that the document can be fed into the lexer.


globalStyle

AttributeSet globalStyle
If non-null, all is drawn with this style (no lexing).


syntaxLexer

Lexer syntaxLexer
The lexer that tells us what colors different words should be.


colorer

com.Ostermiller.Syntax.Colorer colorer
A thread that handles the actual coloring.


docLock

Object docLock
A lock for modifying the document, or for actions that depend on the document not being modified.

Class com.Ostermiller.Syntax.ProgrammerEditorDemo extends JFrame implements Serializable

Serialized Fields

document

HighlightedDocument document
The document holding the text being edited.


textPane

JTextPane textPane
The text pane displaying the document.