Package org.fife.ui.rtextarea
package org.fife.ui.rtextarea
A single-font text editor with many custom features.
-
ClassDescriptionA component that can be displayed in a
Gutter
.Interface for classes that paint the background of anRTextAreaBase
.A strategy for painting the background of anRTextAreaBase
as an image.Provides various ways to render a caret such asConfigurableCaret
..An extension ofLayerPainter
that allows the user to change several of its properties: Its color/fill style (can use aGradientPaint
, for example). Whether the edges of a painted highlight are rounded. Whether painted highlights have translucency.A fold icon represented by a chevron.Listens for cuts and copies from instances ofRTextArea
.A popup window that displays the most recent snippets added to the clipboard of anRSyntaxTextArea
.The list component used in this popup.Entries in the choices list are of this type.A strategy for painting the background of anRTextAreaBase
as a solid color.The caret used byRTextArea
.Describes the current selection behavior.The strategy to use when rendering expanded folds in the gutter.Component in the gutter that displays +/- icons to expand and collapse fold regions in the editor.A base class for icons in aFoldIndicator
.Different rendering styles for the fold indicator inside aGutter
.The gutter is the component on the left-hand side of the text area that displays optional information such as line numbers, fold regions, and icons (for bookmarks, debugging breakpoints, error markers, etc.).The border used by the gutter.Information about an icon displayed in aGutter
.This class encapsulates the location, properties, etc.Renders icons in theGutter
.Implementation of the icons rendered.A strategy for painting the background of anRTextAreaBase
as an image.Manages line highlights in anRTextArea
.Information about a line highlight.Comparator used when adding new highlights.Formats line numbers into a comprehensible String to be displayed to the user.Renders line numbers in the gutter.A macro as recorded/played back by anRTextArea
.A "record" of a macro is a single action in the macro (corresponding to a key type and some action in the editor, such as a letter inserted into the document, scrolling one page down, selecting the current line, etc.).The default +/- icon for expanding and collapsing folds.The document implementation used by instances ofRTextArea
.Document content that provides fast access to individual characters.Allows iterating over a portion of anRDocument
.The base action used by the actions defined inRTextAreaEditorKit
.Information on how to implement a regular expression "replace" operation.The default input map for anRTextArea
.Handles the transfer of data to/from anRTextArea
via drag-and-drop.A possible implementation of the Transferable interface for RTextAreas.An extension ofJTextArea
that adds the following features: Insert/Overwrite modes (can be toggled via the Insert key) A right-click popup menu with standard editing options Macro support "Mark all" functionality.This is the base class forRTextArea
; basically it's just an extension ofjavax.swing.JTextArea
adding a bunch of properties.Listens for mouse events in this component.An extension ofDefaultEditorKit
that adds functionality found inRTextArea
.Creates a beep.Moves the caret to the beginning of the document.Toggles the position of the caret between the beginning of the line, and the first non-whitespace character on the line.Action that begins recording a macro.Positions the caret at the beginning of the word.Action for displaying a popup with a list of recently pasted text snippets.Action for copying text.Action for cutting text.Action for decreasing the font size.The action to use when no actions in the input/action map meet the key pressed.Deletes the current line(s).Deletes the character of content that follows the current caret position.Deletes the character of content that precedes the current caret position.Action that deletes the previous word in the text area.Action that deletes all text from the caret position to the end of the caret's line.Finds the most recent word in the document that matches the "word" up to the current caret position, and auto-completes the rest.Moves the caret to the end of the document.Positions the caret at the end of the line.Action that ends recording a macro.Positions the caret at the end of the word.Action for increasing the font size.Action for when the user presses the Enter key.Action taken when content is to be inserted.Places a tab character into the document.Action to invert the selection's case.Action to join the current line and the following line.Action that moves a line up or down.Action to make the selection lower-case.Action that moves the caret to the next (or previous) bookmark.Selects the next occurrence of the text last selected.Action to move the selection and/or caret.Positions the caret at the next word.Pages one view to the left or right.Action for pasting text."Plays back" the last macro recorded.Select the previous occurrence of the text last selected.Positions the caret at the beginning of the previous word.Re-does the last action undone.Scrolls the text area one line up or down, without changing the caret position.Selects the entire document.Selects the line around the caret.Selects the word around the caret.Puts the text area into read-only mode.Puts the text area into writable (from read-only) mode.The action for inserting a time/date stamp.Toggles whether the current line has a bookmark.The action for the insert key toggling insert/overwrite modes.Undoes the last action done.Removes the selection, if any.Action to make the selection upper-case.Scrolls up/down vertically.The highlighter implementation used byRTextArea
s.Information about a highlight being painted by this highlighter.A straightforward implementation ofHighlightInfo
.Information about a layered highlight being painted by this highlighter.A straightforward implementation ofHighlightInfo
for painting layered highlights.The UI used by instances ofRTextArea
.An extension ofJScrollPane
that will only takeRTextArea
s (orjavax.swing.JLayer
s decoratingRTextArea
s) for its view.This class manages undos/redos for a particular editor pane.Contains information about a find/replace operation.A singleton class that can perform advanced find/replace operations in anRTextArea
.The result of a find, replace, or "mark all" operation.A "smart" highlight painter designed for use in RSyntaxTextArea.A ToolTipSupplier can create tool tip text for an RTextArea on its behalf.A strategy for painting the background of anRTextAreaBase
as an image.