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.Fields in org.fife.ui.rsyntaxtextarea declared as RSyntaxTextAreaModifier and TypeFieldDescriptionprivate RSyntaxTextAreaSyntaxView.hostCached for each paint() call so each drawLine() call has access to it.private RSyntaxTextAreaWrappedSyntaxView.hostCached for each paint() call so each drawView() call has access to it.private RSyntaxTextAreaErrorStrip.textAreaThe text area.private RSyntaxTextAreaMarkOccurrencesSupport.textAreaprivate RSyntaxTextAreaMatchedBracketPopup.textAreaprivate RSyntaxTextAreaParserManager.textAreaprivate RSyntaxTextAreaSelectRegionLinkGeneratorResult.textAreaMethods in org.fife.ui.rsyntaxtextarea with parameters of type RSyntaxTextAreaModifier and TypeMethodDescriptionprivate booleanAbstractJFlexCTokenMaker.CStyleInsertBreakAction.appearsNested(RSyntaxTextArea textArea, int line, int offs) Returns whether the MLC token containingoffsappears to have a "nested" comment (i.e., contains "/*" somewhere inside it).private StringBuilderTokenImpl.appendHtmlLexeme(RSyntaxTextArea textArea, StringBuilder sb, boolean tabsToSpaces) Appends an HTML version of the lexeme of this token (i.e.Token.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.protected FoldRSyntaxTextAreaEditorKit.FoldRelatedAction.getClosestFold(RSyntaxTextArea textArea) 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).DefaultOccurrenceMarker.getTokenToMark(RSyntaxTextArea textArea) 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.protected voidRSyntaxTextAreaEditorKit.InsertBreakAction.handleInsertBreak(RSyntaxTextArea textArea, boolean noSelection) Actually inserts the newline into the document, and auto-indents if appropriate.private voidRSyntaxTextAreaEditorKit.InsertBreakAction.handleInsertBreakWithoutSelection(RSyntaxTextArea textArea) private voidAbstractJFlexCTokenMaker.CStyleInsertBreakAction.insertBreakInMLC(ActionEvent e, RSyntaxTextArea textArea, int line) private voidRSyntaxTextAreaEditorKit.InsertQuoteAction.insertEmptyQuoteLiteral(RSyntaxTextArea textArea) voidMarkOccurrencesSupport.install(RSyntaxTextArea textArea) Installs this listener on a text area.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.booleanDefaultOccurrenceMarker.isValidType(RSyntaxTextArea textArea, Token t) 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) final floatDefaultTokenPainter.paint(Token token, Graphics2D g, float x, float y, RSyntaxTextArea host, TabExpander e) floatDefaultTokenPainter.paint(Token token, Graphics2D g, float x, float y, RSyntaxTextArea host, TabExpander e, float clipStart) floatDefaultTokenPainter.paint(Token token, Graphics2D g, float x, float y, RSyntaxTextArea host, TabExpander e, float clipStart, boolean paintBG) floatTokenPainter.paint(Token token, Graphics2D g, float x, float y, RSyntaxTextArea host, TabExpander e) Paints this token.floatTokenPainter.paint(Token token, Graphics2D g, float x, float y, RSyntaxTextArea host, TabExpander e, float clipStart) Paints this token.floatTokenPainter.paint(Token token, Graphics2D g, float x, float y, RSyntaxTextArea host, TabExpander e, float clipStart, boolean paintBG) Paints this token.protected voidDefaultTokenPainter.paintBackground(float x, float y, float width, float height, Graphics2D g, int fontAscent, RSyntaxTextArea host, Color color) Paints the background of a token.protected floatDefaultTokenPainter.paintImpl(Token token, Graphics2D g, float x, float y, RSyntaxTextArea host, TabExpander e, float clipStart, boolean selected, boolean useSTC) Does the dirty-work of actually painting the token.protected floatVisibleWhitespaceTokenPainter.paintImpl(Token token, Graphics2D g, float x, float y, RSyntaxTextArea host, TabExpander e, float clipStart, boolean selected, boolean useSTC) protected voidRSyntaxTextAreaUI.paintMatchedBracketImpl(Graphics g, RSyntaxTextArea rsta, Rectangle r) floatDefaultTokenPainter.paintSelected(Token token, Graphics2D g, float x, float y, RSyntaxTextArea host, TabExpander e, boolean useSTC) floatDefaultTokenPainter.paintSelected(Token token, Graphics2D g, float x, float y, RSyntaxTextArea host, TabExpander e, float clipStart, boolean useSTC) floatTokenPainter.paintSelected(Token token, Graphics2D g, float x, float y, RSyntaxTextArea host, TabExpander e, boolean useSTC) Paints this token as it should appear in a selected region of text (assuming painting with a selection-foreground color is enabled in the parentRSyntaxTextArea).floatTokenPainter.paintSelected(Token token, Graphics2D g, float x, float y, RSyntaxTextArea host, TabExpander e, float clipStart, boolean useSTC) Paints this token as it should appear in a selected region of text (assuming painting with a selection-foreground color is enabled in the parentRSyntaxTextArea).protected voidDefaultTokenPainter.paintTabLines(Token token, int x, int y, int endX, Graphics2D g, TabExpander e, RSyntaxTextArea host) Paints dotted "tab" lines; that is, lines that show where your caret would go to on the line if you hit "tab".private voidRSyntaxTextAreaEditorKit.InsertBreakAction.possiblyCloseCurlyBrace(RSyntaxTextArea textArea, String leadingWS) 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.(package private)MatchedBracketPopup(Window parent, RSyntaxTextArea textArea, int offsToRender) (package private)ParserManager(int delay, RSyntaxTextArea textArea) Constructor.(package private)ParserManager(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
Fields in org.fife.ui.rsyntaxtextarea.folding declared as RSyntaxTextAreaModifier and TypeFieldDescriptionprivate RSyntaxTextAreaDefaultFoldManager.textAreaprivate RSyntaxTextAreaFold.textAreaMethods 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) private intHtmlFoldParser.getTagCloseInfo(Token tagNameToken, RSyntaxTextArea textArea, int line, HtmlFoldParser.TagCloseInfo info) Grabs the token representing the closing of a tag (i.e.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.