|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Parser
implementations.TokenMaker
interface.TokenMakerFactory
implementations.RSyntaxTextArea
s when the active line range
changes.RSyntaxTextArea
.int
to the end of this array.
int
s in the specified array into this array
object at the specified location.
int
at the specified position in
this array.
RTextAreaBase
.RTextAreaBase
as an image.LayerPainter
that allows the user to
change several of its properties:
Its color/fill style (can use a GradientPaint
, for
example).ChangableHighlightPainter
that paints
highlights with the text area's selection color (i.e., behaves exactly
like
javax.swing.text.DefaultHighlighter.DefaultHighlightPainter
).
Paint
without rounded edges.
Fold
as being a region of code.
RTextAreaBase
as a solid color.Fold
as being a multi-line comment.
StaticCodeTemplate
to another.
RTextArea
.ConfigurableCaret.VERTICAL_LINE_STYLE
.
ConfigurableCaret
.
[getStartLine(), getEndLine()]
, inclusive.
FileLocation
instance for the specified local file.
FileLocation
instance for the specified local file.
FileLocation
instance for the specified file.
RTextArea
.
RSyntaxTextArea
s.
RSyntaxTextArea
RTextArea
s.
RTextArea
s.
ParseResult
.Reader
for javax.swing.text.Document
objects.java.util.ArrayList
, but specifically for
int
s.true
" iff
AbstractCodeTemplate.compareTo(CodeTemplate)
returns 0
.
RSyntaxTextArea
that displays
colored markers for locations of interest (parser errors, marked
occurrences, etc.).<
, >
and &
) replaced
by their HTML escape sequences.
FocusableTip
s.FOLD_TYPE_USER_DEFINED_MIN + n
.
Parser
to re-parse the content of this text
area.
int
at the specified position in this array
object.
TextEditorPane.LAST_MODIFIED_UNKNOWN
if this value cannot be
computed (such as for a remote file).
</
" is typed.
"standard" token type
for a given
"internal" token type (e.g. one whose value is < 0
).
"standard" token type
for a given
"internal" token type (e.g. one whose value is < 0
).
"standard" token type
for a given
"internal" token type (e.g. one whose value is < 0
).
RSyntaxTextArea
.
MxmlTokenMaker.getCompleteCloseTags()
.
XMLTokenMaker.getCompleteCloseTags()
.
true
always as C-style languages use curly braces
to denote code blocks.
true
since CSS uses curly braces.
true
always as C-style languages use curly braces
to denote code blocks.
RTextArea
.
TokenMakerFactory
instance.
String
containing HTML code for painting this
token, using the given text area's color scheme.
FocusableTip
s,
or null
if none.
FocusableTip
s,
or null
if none.
null
.
ParserNotice
HTML text.
null
if there is no paintable token.
Token.NULL
, as there are no multiline
tokens in properties files.
TokenTypes.NULL
if it was finished.
null
since BBCode has no comments.
true
if the line numbers are enabled and visible.
true
if the line numbers are enabled and visible.
x
if the token list
starts at pixel location x0
.
TokenTypes.IDENTIFIER
.
Subclasses can override this method to support other token types, such
as TokenTypes.VARIABLE
.
Token.MARKUP_TAG_NAME
.
searchIn
for an occurrence of
searchFor
either forwards or backwards, matching
case or not.
endBeforeX-startX
pixels.
Paint
(usually a java.awt.Color
)
being used to paint highlights.
getMatches()
.
false
always.
int
s in this array object.
LinkGenerator
.
LinkGenerator
.
RSyntaxTextArea
.
Token.getTextArray()
.
null
if
the given offset isn't in this token list's range.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
text
.
TokenMaker
for the specified key.
TokenMaker
for the specified key.
TokenMaker
for the specified key.
int
at the specified position in this array
object, without doing any bounds checking.
JTextComponent.setSelectedTextColor(Color)
.
Gutter
.DocumentRange.equals(Object)
is
overridden.
SyntaxScheme.equals(Object)
.
IconGroup.equals(Object)
, to honor
the invariant that equal objects must have equal hashcodes.
SearchResult.equals(Object)
is
overridden.
RTextArea
.Gutter
.RTextAreaBase
as an image.Fold
as being a section of import statements
(Java), include statements (C), etc.
TokenMakerCreator
s.
<script>
tag.
<style>
tag.
true
if and only if code folding is enabled for
this text area, AND folding is supported for the language it is editing.
TokenTypes.SEPARATOR
representing a single
left curly brace.
true
.
TokenTypes.SEPARATOR
representing a single
right curly brace.
CodeTemplate
id.
TextEditorPane.getLastSaveOrLoadTime()
for remote files.
LineNumberList
using default values for
line number color (gray) and highlighting the current line.
LineNumberList
.
FocusableTip
is clicked.
LinkGenerator
.toCommaSeparatedString
.
toCommaSeparatedString
.
RTextArea
s in the current
application.
RTextArea
.mark
operation.
NULL
mark the end of lines with no
multi-line token at the end (such as a block comment in C++).
OccurrenceMarker
is called when the caret stops moving after
a short period.JTextComponent
.RSyntaxTextArea
.RSyntaxTextArea
.paintComponent
method is overridden so we
apply any necessary rendering hints to the Graphics object.
RSyntaxTextArea
.Parser
.Document
using a monospaced font, and does no word wrapping (ie,
words will wrap mid-word to the next line).
Document
using a monospaced font, word wrapping on
the characters ' ', '\t', '\n', ',', '
Document
using the specified font, word wrapping
on the characters ' ', '\t', '\n', ',', '
TokenMakerFactory
of the specified class will be used as the default token maker factory.
false
", ignoring
case, files written out as UTF-8 will not have a BOM written for them.
RSyntaxTextArea
.
TokenMaker
implementation
class name.
TokenMaker
implementation
class name.
RTextArea
.array.length
characters from the beginning
of the document into array
.
Document
, thus requiring us to re-attach our Undo
manager.
RTextAreaEditorKit
.int
at the specified location from this array
object.
int
s in the specified range from this array
object.
JTextComponent
's
replaceSelection
, so that if textMode
is
RTextArea.OVERWRITE_MODE
, it actually overwrites.
RSyntaxTextArea
.RTextArea
that adds syntax highlighting
of certain programming languages to its list of features.RSyntaxTextArea
.
RSyntaxTextArea
.RSyntaxTextArea
.
RTextAreaEditorKit
that adds functionality for
programming-specific stuff.RSyntaxTextArea
s.RSyntaxTextArea
.RSyntaxTextArea
and its associated
classes.RTextArea
.RTextArea
.
RTextArea
via
drag-and-drop.RTextScrollPane
.
JTextArea
that adds the following features:
Insert/Overwrite modes (can be toggled via the Insert key)
A right-click popup menu with standard editing options
Macro support
"Mark all" functionality.RTextArea
.
MutableCaretEvent
in
JTextComponent
so that mouse events get fired when the user
is selecting text with the mouse as well.DefaultEditorKit
that adds functionality found
in RTextArea
.RTextArea
s.HighlightInfo
.HighlightInfo
for
painting layered highlights.RTextArea
.JScrollPane
that will only take
RTextArea
s (or javax.swing.JLayer
s decorating
RTextArea
s) for its view.setTemplateDirectory
.
RTextArea
.int
value at the specified position in this
array object.
</
" is typed.
Fold
is collapsed.
TokenMakerFactory
instance.
Paint
(usually a java.awt.Color
)
used to paint this highlight.
Paint
(usually a java.awt.Color
)
used to paint this highlight.
SearchContext.PROPERTY_USE_REGEX
RTextArea
.
int
value at the specified position in this
array object, without doing any bounds checking.
JTextComponent.setSelectedTextColor(Color)
).
RSyntaxTextArea
.RSyntaxTextArea
to
color tokens.null
.
javax.swing.text.View
object used by RSyntaxTextArea
when word wrap is disabled.SyntaxView
wrapped around an element.
TODO
",
"FIXME
", etc. in source code comments.IconRowHeader.paintComponent(Graphics)
to prevent reallocation on
each paint.
RSyntaxTextArea
that adds information about the file being edited, such as:
Its name and location.TextEditorPane
.
TextEditorPane
.
TextEditorPane
.
((r<<16) | (g<<8) | (b))
; if it is
null
, it is added as "-,".
Token
.TokenMaker
is a class that turns text into
a linked list of Token
s for syntax highlighting
in a particular language.TokenMaker
s capable of splitting
text into tokens for those syntax styles.TokenMaker
.textOffset
-
textOffset+textCount-1
).
textOffset
-
textOffset+textCount-1
).
String
, which is useful for
debugging.
JEditorPane
so it can be used to render the
content in a focusable pseudo-tool tip.
UnicodeReader
on files.
UnicodeReader
on files.
UnicodeReader
on files.
defaultEncoding
is
used.
Token
s
for syntax highlighting UNIX shell scripts.IconRowHeader.paintComponent(Graphics)
to prevent reallocation on
each paint.
RTextAreaBase
as an image.Token
s for syntax highlighting Microsoft
Windows batch files.RSyntaxTextArea
when word wrap is enabled.WrappedSyntaxView
class, designed to
be faster with large wrapped documents.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |