Package org.gjt.sp.jedit.textarea
Classes related to jEdit's TextArea.
Since jEdit 4.2, many TextArea classes have been split into a base and derived class. This is an attempt to make an API partition for the standalone text area. So for example:
- @ref JEditBuffer and @ref Buffer were split into two classes.
- @ref MouseHandler and @ref TextAreaMouseHandler were split.
- @ref TextArea and @ref JEditTextArea were split.
- @ref StandaloneTextArea is a new class for other open source Java applications to reuse.
- @ref JEditEmbeddedTextArea is a new class for jEdit plugins to reuse.
Keeping things separate
The embeddable TextArea includes the packages "textarea", "buffer", "syntax", and should include nothing else. This means that for the standalone and abstract base classes, we should only use classes from that set.
To build the standalone textarea, "ant build-textArea", and you'll quickly see if you broke something by using a class that was not supposed to be used.
-
Interface Summary Interface Description FoldPainter FoldPainter defines the interface for fold painters in the gutter.GutterPopupHandler MouseActionsProvider Node ScrollListener A scroll listener will be notified when the text area is scrolled, either horizontally or vertically.StatusListener Fired when the text area needs to display a status message.StructureMatcher An interface for matching parts of a source file's stucture. -
Class Summary Class Description AntiAlias Class for representing AntiAlias values.CircleFoldPainter ColumnBlock ColumnBlockLine DisplayManager Manages low-level text display tasks, such as folding.ElasticTabStopBufferListener Buffer Listener for Elastic Tabstops.ElasticTabstopsTabExpander A Swing TabExpander for Elastic Tabstops.Gutter The gutter is the component that displays folding indicators and line numbers to the left of the text area.JEditEmbeddedTextArea An embeddable TextArea for jEdit plugins to use.JEditTextArea jEdit's text component.MouseActions MouseHandler The mouseHandler used for jEdit.ScrollLayout Similar to a javax.swing.ScrollPaneLayout, but not as restrictive on the components that can be added.Selection An abstract class that holds data on a region of selected text.Selection.Range An ordinary range selection.Selection.Rect A rectangular selection.ShapedFoldPainter Fold PainterSquareFoldPainter StandaloneTextArea jEdit's standalone text component.StandaloneTextArea.StandaloneActionSet The actionSet for standalone textArea.StructureMatcher.BracketMatcher StructureMatcher.Highlight Paints the structure match highlight.StructureMatcher.Match A structure match, denoted by a start and end position.TextArea Abstract TextArea component.TextAreaBorder TextAreaExtension Subclasses of this class can perform custom painting and tool tip handling in the text area and gutter.TextAreaMouseHandler Standalone TextArea MouseHandler.TextAreaPainter The text area painter is the component responsible for displaying the text of the current buffer.TextAreaTransferHandler TriangleFoldPainter -
Exception Summary Exception Description TextAreaException Exception that the TextArea can throw when an error occurs.