Uses of Class
org.fife.ui.rsyntaxtextarea.RSyntaxTextArea
Packages that use RSyntaxTextArea
Package
Description
A syntax-highlighting text editor.
Code folding functionality.
Interfaces for parsing text in RSyntaxTextAreas and identifying errors,
warnings, etc.
Facilitates adding code templates to an
RSyntaxTextArea.-
Uses of RSyntaxTextArea in org.fife.ui.rsyntaxtextarea
Subclasses of RSyntaxTextArea in org.fife.ui.rsyntaxtextareaModifier and TypeClassDescriptionclassAn extension ofRSyntaxTextAreathat adds information about the file being edited, such as: Its name and location.Methods in org.fife.ui.rsyntaxtextarea with parameters of type RSyntaxTextAreaModifier and TypeMethodDescriptionToken.appendHTMLRepresentation(StringBuilder sb, RSyntaxTextArea textArea, boolean fontFamily) Appends HTML code for painting this token, using the given text area's color scheme.Token.appendHTMLRepresentation(StringBuilder sb, RSyntaxTextArea textArea, boolean fontFamily, boolean tabsToSpaces) Appends HTML code for painting this token, using the given text area's color scheme.TokenImpl.appendHTMLRepresentation(StringBuilder sb, RSyntaxTextArea textArea, boolean fontFamily) TokenImpl.appendHTMLRepresentation(StringBuilder sb, RSyntaxTextArea textArea, boolean fontFamily, boolean tabsToSpaces) voidTheme.apply(RSyntaxTextArea textArea) Applies this theme to a text area.static ColorRSyntaxUtilities.getFoldedLineBottomColor(RSyntaxTextArea textArea) Returns the color to use for the line underneath a folded region line.Token.getHTMLRepresentation(RSyntaxTextArea textArea) Returns aStringcontaining HTML code for painting this token, using the given text area's color scheme.TokenImpl.getHTMLRepresentation(RSyntaxTextArea textArea) static RectangleRSyntaxUtilities.getLineWidthUpTo(RSyntaxTextArea textArea, Segment s, int p0, int p1, TabExpander e, Rectangle rect, int x0) Returns the bounding box (in the current view) of a specified position in the model.intToken.getListOffset(RSyntaxTextArea textArea, TabExpander e, float x0, float x) Determines the offset into this token list (i.e., into the document) that covers pixel locationxif the token list starts at pixel locationx0intTokenImpl.getListOffset(RSyntaxTextArea textArea, TabExpander e, float x0, float x) static PointRSyntaxUtilities.getMatchingBracketPosition(RSyntaxTextArea textArea, Point input) Returns the location of the bracket paired with the one at the current caret position.static TokenRSyntaxUtilities.getNextImportantToken(Token t, RSyntaxTextArea textArea, int line) Returns the next non-whitespace, non-comment token in a text area.intToken.getOffsetBeforeX(RSyntaxTextArea textArea, TabExpander e, float startX, float endBeforeX) Returns the position in the document that represents the last character in the token that will fit intoendBeforeX-startXpixels.intTokenImpl.getOffsetBeforeX(RSyntaxTextArea textArea, TabExpander e, float startX, float endBeforeX) static intRSyntaxUtilities.getPositionAbove(RSyntaxTextArea c, int offs, float x, TabExpander e) Determines the position in the model that is closest to the given view location in the row above.static intRSyntaxUtilities.getPositionBelow(RSyntaxTextArea c, int offs, float x, TabExpander e) Determines the position in the model that is closest to the given view location in the row below.static TokenUtils.TokenSubListTokenUtils.getSubTokenList(Token tokenList, int pos, TabExpander e, RSyntaxTextArea textArea, float x0) Modifies the passed-in token list to start at the specified offset.static TokenUtils.TokenSubListTokenUtils.getSubTokenList(Token tokenList, int pos, TabExpander e, RSyntaxTextArea textArea, float x0, TokenImpl tempToken) Modifies the passed-in token list to start at the specified offset.static TokenHtmlOccurrenceMarker.getTagNameTokenForCaretOffset(RSyntaxTextArea textArea, OccurrenceMarker occurrenceMarker) If the caret is inside a tag, this method returns the token representing the tag name; otherwise,nullis returned.CodeTemplateManager.getTemplate(RSyntaxTextArea textArea) Returns the template that should be inserted at the current caret position, assuming the trigger character was pressed.static StringHtmlUtil.getTextAsHtml(RSyntaxTextArea textArea, int start, int end) Returns text from a text area as HTML.static TokenRSyntaxUtilities.getTokenAtOffset(RSyntaxTextArea textArea, int offset) Returns the token at the specified offset.static TokenRSyntaxUtilities.getTokenAtOffsetOrLastTokenIfEndOfLine(RSyntaxTextArea textArea, int offset) Returns the token at the specified offset.static floatRSyntaxUtilities.getTokenListWidth(Token tokenList, RSyntaxTextArea textArea, TabExpander e) Determines the width of the given token list taking tabs into consideration.static floatRSyntaxUtilities.getTokenListWidth(Token tokenList, RSyntaxTextArea textArea, TabExpander e, float x0) Determines the width of the given token list taking tabs into consideration.static floatRSyntaxUtilities.getTokenListWidthUpTo(Token tokenList, RSyntaxTextArea textArea, TabExpander e, float x0, int upTo) Determines the width of the given token list taking tabs into consideration and only up to the given index in the document (exclusive).HtmlOccurrenceMarker.getTokenToMark(RSyntaxTextArea textArea) OccurrenceMarker.getTokenToMark(RSyntaxTextArea textArea) Returns the token to mark occurrences, of, provided it matches the criteria put forth byOccurrenceMarker.isValidType(RSyntaxTextArea, Token).XmlOccurrenceMarker.getTokenToMark(RSyntaxTextArea textArea) floatToken.getWidth(RSyntaxTextArea textArea, TabExpander e, float x0) Returns the width of this token given the specified parameters.floatTokenImpl.getWidth(RSyntaxTextArea textArea, TabExpander e, float x0) floatToken.getWidthUpTo(int numChars, RSyntaxTextArea textArea, TabExpander e, float x0) Returns the width of a specified number of characters in this token.floatTokenImpl.getWidthUpTo(int numChars, RSyntaxTextArea textArea, TabExpander e, float x0) static intRSyntaxUtilities.getWordEnd(RSyntaxTextArea textArea, int offs) Returns the end of the word at the given offset.static intRSyntaxUtilities.getWordStart(RSyntaxTextArea textArea, int offs) Returns the start of the word at the given offset.FileTypeUtil.guessContentType(RSyntaxTextArea textArea) Sets the text area's highlighting style based on its content (e.g. whether it contains "#!protected voidRSyntaxTextAreaEditorKit.InsertBreakAction.handleInsertBreak(RSyntaxTextArea textArea, boolean noSelection) Actually inserts the newline into the document, and auto-indents if appropriate.LinkGenerator.isLinkAtOffset(RSyntaxTextArea textArea, int offs) If a region of text under the mouse position should be considered a hyperlink, a result object is returned.booleanHtmlOccurrenceMarker.isValidType(RSyntaxTextArea textArea, Token t) booleanOccurrenceMarker.isValidType(RSyntaxTextArea textArea, Token t) Returns whether the specified token is a type that we can do a "mark occurrences" of.booleanXmlOccurrenceMarker.isValidType(RSyntaxTextArea textArea, Token t) Token.listOffsetToView(RSyntaxTextArea textArea, TabExpander e, int pos, int x0, Rectangle rect) Returns the bounding box for the specified document location.TokenImpl.listOffsetToView(RSyntaxTextArea textArea, TabExpander e, int pos, int x0, Rectangle rect) protected voidRSyntaxTextAreaUI.paintMatchedBracketImpl(Graphics g, RSyntaxTextArea rsta, Rectangle r) static StringTokenUtils.tokenToHtml(RSyntaxTextArea textArea, Token token) Generates HTML that renders a token with the style used in an RSTA instance.Constructors in org.fife.ui.rsyntaxtextarea with parameters of type RSyntaxTextAreaModifierConstructorDescriptionActiveLineRangeEvent(RSyntaxTextArea source, int min, int max) Constructor.ErrorStrip(RSyntaxTextArea textArea) Constructor.FoldingAwareIconRowHeader(RSyntaxTextArea textArea) Constructor.SelectRegionLinkGeneratorResult(RSyntaxTextArea textArea, int sourceOffset, int selStart, int selEnd) Theme(RSyntaxTextArea textArea) Creates a theme from an RSyntaxTextArea. -
Uses of RSyntaxTextArea in org.fife.ui.rsyntaxtextarea.folding
Methods in org.fife.ui.rsyntaxtextarea.folding with parameters of type RSyntaxTextAreaModifier and TypeMethodDescriptionCurlyFoldParser.getFolds(RSyntaxTextArea textArea) FoldParser.getFolds(RSyntaxTextArea textArea) Returns a list of all folds in the text area.HtmlFoldParser.getFolds(RSyntaxTextArea textArea) JsonFoldParser.getFolds(RSyntaxTextArea textArea) LatexFoldParser.getFolds(RSyntaxTextArea textArea) LinesWithContentFoldParser.getFolds(RSyntaxTextArea textArea) NsisFoldParser.getFolds(RSyntaxTextArea textArea) PythonFoldParser.getFolds(RSyntaxTextArea textArea) XmlFoldParser.getFolds(RSyntaxTextArea textArea) YamlFoldParser.getFolds(RSyntaxTextArea textArea) Constructors in org.fife.ui.rsyntaxtextarea.folding with parameters of type RSyntaxTextAreaModifierConstructorDescriptionDefaultFoldManager(RSyntaxTextArea textArea) Constructor.Fold(int type, RSyntaxTextArea textArea, int startOffs) -
Uses of RSyntaxTextArea in org.fife.ui.rsyntaxtextarea.parser
Methods in org.fife.ui.rsyntaxtextarea.parser with parameters of type RSyntaxTextAreaModifier and TypeMethodDescriptionvoidExtendedHyperlinkListener.linkClicked(RSyntaxTextArea textArea, HyperlinkEvent e) Called when a link in aFocusableTipis clicked. -
Uses of RSyntaxTextArea in org.fife.ui.rsyntaxtextarea.templates
Methods in org.fife.ui.rsyntaxtextarea.templates with parameters of type RSyntaxTextAreaModifier and TypeMethodDescriptionvoidCodeTemplate.invoke(RSyntaxTextArea textArea) Invokes this code template.voidStaticCodeTemplate.invoke(RSyntaxTextArea textArea) Invokes this code template.