StringBuilder |
Token.appendHTMLRepresentation(StringBuilder sb,
RSyntaxTextArea textArea,
boolean fontFamily) |
Appends HTML code for painting this token, using the given text area's
color scheme.
|
StringBuilder |
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.
|
StringBuilder |
TokenImpl.appendHTMLRepresentation(StringBuilder sb,
RSyntaxTextArea textArea,
boolean fontFamily) |
|
StringBuilder |
TokenImpl.appendHTMLRepresentation(StringBuilder sb,
RSyntaxTextArea textArea,
boolean fontFamily,
boolean tabsToSpaces) |
|
void |
Theme.apply(RSyntaxTextArea textArea) |
Applies this theme to a text area.
|
static Color |
RSyntaxUtilities.getFoldedLineBottomColor(RSyntaxTextArea textArea) |
Returns the color to use for the line underneath a folded region line.
|
String |
Token.getHTMLRepresentation(RSyntaxTextArea textArea) |
Returns a String containing HTML code for painting this
token, using the given text area's color scheme.
|
String |
TokenImpl.getHTMLRepresentation(RSyntaxTextArea textArea) |
|
static Rectangle |
RSyntaxUtilities.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.
|
int |
Token.getListOffset(RSyntaxTextArea textArea,
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,
TabExpander e,
float x0,
float x) |
|
static Point |
RSyntaxUtilities.getMatchingBracketPosition(RSyntaxTextArea textArea,
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,
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,
TabExpander e,
float startX,
float endBeforeX) |
|
static int |
RSyntaxUtilities.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 int |
RSyntaxUtilities.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.TokenSubList |
TokenUtils.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.TokenSubList |
TokenUtils.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 Token |
HtmlOccurrenceMarker.getTagNameTokenForCaretOffset(RSyntaxTextArea textArea,
OccurrenceMarker occurrenceMarker) |
If the caret is inside of 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 Token |
RSyntaxUtilities.getTokenAtOffset(RSyntaxTextArea textArea,
int offset) |
Returns the token at the specified offset.
|
static float |
RSyntaxUtilities.getTokenListWidth(Token tokenList,
RSyntaxTextArea textArea,
TabExpander e) |
Determines the width of the given token list taking tabs
into consideration.
|
static float |
RSyntaxUtilities.getTokenListWidth(Token tokenList,
RSyntaxTextArea textArea,
TabExpander e,
float x0) |
Determines the width of the given token list taking tabs
into consideration.
|
static float |
RSyntaxUtilities.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).
|
Token |
HtmlOccurrenceMarker.getTokenToMark(RSyntaxTextArea textArea) |
|
Token |
OccurrenceMarker.getTokenToMark(RSyntaxTextArea textArea) |
|
Token |
XmlOccurrenceMarker.getTokenToMark(RSyntaxTextArea textArea) |
|
float |
Token.getWidth(RSyntaxTextArea textArea,
TabExpander e,
float x0) |
Returns the width of this token given the specified parameters.
|
float |
TokenImpl.getWidth(RSyntaxTextArea textArea,
TabExpander e,
float x0) |
|
float |
Token.getWidthUpTo(int numChars,
RSyntaxTextArea textArea,
TabExpander e,
float x0) |
Returns the width of a specified number of characters in this token.
|
float |
TokenImpl.getWidthUpTo(int numChars,
RSyntaxTextArea textArea,
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.
|
protected void |
RSyntaxTextAreaEditorKit.InsertBreakAction.handleInsertBreak(RSyntaxTextArea textArea,
boolean noSelection) |
Actually inserts the newline into the document, and auto-indents
if appropriate.
|
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 |
HtmlOccurrenceMarker.isValidType(RSyntaxTextArea textArea,
Token t) |
Returns whether the specified token is a type that we can do a
"mark occurrences" of.
|
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) |
Returns whether the specified token is a type that we can do a
"mark occurrences" of.
|
Rectangle |
Token.listOffsetToView(RSyntaxTextArea textArea,
TabExpander e,
int pos,
int x0,
Rectangle rect) |
Returns the bounding box for the specified document location.
|
Rectangle |
TokenImpl.listOffsetToView(RSyntaxTextArea textArea,
TabExpander e,
int pos,
int x0,
Rectangle rect) |
|
protected void |
RSyntaxTextAreaUI.paintMatchedBracketImpl(Graphics g,
RSyntaxTextArea rsta,
Rectangle r) |
|