Package org.fife.ui.rsyntaxtextarea
A syntax-highlighting text editor.
-
Interface Summary Interface Description ActiveLineRangeListener Listens for "active line range" events from anRSyntaxTextArea
.ErrorStrip.ErrorStripMarkerToolTipProvider Returns tool tip text for the markers in anErrorStrip
that denote one or more parser notices.LinkGenerator Generates hyperlinks in a document.LinkGeneratorResult A result object from aLinkGenerator
.OccurrenceMarker AnOccurrenceMarker
is called when the caret stops moving after a short period.RSTAView Utility methods for RSyntaxTextArea's views.SyntaxConstants Constants that define the different programming languages understood byRSyntaxTextArea
.Token A generic token that functions as a node in a linked list of syntax highlighted tokens for some language.TokenFactory Interface for a class that generates tokens somehow.TokenMaker An implementation ofTokenMaker
is a class that turns text into a linked list ofToken
s for syntax highlighting in a particular language.TokenOrientedView An interface for the syntax-highlighting token oriented views for token-oriented methods.TokenPainter Renders tokens in an instance ofRSyntaxTextArea
.TokenTypes All token types supported by RSyntaxTextArea. -
Class Summary Class Description AbstractJFlexCTokenMaker Base class for JFlex-based token makers using C-style syntax.AbstractJFlexTokenMaker Base class for JFlex-generated token makers.AbstractTokenMaker An abstract implementation of theTokenMaker
interface.AbstractTokenMakerFactory Base class forTokenMakerFactory
implementations.AbstractTokenMakerFactory.TokenMakerCreator Wrapper that handles the creation of TokenMaker instances.ActiveLineRangeEvent The event fired byRSyntaxTextArea
s when the active line range changes.CodeTemplateManager Manages "code templates."CodeTemplateManager.TemplateComparator 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.CodeTemplateManager.XMLFileFilter A file filter that accepts only XML files.DefaultOccurrenceMarker The default implementation ofOccurrenceMarker
.DefaultTokenFactory This class generates tokens for aTokenMaker
.DefaultTokenMakerFactory The default implementation ofTokenMakerFactory
.DefaultTokenPainter Standard implementation of a token painter.DocumentRange A range of text in a document.ErrorStrip A component to sit alongside anRSyntaxTextArea
that displays colored markers for locations of interest (parser errors, marked occurrences, etc.).ErrorStrip.DefaultErrorStripMarkerToolTipProvider The default implementation of the provider of tool tips for markers in an error strip.FileFileLocation The location of a local file.FileLocation Holds the location of a local or remote file.FileTypeUtil Utility methods that help you determine what type of code is in a file, to determine how to syntax highlight it.FoldingAwareIconRowHeader A row header component that takes code folding into account when painting itself.HtmlOccurrenceMarker Marks occurrences of the current token for HTML.HtmlOccurrenceMarker.Entry Used internally when searching backward for a matching "open" tag.HtmlUtil Utility methods useful when generating HTML representations of RSTA content.MarkOccurrencesSupport Marks all occurrences of the token at the current caret position, if it is an identifier.MatchedBracketPopup 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.ParserManager Manages running a parser object for anRSyntaxTextArea
.ParserManager.NoticeHighlightPair Mapping of a parser notice to its highlight in the editor.PopupWindowDecorator A hook allowing hosting applications to decorate JWindows created by the AutoComplete library.RSyntaxDocument The document used byRSyntaxTextArea
.RSyntaxTextArea An extension ofRTextArea
that adds syntax highlighting of certain programming languages to its list of features.RSyntaxTextAreaDefaultInputMap The default input map for anRSyntaxTextArea
.RSyntaxTextAreaEditorKit An extension ofRTextAreaEditorKit
that adds functionality for programming-specific stuff.RSyntaxTextAreaEditorKit.BeginWordAction Positions the caret at the beginning of the word.RSyntaxTextAreaEditorKit.ChangeFoldStateAction Expands or collapses the nearest fold.RSyntaxTextAreaEditorKit.CloseCurlyBraceAction Action that (optionally) aligns a closing curly brace with the line containing its matching opening curly brace.RSyntaxTextAreaEditorKit.CloseMarkupTagAction (Optionally) completes a closing markup tag.RSyntaxTextAreaEditorKit.CollapseAllCommentFoldsAction Collapses all comment folds.RSyntaxTextAreaEditorKit.CollapseAllFoldsAction Collapses all folds.RSyntaxTextAreaEditorKit.CopyCutAsStyledTextAction Action for copying text as styled text.RSyntaxTextAreaEditorKit.DecreaseFontSizeAction Action for decreasing the font size of all fonts in the text area.RSyntaxTextAreaEditorKit.DecreaseIndentAction Action for when un-indenting lines (either the current line if there is selection, or all selected lines if there is one).RSyntaxTextAreaEditorKit.DeletePrevWordAction Deletes the previous word, but differentiates symbols from "words" to match the behavior of code editors.RSyntaxTextAreaEditorKit.DumbCompleteWordAction Overridden to use the programming language RSTA is displaying when computing words to complete.RSyntaxTextAreaEditorKit.EndWordAction Positions the caret at the end of the word.RSyntaxTextAreaEditorKit.ExpandAllFoldsAction Expands all folds.RSyntaxTextAreaEditorKit.FoldRelatedAction Base class for folding-related actions.RSyntaxTextAreaEditorKit.GoToMatchingBracketAction Action for moving the caret to the "matching bracket" of the bracket at the caret position (either before or after).RSyntaxTextAreaEditorKit.GoToMatchingBracketAction.EndAction Moves the caret to the end of the document, taking into account code folding.RSyntaxTextAreaEditorKit.IncreaseFontSizeAction Action for increasing the font size of all fonts in the text area.RSyntaxTextAreaEditorKit.InsertBreakAction Action for when the user presses the Enter key.RSyntaxTextAreaEditorKit.InsertPairedCharacterAction If there is no selection, a character is inserted.RSyntaxTextAreaEditorKit.InsertQuoteAction Inserts a quote character.RSyntaxTextAreaEditorKit.InsertTabAction Action for inserting tabs.RSyntaxTextAreaEditorKit.NextWordAction Action to move the selection and/or caret.RSyntaxTextAreaEditorKit.PossiblyInsertTemplateAction 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).RSyntaxTextAreaEditorKit.PreviousWordAction Action to move the selection and/or caret.RSyntaxTextAreaEditorKit.SelectWordAction Selects the word around the caret.RSyntaxTextAreaEditorKit.ToggleCommentAction Action that toggles whether the currently selected lines are commented.RSyntaxTextAreaEditorKit.ToggleCurrentFoldAction Toggles the fold at the current caret position or line.RSyntaxTextAreaHighlighter The highlighter implementation used byRSyntaxTextArea
s.RSyntaxTextAreaHighlighter.SyntaxLayeredHighlightInfoImpl Highlight info implementation used for parser notices and marked occurrences.RSyntaxTextAreaUI UI used byRSyntaxTextArea
.RSyntaxUtilities Utility methods used byRSyntaxTextArea
and its associated classes.RtfGenerator Generates RTF text via a simple Java API.RtfToText Gets the plain text version of RTF documents.SelectRegionLinkGeneratorResult A link generator result that selects a region of text in the text area.SquiggleUnderlineHighlightPainter 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.Style The color and style information for a token type.StyledTextTransferable Object used during copy/paste and DnD operations to represent styled text.SyntaxScheme The set of colors and styles used by anRSyntaxTextArea
to color tokens.SyntaxScheme.SyntaxSchemeLoader Loads aSyntaxScheme
from an XML file.SyntaxView Thejavax.swing.text.View
object used byRSyntaxTextArea
when word wrap is disabled.TextEditorPane An extension ofRSyntaxTextArea
that adds information about the file being edited, such as: Its name and location.Theme A theme is a set of fonts and colors to use to style RSyntaxTextArea and RTextScrollPane.Theme.XmlHandler Loads aSyntaxScheme
from an XML file.TokenImpl The default implementation ofToken
.TokenIterator Allows you to iterate through all paintable tokens in anRSyntaxDocument
.TokenMakerBase Base class for token makers.TokenMakerFactory A factory that maps syntax styles toTokenMaker
s capable of splitting text into tokens for those syntax styles.TokenMap A hash table for reserved words, etc.TokenMap.TokenMapToken The "token" used by a token map.TokenUtils Utility methods for dealing with tokens.TokenUtils.TokenSubList A sub-list of tokens.URLFileLocation The location of a file at a (remote) URL.VisibleWhitespaceTokenPainter A token painter that visibly renders whitespace (spaces and tabs).WrappedSyntaxView The view used byRSyntaxTextArea
when word wrap is enabled.XmlOccurrenceMarker Marks occurrences of the current token for XML.XmlOccurrenceMarker.Entry Used internally when searching backward for a matching "open" tag. -
Enum Summary Enum Description RSyntaxTextAreaEditorKit.InsertQuoteAction.QuoteType The type of quote to insert.