|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use RSyntaxTextArea | |
|---|---|
| org.fife.ui.rsyntaxtextarea | A syntax-highlighting text editor. |
| org.fife.ui.rsyntaxtextarea.parser | Interfaces for parsing text in RSyntaxTextAreas and identifying errors, warnings, etc. |
| org.fife.ui.rsyntaxtextarea.templates | Facilitates adding code templates to an RSyntaxTextArea. |
| Uses of RSyntaxTextArea in org.fife.ui.rsyntaxtextarea |
|---|
| Subclasses of RSyntaxTextArea in org.fife.ui.rsyntaxtextarea | |
|---|---|
class |
TextEditorPane
An extension of RSyntaxTextArea
that adds information about the file being edited, such as:
Its name and location. |
| Methods in org.fife.ui.rsyntaxtextarea with parameters of type RSyntaxTextArea | |
|---|---|
String |
Token.getHTMLRepresentation(RSyntaxTextArea textArea)
Returns a String containing HTML code for painting this
token, using the given text area's color scheme. |
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. |
abstract 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 |
DefaultToken.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 |
VisibleWhitespaceToken.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. |
static int |
RSyntaxUtilities.getMatchingBracketPosition(RSyntaxTextArea textArea)
|
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. |
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. |
CodeTemplate |
CodeTemplateManager.getTemplate(RSyntaxTextArea textArea)
Returns the template that should be inserted at the current caret position, assuming the trigger character was pressed. |
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). |
float |
Token.getWidth(RSyntaxTextArea textArea,
TabExpander e,
float x0)
Returns the width of this token given the specified parameters. |
abstract float |
Token.getWidthUpTo(int numChars,
RSyntaxTextArea textArea,
TabExpander e,
float x0)
Returns the width of a specified number of characters in this token. |
float |
DefaultToken.getWidthUpTo(int numChars,
RSyntaxTextArea textArea,
TabExpander e,
float x0)
Returns the width of a specified number of characters in this token. |
float |
VisibleWhitespaceToken.getWidthUpTo(int numChars,
RSyntaxTextArea textArea,
TabExpander e,
float x0)
Returns the width of a specified number of characters in this token. |
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. |
abstract Rectangle |
Token.listOffsetToView(RSyntaxTextArea textArea,
TabExpander e,
int pos,
int x0,
Rectangle rect)
Returns the bounding box for the specified document location. |
Rectangle |
DefaultToken.listOffsetToView(RSyntaxTextArea textArea,
TabExpander e,
int pos,
int x0,
Rectangle rect)
Returns the bounding box for the specified document location. |
Rectangle |
VisibleWhitespaceToken.listOffsetToView(RSyntaxTextArea textArea,
TabExpander e,
int pos,
int x0,
Rectangle rect)
Returns the bounding box for the specified document location. |
static float |
RSyntaxUtilities.makeTokenListStartAt(Token tokenList,
int pos,
TabExpander e,
RSyntaxTextArea textArea,
float x0)
Modifies the passed-in token list to start at the specified offset. |
float |
Token.paint(Graphics2D g,
float x,
float y,
RSyntaxTextArea host,
TabExpander e)
Paints this token. |
abstract float |
Token.paint(Graphics2D g,
float x,
float y,
RSyntaxTextArea host,
TabExpander e,
float clipStart)
Paints this token. |
float |
DefaultToken.paint(Graphics2D g,
float x,
float y,
RSyntaxTextArea host,
TabExpander e,
float clipStart)
Paints this token. |
float |
VisibleWhitespaceToken.paint(Graphics2D g,
float x,
float y,
RSyntaxTextArea host,
TabExpander e,
float clipStart)
Paints this token, using special symbols for whitespace characters. |
protected void |
Token.paintBackground(float x,
float y,
float width,
float height,
Graphics2D g,
int fontAscent,
RSyntaxTextArea host,
Color color)
Paints the background of a token. |
void |
RSyntaxDocument.setWhitespaceVisible(boolean visible,
RSyntaxTextArea textArea)
Sets whether whitespace is visible. |
void |
TokenMaker.setWhitespaceVisible(boolean visible,
RSyntaxTextArea textArea)
Sets whether tokens are generated that "show" whitespace. |
| Constructors in org.fife.ui.rsyntaxtextarea with parameters of type RSyntaxTextArea | |
|---|---|
ErrorStrip(RSyntaxTextArea textArea)
Constructor. |
|
XMLParser(RSyntaxTextArea textArea)
|
|
| Uses of RSyntaxTextArea in org.fife.ui.rsyntaxtextarea.parser |
|---|
| Methods in org.fife.ui.rsyntaxtextarea.parser with parameters of type RSyntaxTextArea | |
|---|---|
void |
ExtendedHyperlinkListener.linkClicked(RSyntaxTextArea textArea,
HyperlinkEvent e)
Called when a link in a FocusableTip is clicked. |
| Uses of RSyntaxTextArea in org.fife.ui.rsyntaxtextarea.templates |
|---|
| Methods in org.fife.ui.rsyntaxtextarea.templates with parameters of type RSyntaxTextArea | |
|---|---|
void |
CodeTemplate.invoke(RSyntaxTextArea textArea)
Invokes this code template. |
void |
StaticCodeTemplate.invoke(RSyntaxTextArea textArea)
Invokes this code template. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||