Package org.fife.ui.rsyntaxtextarea
package org.fife.ui.rsyntaxtextarea
A syntax-highlighting text editor.
-
ClassDescriptionBase class for JFlex-based token makers using C-style syntax.Base class for JFlex-generated token makers.An abstract implementation of the
TokenMaker
interface.Base class forTokenMakerFactory
implementations.Wrapper that handles the creation of TokenMaker instances.The event fired byRSyntaxTextArea
s when the active line range changes.Listens for "active line range" events from anRSyntaxTextArea
.Manages "code templates."A comparator that takes aCodeTemplate
as its first parameter and aSegment
as its second, and knows to compare the template's ID to the segment's text.A file filter that accepts only XML files.The default implementation ofOccurrenceMarker
.This class generates tokens for aTokenMaker
.The default implementation ofTokenMakerFactory
.Standard implementation of a token painter.A range of text in a document.A component to sit alongside anRSyntaxTextArea
that displays colored markers for locations of interest (parser errors, marked occurrences, etc.).The default implementation of the provider of tool tips for markers in an error strip.Returns tool tip text for the markers in anErrorStrip
that denote one or more parser notices.The location of a local file.Holds the location of a local or remote file.Utility methods that help you determine what type of code is in a file, to determine how to syntax highlight it.A row header component that takes code folding into account when painting itself.Marks occurrences of the current token for HTML.Used internally when searching backward for a matching "open" tag.Utility methods useful when generating HTML representations of RSTA content.Generates hyperlinks in a document.A result object from aLinkGenerator
.Marks all occurrences of the token at the current caret position, if it is an identifier.A tool tip-like popup that shows the line of code containing the bracket matched to that at the caret position, if it is scrolled out of the user's viewport.AnOccurrenceMarker
is called when the caret stops moving after a short period.Manages running a parser object for anRSyntaxTextArea
.Mapping of a parser notice to its highlight in the editor.A hook allowing hosting applications to decorate JWindows created by the AutoComplete library.Utility methods for RSyntaxTextArea's views.The document used byRSyntaxTextArea
.An extension ofRTextArea
that adds syntax highlighting of certain programming languages to its list of features.The default input map for anRSyntaxTextArea
.An extension ofRTextAreaEditorKit
that adds functionality for programming-specific stuff.Positions the caret at the beginning of the word.Expands or collapses the nearest fold.Action that (optionally) aligns a closing curly brace with the line containing its matching opening curly brace.(Optionally) completes a closing markup tag.Collapses all comment folds.Collapses all folds.Action for copying text as styled text.Action for decreasing the font size of all fonts in the text area.Action for when un-indenting lines (either the current line if there is selection, or all selected lines if there is one).Deletes the previous word, but differentiates symbols from "words" to match the behavior of code editors.Overridden to use the programming language RSTA is displaying when computing words to complete.Positions the caret at the end of the word.Expands all folds.Base class for folding-related actions.Action for moving the caret to the "matching bracket" of the bracket at the caret position (either before or after).Moves the caret to the end of the document, taking into account code folding.Action for increasing the font size of all fonts in the text area.Action for when the user presses the Enter key.If there is no selection, a character is inserted.Inserts a quote character.The type of quote to insert.Action for inserting tabs.Action to move the selection and/or caret.Action for when the user tries to insert a template (that is, they've typed a template ID and pressed the trigger character (a space) in an attempt to do the substitution).Action to move the selection and/or caret.Selects the word around the caret.Action that toggles whether the currently selected lines are commented.Toggles the fold at the current caret position or line.The highlighter implementation used byRSyntaxTextArea
s.Highlight info implementation used for parser notices and marked occurrences.UI used byRSyntaxTextArea
.Utility methods used byRSyntaxTextArea
and its associated classes.Generates RTF text via a simple Java API.Gets the plain text version of RTF documents.A link generator result that selects a region of text in the text area.Highlight painter that paints a squiggly underline underneath text, similar to what popular IDE's such as Visual Studio and Eclipse do to indicate errors, warnings, etc.The color and style information for a token type.Object used during copy/paste and DnD operations to represent styled text.Constants that define the different programming languages understood byRSyntaxTextArea
.The set of colors and styles used by anRSyntaxTextArea
to color tokens.Loads aSyntaxScheme
from an XML file.Thejavax.swing.text.View
object used byRSyntaxTextArea
when word wrap is disabled.An extension ofRSyntaxTextArea
that adds information about the file being edited, such as: Its name and location.A theme is a set of fonts and colors to use to style RSyntaxTextArea and RTextScrollPane.Loads aSyntaxScheme
from an XML file.A generic token that functions as a node in a linked list of syntax highlighted tokens for some language.Interface for a class that generates tokens somehow.The default implementation ofToken
.Allows you to iterate through all paintable tokens in anRSyntaxDocument
.An implementation ofTokenMaker
is a class that turns text into a linked list ofToken
s for syntax highlighting in a particular language.Base class for token makers.A factory that maps syntax styles toTokenMaker
s capable of splitting text into tokens for those syntax styles.A hash table for reserved words, etc.The "token" used by a token map.An interface for the syntax-highlighting token oriented views for token-oriented methods.Renders tokens in an instance ofRSyntaxTextArea
.All token types supported by RSyntaxTextArea.Utility methods for dealing with tokens.A sub-list of tokens.The location of a file at a (remote) URL.A token painter that visibly renders whitespace (spaces and tabs).The view used byRSyntaxTextArea
when word wrap is enabled.Marks occurrences of the current token for XML.Used internally when searching backward for a matching "open" tag.