private boolean |
AbstractJFlexCTokenMaker.CStyleInsertBreakAction.appearsNested(RSyntaxTextArea textArea,
int line,
int offs) |
Returns whether the MLC token containing offs appears
to have a "nested" comment (i.e., contains "/* "
somewhere inside it).
|
private java.lang.StringBuilder |
TokenImpl.appendHtmlLexeme(RSyntaxTextArea textArea,
java.lang.StringBuilder sb,
boolean tabsToSpaces) |
Appends an HTML version of the lexeme of this token (i.e.
|
java.lang.StringBuilder |
Token.appendHTMLRepresentation(java.lang.StringBuilder sb,
RSyntaxTextArea textArea,
boolean fontFamily) |
Appends HTML code for painting this token, using the given text area's
color scheme.
|
java.lang.StringBuilder |
Token.appendHTMLRepresentation(java.lang.StringBuilder sb,
RSyntaxTextArea textArea,
boolean fontFamily,
boolean tabsToSpaces) |
Appends HTML code for painting this token, using the given text area's
color scheme.
|
java.lang.StringBuilder |
TokenImpl.appendHTMLRepresentation(java.lang.StringBuilder sb,
RSyntaxTextArea textArea,
boolean fontFamily) |
|
java.lang.StringBuilder |
TokenImpl.appendHTMLRepresentation(java.lang.StringBuilder sb,
RSyntaxTextArea textArea,
boolean fontFamily,
boolean tabsToSpaces) |
|
void |
Theme.apply(RSyntaxTextArea textArea) |
Applies this theme to a text area.
|
protected Fold |
RSyntaxTextAreaEditorKit.FoldRelatedAction.getClosestFold(RSyntaxTextArea textArea) |
|
static java.awt.Color |
RSyntaxUtilities.getFoldedLineBottomColor(RSyntaxTextArea textArea) |
Returns the color to use for the line underneath a folded region line.
|
java.lang.String |
Token.getHTMLRepresentation(RSyntaxTextArea textArea) |
Returns a String containing HTML code for painting this
token, using the given text area's color scheme.
|
java.lang.String |
TokenImpl.getHTMLRepresentation(RSyntaxTextArea textArea) |
|
static java.awt.Rectangle |
RSyntaxUtilities.getLineWidthUpTo(RSyntaxTextArea textArea,
javax.swing.text.Segment s,
int p0,
int p1,
javax.swing.text.TabExpander e,
java.awt.Rectangle rect,
int x0) |
Returns the bounding box (in the current view) of a specified position
in the model.
|
int |
Token.getListOffset(RSyntaxTextArea textArea,
javax.swing.text.TabExpander e,
float x0,
float x) |
Determines the offset into this token list (i.e., into the
document) that covers pixel location x if the token list
starts at pixel location x0
|
int |
TokenImpl.getListOffset(RSyntaxTextArea textArea,
javax.swing.text.TabExpander e,
float x0,
float x) |
|
static java.awt.Point |
RSyntaxUtilities.getMatchingBracketPosition(RSyntaxTextArea textArea,
java.awt.Point input) |
Returns the location of the bracket paired with the one at the current
caret position.
|
static Token |
RSyntaxUtilities.getNextImportantToken(Token t,
RSyntaxTextArea textArea,
int line) |
Returns the next non-whitespace, non-comment token in a text area.
|
int |
Token.getOffsetBeforeX(RSyntaxTextArea textArea,
javax.swing.text.TabExpander e,
float startX,
float endBeforeX) |
Returns the position in the document that represents the last character
in the token that will fit into endBeforeX-startX pixels.
|
int |
TokenImpl.getOffsetBeforeX(RSyntaxTextArea textArea,
javax.swing.text.TabExpander e,
float startX,
float endBeforeX) |
|
static int |
RSyntaxUtilities.getPositionAbove(RSyntaxTextArea c,
int offs,
float x,
javax.swing.text.TabExpander e) |
Determines the position in the model that is closest to the given
view location in the row above.
|
static int |
RSyntaxUtilities.getPositionBelow(RSyntaxTextArea c,
int offs,
float x,
javax.swing.text.TabExpander e) |
Determines the position in the model that is closest to the given
view location in the row below.
|
static TokenUtils.TokenSubList |
TokenUtils.getSubTokenList(Token tokenList,
int pos,
javax.swing.text.TabExpander e,
RSyntaxTextArea textArea,
float x0) |
Modifies the passed-in token list to start at the specified offset.
|
static TokenUtils.TokenSubList |
TokenUtils.getSubTokenList(Token tokenList,
int pos,
javax.swing.text.TabExpander e,
RSyntaxTextArea textArea,
float x0,
TokenImpl tempToken) |
Modifies the passed-in token list to start at the specified offset.
|
static Token |
HtmlOccurrenceMarker.getTagNameTokenForCaretOffset(RSyntaxTextArea textArea,
OccurrenceMarker occurrenceMarker) |
If the caret is inside a tag, this method returns the token
representing the tag name; otherwise, null is returned.
|
CodeTemplate |
CodeTemplateManager.getTemplate(RSyntaxTextArea textArea) |
Returns the template that should be inserted at the current caret
position, assuming the trigger character was pressed.
|
static java.lang.String |
HtmlUtil.getTextAsHtml(RSyntaxTextArea textArea,
int start,
int end) |
Returns text from a text area as HTML.
|
static Token |
RSyntaxUtilities.getTokenAtOffset(RSyntaxTextArea textArea,
int offset) |
Returns the token at the specified offset.
|
static Token |
RSyntaxUtilities.getTokenAtOffsetOrLastTokenIfEndOfLine(RSyntaxTextArea textArea,
int offset) |
Returns the token at the specified offset.
|
static float |
RSyntaxUtilities.getTokenListWidth(Token tokenList,
RSyntaxTextArea textArea,
javax.swing.text.TabExpander e) |
Determines the width of the given token list taking tabs
into consideration.
|
static float |
RSyntaxUtilities.getTokenListWidth(Token tokenList,
RSyntaxTextArea textArea,
javax.swing.text.TabExpander e,
float x0) |
Determines the width of the given token list taking tabs
into consideration.
|
static float |
RSyntaxUtilities.getTokenListWidthUpTo(Token tokenList,
RSyntaxTextArea textArea,
javax.swing.text.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).
|
Token |
DefaultOccurrenceMarker.getTokenToMark(RSyntaxTextArea textArea) |
|
Token |
HtmlOccurrenceMarker.getTokenToMark(RSyntaxTextArea textArea) |
|
Token |
OccurrenceMarker.getTokenToMark(RSyntaxTextArea textArea) |
|
Token |
XmlOccurrenceMarker.getTokenToMark(RSyntaxTextArea textArea) |
|
float |
Token.getWidth(RSyntaxTextArea textArea,
javax.swing.text.TabExpander e,
float x0) |
Returns the width of this token given the specified parameters.
|
float |
TokenImpl.getWidth(RSyntaxTextArea textArea,
javax.swing.text.TabExpander e,
float x0) |
|
float |
Token.getWidthUpTo(int numChars,
RSyntaxTextArea textArea,
javax.swing.text.TabExpander e,
float x0) |
Returns the width of a specified number of characters in this token.
|
float |
TokenImpl.getWidthUpTo(int numChars,
RSyntaxTextArea textArea,
javax.swing.text.TabExpander e,
float x0) |
|
static int |
RSyntaxUtilities.getWordEnd(RSyntaxTextArea textArea,
int offs) |
Returns the end of the word at the given offset.
|
static int |
RSyntaxUtilities.getWordStart(RSyntaxTextArea textArea,
int offs) |
Returns the start of the word at the given offset.
|
java.lang.String |
FileTypeUtil.guessContentType(RSyntaxTextArea textArea) |
Sets the text area's highlighting style based on its content (e.g.
|
protected void |
RSyntaxTextAreaEditorKit.InsertBreakAction.handleInsertBreak(RSyntaxTextArea textArea,
boolean noSelection) |
Actually inserts the newline into the document, and auto-indents
if appropriate.
|
private void |
RSyntaxTextAreaEditorKit.InsertBreakAction.handleInsertBreakWithoutSelection(RSyntaxTextArea textArea) |
|
private void |
AbstractJFlexCTokenMaker.CStyleInsertBreakAction.insertBreakInMLC(java.awt.event.ActionEvent e,
RSyntaxTextArea textArea,
int line) |
|
private void |
RSyntaxTextAreaEditorKit.InsertQuoteAction.insertEmptyQuoteLiteral(RSyntaxTextArea textArea) |
|
void |
MarkOccurrencesSupport.install(RSyntaxTextArea textArea) |
Installs this listener on a text area.
|
LinkGeneratorResult |
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.
|
boolean |
DefaultOccurrenceMarker.isValidType(RSyntaxTextArea textArea,
Token t) |
|
boolean |
HtmlOccurrenceMarker.isValidType(RSyntaxTextArea textArea,
Token t) |
|
boolean |
OccurrenceMarker.isValidType(RSyntaxTextArea textArea,
Token t) |
Returns whether the specified token is a type that we can do a
"mark occurrences" of.
|
boolean |
XmlOccurrenceMarker.isValidType(RSyntaxTextArea textArea,
Token t) |
|
java.awt.Rectangle |
Token.listOffsetToView(RSyntaxTextArea textArea,
javax.swing.text.TabExpander e,
int pos,
int x0,
java.awt.Rectangle rect) |
Returns the bounding box for the specified document location.
|
java.awt.Rectangle |
TokenImpl.listOffsetToView(RSyntaxTextArea textArea,
javax.swing.text.TabExpander e,
int pos,
int x0,
java.awt.Rectangle rect) |
|
float |
DefaultTokenPainter.paint(Token token,
java.awt.Graphics2D g,
float x,
float y,
RSyntaxTextArea host,
javax.swing.text.TabExpander e) |
|
float |
DefaultTokenPainter.paint(Token token,
java.awt.Graphics2D g,
float x,
float y,
RSyntaxTextArea host,
javax.swing.text.TabExpander e,
float clipStart) |
|
float |
DefaultTokenPainter.paint(Token token,
java.awt.Graphics2D g,
float x,
float y,
RSyntaxTextArea host,
javax.swing.text.TabExpander e,
float clipStart,
boolean paintBG) |
|
float |
TokenPainter.paint(Token token,
java.awt.Graphics2D g,
float x,
float y,
RSyntaxTextArea host,
javax.swing.text.TabExpander e) |
Paints this token.
|
float |
TokenPainter.paint(Token token,
java.awt.Graphics2D g,
float x,
float y,
RSyntaxTextArea host,
javax.swing.text.TabExpander e,
float clipStart) |
Paints this token.
|
float |
TokenPainter.paint(Token token,
java.awt.Graphics2D g,
float x,
float y,
RSyntaxTextArea host,
javax.swing.text.TabExpander e,
float clipStart,
boolean paintBG) |
Paints this token.
|
protected void |
DefaultTokenPainter.paintBackground(float x,
float y,
float width,
float height,
java.awt.Graphics2D g,
int fontAscent,
RSyntaxTextArea host,
java.awt.Color color) |
Paints the background of a token.
|
protected float |
DefaultTokenPainter.paintImpl(Token token,
java.awt.Graphics2D g,
float x,
float y,
RSyntaxTextArea host,
javax.swing.text.TabExpander e,
float clipStart,
boolean selected,
boolean useSTC) |
Does the dirty-work of actually painting the token.
|
protected float |
VisibleWhitespaceTokenPainter.paintImpl(Token token,
java.awt.Graphics2D g,
float x,
float y,
RSyntaxTextArea host,
javax.swing.text.TabExpander e,
float clipStart,
boolean selected,
boolean useSTC) |
|
protected void |
RSyntaxTextAreaUI.paintMatchedBracketImpl(java.awt.Graphics g,
RSyntaxTextArea rsta,
java.awt.Rectangle r) |
|
float |
DefaultTokenPainter.paintSelected(Token token,
java.awt.Graphics2D g,
float x,
float y,
RSyntaxTextArea host,
javax.swing.text.TabExpander e,
boolean useSTC) |
|
float |
DefaultTokenPainter.paintSelected(Token token,
java.awt.Graphics2D g,
float x,
float y,
RSyntaxTextArea host,
javax.swing.text.TabExpander e,
float clipStart,
boolean useSTC) |
|
float |
TokenPainter.paintSelected(Token token,
java.awt.Graphics2D g,
float x,
float y,
RSyntaxTextArea host,
javax.swing.text.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
parent RSyntaxTextArea ).
|
float |
TokenPainter.paintSelected(Token token,
java.awt.Graphics2D g,
float x,
float y,
RSyntaxTextArea host,
javax.swing.text.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
parent RSyntaxTextArea ).
|
protected void |
DefaultTokenPainter.paintTabLines(Token token,
int x,
int y,
int endX,
java.awt.Graphics2D g,
javax.swing.text.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 void |
RSyntaxTextAreaEditorKit.InsertBreakAction.possiblyCloseCurlyBrace(RSyntaxTextArea textArea,
java.lang.String leadingWS) |
|
static java.lang.String |
TokenUtils.tokenToHtml(RSyntaxTextArea textArea,
Token token) |
Generates HTML that renders a token with the style used in an RSTA instance.
|