Package | Description |
---|---|
org.fife.ui.rsyntaxtextarea |
A syntax-highlighting text editor.
|
org.fife.ui.rsyntaxtextarea.folding |
Code folding functionality.
|
org.fife.ui.rsyntaxtextarea.modes |
Scanners that tokenize source in
RSyntaxTextArea . |
Modifier and Type | Class and Description |
---|---|
class |
TokenImpl
The default implementation of
Token . |
Modifier and Type | Field and Description |
---|---|
Token |
TokenUtils.TokenSubList.tokenList
The "sub" token list.
|
Modifier and Type | Method and Description |
---|---|
Token |
Token.getLastNonCommentNonWhitespaceToken()
Returns the last token in this list that is not whitespace or a
comment.
|
Token |
TokenImpl.getLastNonCommentNonWhitespaceToken() |
Token |
Token.getLastPaintableToken()
Returns the last paintable token in this token list, or
null
if there is no paintable token. |
Token |
TokenImpl.getLastPaintableToken() |
static Token |
RSyntaxUtilities.getNextImportantToken(Token t,
RSyntaxTextArea textArea,
int line)
Returns the next non-whitespace, non-comment token in a text area.
|
Token |
Token.getNextToken()
Returns the token after this one in the linked list.
|
Token |
TokenImpl.getNextToken() |
static Token |
RSyntaxUtilities.getPreviousImportantToken(RSyntaxDocument doc,
int line)
Returns the last non-whitespace, non-comment token, starting with the
specified line.
|
static Token |
RSyntaxUtilities.getPreviousImportantTokenFromOffs(RSyntaxDocument doc,
int offs)
Returns the last non-whitespace, non-comment token, before 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. |
static Token |
RSyntaxUtilities.getTokenAtOffset(RSyntaxDocument doc,
int offset)
Returns the token at the specified offset.
|
static Token |
RSyntaxUtilities.getTokenAtOffset(RSyntaxTextArea textArea,
int offset)
Returns the token at the specified offset.
|
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 |
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.getTokenListForPhysicalLineAbove(int offset)
Returns a token list for the physical line above 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.
|
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 |
OccurrenceMarker.getTokenToMark(RSyntaxTextArea textArea)
Returns the token to mark occurrences, of, provided it matches the
criteria put forth by
OccurrenceMarker.isValidType(RSyntaxTextArea, Token) . |
Token |
HtmlOccurrenceMarker.getTokenToMark(RSyntaxTextArea textArea)
Returns the token to mark occurrences, of, provided it matches the
criteria put forth by
OccurrenceMarker.isValidType(RSyntaxTextArea, Token) . |
Token |
XmlOccurrenceMarker.getTokenToMark(RSyntaxTextArea textArea)
Returns the token to mark occurrences, of, provided it matches the
criteria put forth by
OccurrenceMarker.isValidType(RSyntaxTextArea, Token) . |
Token |
RSyntaxTextArea.modelToToken(int offs)
Returns the token at the specified position in the model.
|
Token |
RSyntaxTextArea.viewToToken(Point p)
Returns the token at the specified position in the view.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Token> |
RSyntaxDocument.iterator()
Returns an iterator over the paintable tokens in this 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 |
TokenImpl.copyFrom(Token t2)
Makes one token point to the same text segment, and have the same value
as another token.
|
Color |
RSyntaxTextArea.getBackgroundForToken(Token token)
Returns the background color for a token.
|
Color |
RSyntaxTextArea.getForegroundForToken(Token t)
Returns the foreground color to use when painting a token.
|
static Token |
RSyntaxUtilities.getNextImportantToken(Token t,
RSyntaxTextArea textArea,
int line)
Returns the next non-whitespace, non-comment token in a text area.
|
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.
|
boolean |
TokenMakerBase.getShouldIndentNextLineAfter(Token token)
The default implementation returns
false always. |
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 |
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 boolean |
RSyntaxUtilities.isNonWordChar(Token t)
Returns whether the specified token is a single non-word char (e.g.
|
boolean |
OccurrenceMarker.isValidType(RSyntaxTextArea textArea,
Token t)
Returns whether the specified token is a type that we can do a
"mark occurrences" of.
|
boolean |
HtmlOccurrenceMarker.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.
|
void |
OccurrenceMarker.markOccurrences(RSyntaxDocument doc,
Token t,
RSyntaxTextAreaHighlighter h,
SmartHighlightPainter p)
Called when occurrences of a token should be marked.
|
void |
HtmlOccurrenceMarker.markOccurrences(RSyntaxDocument doc,
Token t,
RSyntaxTextAreaHighlighter h,
SmartHighlightPainter p)
Called when occurrences of a token should be marked.
|
void |
XmlOccurrenceMarker.markOccurrences(RSyntaxDocument doc,
Token t,
RSyntaxTextAreaHighlighter h,
SmartHighlightPainter p)
Called when occurrences of a token should be marked.
|
static boolean |
RSyntaxUtilities.regexCanFollowInJavaScript(Token t)
Returns whether a regular expression token can follow the specified
token in JavaScript.
|
void |
TokenImpl.setNextToken(Token nextToken)
Sets the "next token" pointer of this token to point to the specified
token.
|
Constructor and Description |
---|
TokenImpl(Token t2)
Creates this token as a copy of the passed-in token.
|
TokenSubList(Token tokenList,
float x) |
Modifier and Type | Method and Description |
---|---|
boolean |
CurlyFoldParser.isLeftCurly(Token t)
Returns whether the token is a left curly brace.
|
boolean |
LispFoldParser.isLeftCurly(Token t) |
boolean |
CurlyFoldParser.isRightCurly(Token t)
Returns whether the token is a right curly brace.
|
boolean |
LispFoldParser.isRightCurly(Token t) |
Modifier and Type | Method and Description |
---|---|
Token |
FortranTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text . |
Token |
NSISTokenMaker.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 |
JavaTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text . |
Token |
HtaccessTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text . |
Token |
ClojureTokenMaker.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 |
CSSTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text . |
Token |
ActionScriptTokenMaker.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 |
PerlTokenMaker.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 |
WindowsBatchTokenMaker.getTokenList(Segment text,
int startTokenType,
int startOffset)
Returns a list of tokens representing the given text.
|
Token |
ScalaTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text . |
Token |
JsonTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text . |
Token |
MakefileTokenMaker.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 |
LispTokenMaker.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 |
BBCodeTokenMaker.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 |
RubyTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text . |
Token |
DartTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text . |
Token |
DelphiTokenMaker.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 |
HTMLTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text . |
Token |
MxmlTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text . |
Token |
LatexTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text . |
Token |
PlainTextTokenMaker.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 |
CSharpTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text . |
Token |
DtdTokenMaker.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 |
JSPTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text . |
Token |
VisualBasicTokenMaker.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 |
DTokenMaker.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 |
JavaScriptTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text . |
Token |
CPlusPlusTokenMaker.getTokenList(Segment text,
int initialTokenType,
int startOffset)
Returns the first token in the linked list of tokens generated
from
text . |
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 |
NSISTokenMaker.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 |
JavaTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
HtaccessTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
ClojureTokenMaker.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 |
CSSTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
ActionScriptTokenMaker.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 |
PerlTokenMaker.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 |
ScalaTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
JsonTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
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 |
TclTokenMaker.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 |
LuaTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
BBCodeTokenMaker.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 |
RubyTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
DartTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
DelphiTokenMaker.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 |
HTMLTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
MxmlTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
LatexTokenMaker.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 |
CSharpTokenMaker.yylex()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
Token |
DtdTokenMaker.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.
|
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 |
VisualBasicTokenMaker.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 |
DTokenMaker.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 |
JavaScriptTokenMaker.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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CSSTokenMaker.getShouldIndentNextLineAfter(Token t)
The default implementation returns
false always. |
boolean |
JsonTokenMaker.getShouldIndentNextLineAfter(Token t) |
boolean |
HTMLTokenMaker.getShouldIndentNextLineAfter(Token token)
Overridden to handle newlines in JS and CSS differently than those in
markup.
|
boolean |
JSPTokenMaker.getShouldIndentNextLineAfter(Token token)
Overridden to handle newlines in JS and CSS differently than those in
markup.
|
boolean |
PHPTokenMaker.getShouldIndentNextLineAfter(Token token)
Overridden to handle newlines in JS and CSS differently than those in
markup.
|
Copyright © 2003–2015. All rights reserved.