| Package | Description |
|---|---|
| org.fife.ui.rsyntaxtextarea |
A syntax-highlighting text editor.
|
| org.fife.ui.rsyntaxtextarea.modes |
Scanners that tokenize source in
RSyntaxTextArea. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultToken
The default token used in the
org.fife.ui.rsyntaxtextarea syntax
package. |
class |
VisibleWhitespaceToken
This token class paints spaces and tabs with special symbols so the user
can see the whitespace in his document.
|
| Modifier and Type | Method and Description |
|---|---|
Token |
Token.getLastNonCommentNonWhitespaceToken()
Returns the last token in this list that is not whitespace or a
comment.
|
Token |
Token.getLastPaintableToken()
Returns the last paintable token in this token list, or
null
if there is no paintable token. |
Token |
Token.getNextToken()
Returns the token after this one in the linked list.
|
static Token |
RSyntaxUtilities.getTokenAtOffset(Token tokenList,
int offset)
Returns the token at the specified index, or
null if
the given offset isn't in this token list's range.Note that this method does NOT check to see if tokenList
is null; callers should check for themselves. |
Token |
TokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
RSyntaxTextArea.getTokenListForLine(int line)
Returns a list of tokens representing the given line.
|
Token |
RSyntaxDocument.getTokenListForLine(int line)
Returns a token list for the specified segment of text representing
the specified line number.
|
Token |
TokenOrientedView.getTokenListForPhysicalLineAbove(int offset)
Returns a token list for the physical line above the physical
line containing the specified offset into the document.
|
Token |
SyntaxView.getTokenListForPhysicalLineAbove(int offset)
Returns a token list for the physical line above the physical
line containing the specified offset into the document.
|
Token |
TokenOrientedView.getTokenListForPhysicalLineBelow(int offset)
Returns a token list for the physical line below the physical
line containing the specified offset into the document.
|
Token |
SyntaxView.getTokenListForPhysicalLineBelow(int offset)
Returns a token list for the physical line below the physical
line containing the specified offset into the document.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
WrappedSyntaxView.calculateBreakPosition(int p0,
Token tokenList,
float x0)
This is called by the nested wrapped line
views to determine the break location.
|
void |
Token.copyFrom(Token t2)
Makes one token point to the same text segment, and have the same value
as another token.
|
float |
SyntaxView.drawLine(Token token,
Graphics2D g,
float x,
float y)
Draws the passed-in text using syntax highlighting for the current
language.
|
Color |
RSyntaxTextArea.getForegroundForToken(Token t)
Returns the foreground color to use when painting a token.
|
boolean |
AbstractJFlexCTokenMaker.getShouldIndentNextLineAfter(Token t)
The default implementation returns
false always. |
boolean |
TokenMaker.getShouldIndentNextLineAfter(Token token)
If a line ends in the specified token, this method returns whether
a new line inserted after that line should be indented.
|
static Token |
RSyntaxUtilities.getTokenAtOffset(Token tokenList,
int offset)
Returns the token at the specified index, or
null if
the given offset isn't in this token list's range.Note that this method does NOT check to see if tokenList
is null; callers should check for themselves. |
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).
|
boolean |
RSyntaxTextArea.getUnderlineForToken(Token t)
Returns whether the specified token should be underlined.
|
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.
|
void |
Token.setNextToken(Token nextToken)
Sets the "next token" pointer of this token to point to the specified
token.
|
| Constructor and Description |
|---|
Token(Token t2)
Creates this token as a deep copy of the passed-in token.
|
| Modifier and Type | Method and Description |
|---|---|
Token |
MakefileTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
CTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
WindowsBatchTokenMaker.getTokenList(Segment text,
int startTokenType,
int startOffset)
Returns a list of tokens representing the given text.
|
Token |
PlainTextTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
PerlTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
FortranTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
JavaScriptTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
LuaTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
TclTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
GroovyTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
UnixShellTokenMaker.getTokenList(Segment text,
int startTokenType,
int startOffset)
Returns a list of tokens representing the given text.
|
Token |
CPlusPlusTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
SQLTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
LispTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
PHPTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
XMLTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
CSSTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
CSharpTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
JavaTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
RubyTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
SASTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
JSPTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
PropertiesFileTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
AssemblerX86TokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
HTMLTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
PythonTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text. |
Token |
MakefileTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
CTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
PlainTextTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
PerlTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
FortranTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
LuaTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
TclTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
GroovyTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
CPlusPlusTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
SQLTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
LispTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
PHPTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
XMLTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
CSSTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
CSharpTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
JavaTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
RubyTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
SASTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
JSPTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
PropertiesFileTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
AssemblerX86TokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
HTMLTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
PythonTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
JavaScriptTokenMaker.getShouldIndentNextLineAfter(Token t)
Returns
true if the specified token is a '{' or
'(' separator. |
Copyright © 2009-2013 jtstand.com. All Rights Reserved.