Skip navigation links
A B C D E F G H I J K L M N O P R S T U V 

A

addHighlightedLine(int) - Method in class syntaxhighlight.JTextComponentRowHeader
Add highlighted line.
addHighlightedLine(int) - Method in class syntaxhighlight.SyntaxHighlighter
Add highlighted line.
addHighlightedLine(int) - Method in class syntaxhighlight.SyntaxHighlighterPane
Add highlighted line.
addStyle(String, Style) - Method in class syntaxhighlight.Theme
Add style.
addStyleKey(String) - Method in class syntaxhighlight.ParseResult
The style keys of the content.
ALL_KEYWORDS - Static variable in class prettify.parser.Prettify
 
allowAnywhereFoldCaseAndRenumberGroups(Pattern) - Method in class prettify.parser.CombinePrefixPattern
 
appendDecorations(int, String, Prettify.CreateSimpleLexer, List<Object>) - Static method in class prettify.parser.Prettify
Apply the given language handler to sourceCode and add the resulting decorations to out.
applyStyle() - Method in class syntaxhighlight.SyntaxHighlighterPane
Apply the list of style to the script text pane.
attributeSet - Variable in class syntaxhighlight.Style
The AttributeSet representation of this style.

B

background - Variable in class syntaxhighlight.Style
The background color, null means no background color is set.
background - Variable in class syntaxhighlight.Theme
The background color of the script text area.
basePos - Variable in class prettify.parser.Job
The starting point of the source code.
bold - Variable in class syntaxhighlight.Style
Font bold.
borderColor - Variable in class syntaxhighlight.JTextComponentRowHeader
The color of the border that joint the gutter and the script text area.
borderWidth - Variable in class syntaxhighlight.JTextComponentRowHeader
The width of the border that joint the gutter and the script text area.

C

C_KEYWORDS - Static variable in class prettify.parser.Prettify
 
C_TYPES - Static variable in class prettify.parser.Prettify
 
capturedGroupIndex - Variable in class prettify.parser.CombinePrefixPattern
 
caseFoldCharset(String) - Static method in class prettify.parser.CombinePrefixPattern
 
changed - Variable in class syntaxhighlight.Style
It indicate whether the Style.attributeSet has updated after any style changes.
checkPanelSize() - Method in class syntaxhighlight.JTextComponentRowHeader
Check whether the height of the row header panel match with the height of the text component or not.
clearHighlightedLine() - Method in class syntaxhighlight.JTextComponentRowHeader
Clear highlighted lines.
clearStyleKeys() - Method in class syntaxhighlight.ParseResult
The style keys of the content.
clearStyles() - Method in class syntaxhighlight.Theme
Clear all styles.
clone() - Method in class syntaxhighlight.Style
clone() - Method in class syntaxhighlight.Theme
COFFEE_KEYWORDS - Static variable in class prettify.parser.Prettify
 
color - Variable in class syntaxhighlight.Style
Font color.
com.github.twalcari.prettify - package com.github.twalcari.prettify
 
CombinePrefixPattern - Class in prettify.parser
This is similar to the combinePrefixPattern.js in JavaScript Prettify.
CombinePrefixPattern() - Constructor for class prettify.parser.CombinePrefixPattern
 
combinePrefixPattern(List<Pattern>) - Method in class prettify.parser.CombinePrefixPattern
Given a group of Patterns, returns a RegExp that globally matches the union of the sets of strings matched by the input RegExp.
COMMON_KEYWORDS - Static variable in class prettify.parser.Prettify
 
computeAndApplyHighlighting(String) - Method in class com.github.twalcari.prettify.RTSyntaxHighlighter
 
content - Variable in class syntaxhighlight.SyntaxHighlighter
The content of the syntax highlighter, null if there is no content so far.
CPP_KEYWORDS - Static variable in class prettify.parser.Prettify
 
CreateSimpleLexer(List<List<Object>>, List<List<Object>>) - Constructor for class prettify.parser.Prettify.CreateSimpleLexer
Given triples of [style, pattern, context] returns a lexing function, The lexing function interprets the patterns to find token boundaries and returns a decoration list of the form [index_0, style_0, index_1, style_1, ..., index_n, style_n] where index_n is an index into the sourceCode, and style_n is a style constant like PR_PLAIN.
CSHARP_KEYWORDS - Static variable in class prettify.parser.Prettify
 

D

decodeEscape(String) - Static method in class prettify.parser.CombinePrefixPattern
 
decorate(Job) - Method in class prettify.parser.Prettify.CreateSimpleLexer
Lexes job.sourceCode and produces an output array job.decorations of style classes preceded by the position at which they start in job.sourceCode in order.
decorations - Variable in class prettify.parser.Job
The parsed results.
document - Variable in class syntaxhighlight.JTextComponentRowHeader
The document of the text component.
documentListener - Variable in class syntaxhighlight.JTextComponentRowHeader
The document listener for document.

E

encodeEscape(int) - Static method in class prettify.parser.CombinePrefixPattern
 
equals(Object) - Method in class syntaxhighlight.Style
escapeCharToCodeUnit - Static variable in class prettify.parser.CombinePrefixPattern
 
Example - Class in prettify.example
Usage example.
Example() - Constructor for class prettify.example.Example
 
extendedLangs - Variable in class prettify.lang.Lang
See LangCss for example.

F

fallthroughStylePatterns - Variable in class prettify.lang.Lang
Similar to those in JavaScript prettify.js.
fallthroughStylePatterns - Variable in class prettify.parser.Prettify.CreateSimpleLexer
 
FLOW_CONTROL_KEYWORDS - Static variable in class prettify.parser.Prettify
 
font - Variable in class syntaxhighlight.Theme
The font of the script text.

G

getAttributeSet() - Method in class syntaxhighlight.Style
Get the AttributeSet of this style.
getBackground() - Method in class syntaxhighlight.Style
Get the background color.
getBackground() - Method in class syntaxhighlight.Theme
The background color of the script text area.
getBasePos() - Method in class prettify.parser.Job
Set the starting point of the source code.
getBorderColor() - Method in class syntaxhighlight.JTextComponentRowHeader
The color of the border that joint the gutter and the script text area.
getBorderWidth() - Method in class syntaxhighlight.JTextComponentRowHeader
The width of the border that joint the gutter and the script text area.
getColor() - Method in class syntaxhighlight.Style
 
getDecorations() - Method in class prettify.parser.Job
Get the parsed results.
getExtendedLangs() - Method in class prettify.lang.Lang
Get the extended languages list.
getFallthroughStylePatterns() - Method in class prettify.lang.Lang
 
getFileExtensions() - Static method in class prettify.lang.Lang
This method should be overridden by the child class.
getFileExtensions() - Static method in class prettify.lang.LangAppollo
 
getFileExtensions() - Static method in class prettify.lang.LangBasic
 
getFileExtensions() - Static method in class prettify.lang.LangClj
 
getFileExtensions() - Static method in class prettify.lang.LangCss
 
getFileExtensions() - Static method in class prettify.lang.LangCss.LangCssKeyword
 
getFileExtensions() - Static method in class prettify.lang.LangCss.LangCssString
 
getFileExtensions() - Static method in class prettify.lang.LangDart
 
getFileExtensions() - Static method in class prettify.lang.LangErlang
 
getFileExtensions() - Static method in class prettify.lang.LangGo
 
getFileExtensions() - Static method in class prettify.lang.LangHs
 
getFileExtensions() - Static method in class prettify.lang.LangLisp
 
getFileExtensions() - Static method in class prettify.lang.LangLlvm
 
getFileExtensions() - Static method in class prettify.lang.LangLua
 
getFileExtensions() - Static method in class prettify.lang.LangMatlab
 
getFileExtensions() - Static method in class prettify.lang.LangMatlab.LangMatlabIdentifier
 
getFileExtensions() - Static method in class prettify.lang.LangMatlab.LangMatlabOperator
 
getFileExtensions() - Static method in class prettify.lang.LangMl
 
getFileExtensions() - Static method in class prettify.lang.LangMumps
 
getFileExtensions() - Static method in class prettify.lang.LangN
 
getFileExtensions() - Static method in class prettify.lang.LangPascal
 
getFileExtensions() - Static method in class prettify.lang.LangR
 
getFileExtensions() - Static method in class prettify.lang.LangRd
 
getFileExtensions() - Static method in class prettify.lang.LangScala
 
getFileExtensions() - Static method in class prettify.lang.LangSql
 
getFileExtensions() - Static method in class prettify.lang.LangTcl
 
getFileExtensions() - Static method in class prettify.lang.LangTex
 
getFileExtensions() - Static method in class prettify.lang.LangVb
 
getFileExtensions() - Static method in class prettify.lang.LangVhdl
 
getFileExtensions() - Static method in class prettify.lang.LangWiki
 
getFileExtensions() - Static method in class prettify.lang.LangWiki.LangWikiMeta
 
getFileExtensions() - Static method in class prettify.lang.LangXq
 
getFileExtensions() - Static method in class prettify.lang.LangYaml
 
getFileExtensionsFromClass(Class<? extends Lang>) - Method in class prettify.parser.Prettify
 
getFont() - Method in class syntaxhighlight.Theme
The font of the script text.
getGutterBorderColor() - Method in class syntaxhighlight.Theme
The color of the border that joint the gutter and the script text area.
getGutterBorderWidth() - Method in class syntaxhighlight.Theme
The width of the border that joint the gutter and the script text area.
getGutterText() - Method in class syntaxhighlight.Theme
The color of the gutter text.
getGutterTextFont() - Method in class syntaxhighlight.Theme
The font of the gutter text.
getGutterTextPaddingLeft() - Method in class syntaxhighlight.Theme
The minimum padding from 'the leftmost of the line number text' to 'the left margin'.
getGutterTextPaddingRight() - Method in class syntaxhighlight.Theme
The minimum padding from 'the rightmost of the line number text' to 'the right margin' (not to the gutter border).
getHighlightedBackground() - Method in class syntaxhighlight.SyntaxHighlighterPane
Get the color of the highlighted background.
getHighlightedBackground() - Method in class syntaxhighlight.Theme
The background color of the highlighted line of script text.
getHighlightedColor() - Method in class syntaxhighlight.JTextComponentRowHeader
The background of the highlighted row.
getHighlightedLineList() - Method in class syntaxhighlight.JTextComponentRowHeader
Get the list of highlighted lines.
getHighlightedLineList() - Method in class syntaxhighlight.SyntaxHighlighter
Get the list of highlighted lines.
getHighlightedLineList() - Method in class syntaxhighlight.SyntaxHighlighterPane
Get the list of highlighted lines.
getHighlighter() - Method in class syntaxhighlight.SyntaxHighlighter
Get the SyntaxHighlighterPane (the script text area).
getHighlighterRowHeader() - Method in class syntaxhighlight.SyntaxHighlighter
Get the JTextComponentRowHeader, the line number panel.
getLength() - Method in class syntaxhighlight.ParseResult
The length of the content.
getLineNumberOffset() - Method in class syntaxhighlight.JTextComponentRowHeader
Get the line number offset
getLineNumberOffset() - Method in class syntaxhighlight.SyntaxHighlighterPane
Get the line number offset.
getOffset() - Method in class syntaxhighlight.ParseResult
The start position of the content.
getPaddingLeft() - Method in class syntaxhighlight.JTextComponentRowHeader
The minimum padding from the 'leftmost of the line number text' to the 'left margin'.
getPaddingRight() - Method in class syntaxhighlight.JTextComponentRowHeader
The minimum padding from the 'rightmost of the line number text' to the 'right margin' (not to the gutter border).
getPlain() - Method in class syntaxhighlight.Theme
Get the default style.
getPreferredSize() - Method in class syntaxhighlight.JTextComponentRowHeader
getShortcutStylePatterns() - Method in class prettify.lang.Lang
 
getSourceCode() - Method in class prettify.parser.Job
Get the source code.
getStyle(String) - Method in class syntaxhighlight.Theme
Get the style by keyword.
getStyleKeys() - Method in class syntaxhighlight.ParseResult
The style keys for this matched result, see syntaxhighlighter.theme.
getStyleKeysString() - Method in class syntaxhighlight.ParseResult
Get the style keys represented by one string key, see Theme.getStylesAttributeSet(String).
getStyles() - Method in class syntaxhighlight.Theme
Get all styles.
getStylesAttributeSet(String) - Method in class syntaxhighlight.Theme
Get the AttributeSet of styleKeys.
getTextAntiAliasing() - Method in class syntaxhighlight.JTextComponentRowHeader
The anti-aliasing setting of the line number text.
getTheme() - Method in class syntaxhighlight.SyntaxHighlighter
Get current theme.
getTheme() - Method in class syntaxhighlight.SyntaxHighlighterPane
Get current theme.
getVariableValueAsBoolean(Object) - Static method in class prettify.parser.Util
Treat a variable as an boolean in JavaScript style.
getVariableValueAsInteger(Object) - Static method in class prettify.parser.Util
Treat a variable as an integer in JavaScript style.
gutterBorderColor - Variable in class syntaxhighlight.Theme
The color of the border that joint the gutter and the script text area.
gutterBorderWidth - Variable in class syntaxhighlight.Theme
The width of the border that joint the gutter and the script text area.
gutterText - Variable in class syntaxhighlight.Theme
The color of the gutter text.
gutterTextFont - Variable in class syntaxhighlight.Theme
The font of the gutter text.
gutterTextPaddingLeft - Variable in class syntaxhighlight.Theme
The minimum padding from 'the leftmost of the line number text' to 'the left margin'.
gutterTextPaddingRight - Variable in class syntaxhighlight.Theme
The minimum padding from 'the rightmost of the line number text' to 'the right margin' (not to the gutter border).

H

hashCode() - Method in class syntaxhighlight.Style
highlightedBackground - Variable in class syntaxhighlight.Theme
The background color of the highlighted line of script text.
highlightedColor - Variable in class syntaxhighlight.JTextComponentRowHeader
The background of the row when it is highlighted.
highlightedLineList - Variable in class syntaxhighlight.JTextComponentRowHeader
The list of line numbers that indicate which lines are needed to be highlighted.
highlightedLineList - Variable in class syntaxhighlight.SyntaxHighlighterPane
The list of line numbers that indicate which lines are needed to be highlighted.
highlighter - Variable in class syntaxhighlight.SyntaxHighlighter
The script text area.
highlighterRowHeader - Variable in class syntaxhighlight.SyntaxHighlighter
The gutter panel (line number).
highlightPainter - Variable in class syntaxhighlight.SyntaxHighlighterPane
The highlighter painter used to do the highlight line effect.

I

isBold() - Method in class syntaxhighlight.Style
 
isGutterVisible() - Method in class syntaxhighlight.SyntaxHighlighter
Check the visibility of the gutter.
isHighlightOnMouseOver() - Method in class syntaxhighlight.SyntaxHighlighter
Check the status of the mouse-over highlight effect.
isHighlightOnMouseOver() - Method in class syntaxhighlight.SyntaxHighlighterPane
Check the status of the mouse-over highlight effect.
isItalic() - Method in class syntaxhighlight.Style
 
isListenToDocumentUpdate() - Method in class syntaxhighlight.JTextComponentRowHeader
Check if it is listening to the document change events.
isUnderline() - Method in class syntaxhighlight.Style
 
italic - Variable in class syntaxhighlight.Style
Font italic.

J

JAVA_KEYWORDS - Static variable in class prettify.parser.Prettify
 
Job - Class in prettify.parser
This is the job object that similar to those in JavaScript Prettify.
Job() - Constructor for class prettify.parser.Job
Constructor.
Job(int, String) - Constructor for class prettify.parser.Job
Constructor.
join(List<String>) - Static method in class prettify.parser.Util
Join the strings into one string.
join(List<String>, String) - Static method in class prettify.parser.Util
Join the strings into one string with delimiter in between.
join(String[]) - Static method in class prettify.parser.Util
Join the strings into one string.
join(String[], String) - Static method in class prettify.parser.Util
Join the strings into one string with delimiter in between.
JSCRIPT_KEYWORDS - Static variable in class prettify.parser.Prettify
 
JTextComponentRowHeader - Class in syntaxhighlight
A row header panel for JScrollPane showing the line numbers of JTextComponent.
JTextComponentRowHeader(JScrollPane, JTextComponent) - Constructor for class syntaxhighlight.JTextComponentRowHeader
Constructor.

K

keywords - Static variable in class prettify.lang.LangN
 

L

Lang - Class in prettify.lang
Lang class for Java Prettify.
Lang() - Constructor for class prettify.lang.Lang
Constructor.
LangAppollo - Class in prettify.lang
This is similar to the lang-appollo.js in JavaScript Prettify.
LangAppollo() - Constructor for class prettify.lang.LangAppollo
 
LangBasic - Class in prettify.lang
This is similar to the lang-basic.js in JavaScript Prettify.
LangBasic() - Constructor for class prettify.lang.LangBasic
 
LangClj - Class in prettify.lang
This is similar to the lang-clj.js in JavaScript Prettify.
LangClj() - Constructor for class prettify.lang.LangClj
 
LangCss - Class in prettify.lang
This is similar to the lang-css.js in JavaScript Prettify.
LangCss() - Constructor for class prettify.lang.LangCss
 
LangCss.LangCssKeyword - Class in prettify.lang
 
LangCss.LangCssString - Class in prettify.lang
 
LangCssKeyword() - Constructor for class prettify.lang.LangCss.LangCssKeyword
 
LangCssString() - Constructor for class prettify.lang.LangCss.LangCssString
 
LangDart - Class in prettify.lang
This is similar to the lang-dart.js in JavaScript Prettify.
LangDart() - Constructor for class prettify.lang.LangDart
 
LangErlang - Class in prettify.lang
This is similar to the lang-erlang.js in JavaScript Prettify.
LangErlang() - Constructor for class prettify.lang.LangErlang
 
LangGo - Class in prettify.lang
This is similar to the lang-go.js in JavaScript Prettify.
LangGo() - Constructor for class prettify.lang.LangGo
 
langHandlerForExtension(String, String) - Method in class prettify.parser.Prettify
Get the parser for the extension specified.
langHandlerRegistry - Variable in class prettify.parser.Prettify
Maps language-specific file extensions to handlers.
LangHs - Class in prettify.lang
This is similar to the lang-hs.js in JavaScript Prettify.
LangHs() - Constructor for class prettify.lang.LangHs
 
LangLisp - Class in prettify.lang
This is similar to the lang-lisp.js in JavaScript Prettify.
LangLisp() - Constructor for class prettify.lang.LangLisp
 
LangLlvm - Class in prettify.lang
This is similar to the lang-ml.js in JavaScript Prettify.
LangLlvm() - Constructor for class prettify.lang.LangLlvm
 
LangLua - Class in prettify.lang
This is similar to the lang-lua.js in JavaScript Prettify.
LangLua() - Constructor for class prettify.lang.LangLua
 
LangMatlab - Class in prettify.lang
This is similar to the lang-ml.js in JavaScript Prettify.
LangMatlab() - Constructor for class prettify.lang.LangMatlab
 
LangMatlab.LangMatlabIdentifier - Class in prettify.lang
 
LangMatlab.LangMatlabOperator - Class in prettify.lang
 
LangMatlabIdentifier() - Constructor for class prettify.lang.LangMatlab.LangMatlabIdentifier
 
LangMatlabOperator() - Constructor for class prettify.lang.LangMatlab.LangMatlabOperator
 
LangMl - Class in prettify.lang
This is similar to the lang-ml.js in JavaScript Prettify.
LangMl() - Constructor for class prettify.lang.LangMl
 
LangMumps - Class in prettify.lang
This is similar to the lang-mumps.js in JavaScript Prettify.
LangMumps() - Constructor for class prettify.lang.LangMumps
 
LangN - Class in prettify.lang
This is similar to the lang-n.js in JavaScript Prettify.
LangN() - Constructor for class prettify.lang.LangN
 
LangPascal - Class in prettify.lang
This is similar to the lang-appollo.js in JavaScript Prettify.
LangPascal() - Constructor for class prettify.lang.LangPascal
 
LangProto - Class in prettify.lang
It is included directly in the prettify.Prettify.
LangProto() - Constructor for class prettify.lang.LangProto
 
LangR - Class in prettify.lang
This is similar to the lang-r.js in JavaScript Prettify.
LangR() - Constructor for class prettify.lang.LangR
 
LangRd - Class in prettify.lang
This is similar to the lang-rd.js in JavaScript Prettify.
LangRd() - Constructor for class prettify.lang.LangRd
 
LangScala - Class in prettify.lang
This is similar to the lang-scala.js in JavaScript Prettify.
LangScala() - Constructor for class prettify.lang.LangScala
 
LangSql - Class in prettify.lang
This is similar to the lang-sql.js in JavaScript Prettify.
LangSql() - Constructor for class prettify.lang.LangSql
 
LangTcl - Class in prettify.lang
This is similar to the lang-tcl.js in JavaScript Prettify.
LangTcl() - Constructor for class prettify.lang.LangTcl
 
LangTex - Class in prettify.lang
This is similar to the lang-tex.js in JavaScript Prettify.
LangTex() - Constructor for class prettify.lang.LangTex
 
LangVb - Class in prettify.lang
This is similar to the lang-vb.js in JavaScript Prettify.
LangVb() - Constructor for class prettify.lang.LangVb
 
LangVhdl - Class in prettify.lang
This is similar to the lang-vhdl.js in JavaScript Prettify.
LangVhdl() - Constructor for class prettify.lang.LangVhdl
 
LangWiki - Class in prettify.lang
This is similar to the lang-wiki.js in JavaScript Prettify.
LangWiki() - Constructor for class prettify.lang.LangWiki
 
LangWiki.LangWikiMeta - Class in prettify.lang
 
LangWikiMeta() - Constructor for class prettify.lang.LangWiki.LangWikiMeta
 
LangXq - Class in prettify.lang
This is similar to the lang-xq.js in JavaScript Prettify.
LangXq() - Constructor for class prettify.lang.LangXq
 
LangYaml - Class in prettify.lang
This is similar to the lang-yaml.js in JavaScript Prettify.
LangYaml() - Constructor for class prettify.lang.LangYaml
 
largestRowNumber - Variable in class syntaxhighlight.JTextComponentRowHeader
The cached largest row number (for determine panel width panelWidth).
length - Variable in class syntaxhighlight.ParseResult
The length of the content.
lineNumberOffset - Variable in class syntaxhighlight.JTextComponentRowHeader
The line number offset.
listenToDocumentUpdate - Variable in class syntaxhighlight.JTextComponentRowHeader
Indicator indicate whether it is listening to the document change events or not.

M

main(String[]) - Static method in class prettify.example.Example
 
match(Pattern, String, boolean) - Static method in class prettify.parser.Util
Get all the matches for string compiled by pattern.
mouseOnLine - Variable in class syntaxhighlight.SyntaxHighlighterPane
Record the mouse cursor is currently pointing at which line of the document.

N

needToFoldCase - Variable in class prettify.parser.CombinePrefixPattern
 
nPatterns - Variable in class prettify.parser.Prettify.CreateSimpleLexer
 

O

offset - Variable in class syntaxhighlight.ParseResult
The start position of the content.

P

paddingLeft - Variable in class syntaxhighlight.JTextComponentRowHeader
The minimum padding from 'the leftmost of the line number text' to 'the left margin'.
paddingRight - Variable in class syntaxhighlight.JTextComponentRowHeader
The minimum padding from 'the rightmost of the line number text' to 'the right margin' (not to the gutter border).
paint(Graphics) - Method in class syntaxhighlight.JTextComponentRowHeader
panelWidth - Variable in class syntaxhighlight.JTextComponentRowHeader
The cached panel width.
parse(String, String) - Method in class prettify.PrettifyParser
 
parse(String, String) - Method in interface syntaxhighlight.Parser
Parse the content and return the parsed result.
Parser - Interface in syntaxhighlight
The parser for syntax highlight.
parser - Variable in class syntaxhighlight.SyntaxHighlighter
The parser.
ParseResult - Class in syntaxhighlight
The parser parsed result.
ParseResult(int, int, List<String>) - Constructor for class syntaxhighlight.ParseResult
Constructor.
PERL_KEYWORDS - Static variable in class prettify.parser.Prettify
 
plain - Variable in class syntaxhighlight.Theme
The default style.
PR_ATTRIB_NAME - Static variable in class prettify.parser.Prettify
token style for an sgml attribute name.
PR_ATTRIB_VALUE - Static variable in class prettify.parser.Prettify
token style for an sgml attribute value.
PR_CODE_OUTPUT - Static variable in class prettify.lang.LangMatlab
 
PR_COMMENT - Static variable in class prettify.parser.Prettify
token style for a comment
PR_CONSTANT - Static variable in class prettify.lang.LangMatlab
 
PR_DECLARATION - Static variable in class prettify.parser.Prettify
token style for a markup declaration such as a DOCTYPE.
PR_ERROR - Static variable in class prettify.lang.LangMatlab
 
PR_FUNCTION - Static variable in class prettify.lang.LangMatlab
 
PR_FUNCTION - Static variable in class prettify.lang.LangXq
 
PR_FUNCTION_TOOLBOX - Static variable in class prettify.lang.LangMatlab
 
PR_IDENTIFIER - Static variable in class prettify.lang.LangMatlab
 
PR_KEYWORD - Static variable in class prettify.parser.Prettify
token style for a keyword
PR_LINE_CONTINUATION - Static variable in class prettify.lang.LangMatlab
 
PR_LITERAL - Static variable in class prettify.parser.Prettify
token style for a literal value.
PR_NOCODE - Static variable in class prettify.parser.Prettify
A class that indicates a section of markup that is not code, e.g.
PR_PLAIN - Static variable in class prettify.parser.Prettify
token style for a plain text.
PR_PUNCTUATION - Static variable in class prettify.parser.Prettify
token style for a punctuation string.
PR_SOURCE - Static variable in class prettify.parser.Prettify
token style for embedded source.
PR_STRING - Static variable in class prettify.parser.Prettify
token style for a string literal
PR_SYSCMD - Static variable in class prettify.lang.LangMatlab
 
PR_TAG - Static variable in class prettify.parser.Prettify
token style for an sgml tag.
PR_TRANSPOSE - Static variable in class prettify.lang.LangMatlab
 
PR_TYPE - Static variable in class prettify.parser.Prettify
token style for a type
PR_VARIABLE - Static variable in class prettify.lang.LangXq
 
PR_WARNING - Static variable in class prettify.lang.LangMatlab
 
prettify - package prettify
 
Prettify - Class in prettify.parser
This is similar to the prettify.js in JavaScript Prettify.
Prettify() - Constructor for class prettify.parser.Prettify
 
prettify - Variable in class prettify.PrettifyParser
The prettify parser.
Prettify.CreateSimpleLexer - Class in prettify.parser
 
prettify.example - package prettify.example
Usage example.
prettify.lang - package prettify.lang
All languages that comes with release.
prettify.parser - package prettify.parser
The Prettify parser.
prettify.theme - package prettify.theme
All themes that comes with release.
PrettifyParser - Class in prettify
The prettify parser for syntax highlight.
PrettifyParser() - Constructor for class prettify.PrettifyParser
Constructor.
PYTHON_KEYWORDS - Static variable in class prettify.parser.Prettify
 

R

readFile(File) - Static method in class syntaxhighlight.SyntaxHighlighter
Get the string content of a file.
readResourceFile(String) - Static method in class prettify.example.Example
Read the resource file from the jar.
register(Class<? extends Lang>) - Method in class prettify.parser.Prettify
Register language handler.
registerLangHandler(Prettify.CreateSimpleLexer, List<String>) - Method in class prettify.parser.Prettify
Register a language handler for the given file extensions.
removeDuplicates(List<Object>, String) - Static method in class prettify.parser.Util
Remove identical adjacent tags from decorations.
removeStyle(String) - Method in class syntaxhighlight.Theme
Remove style by keyword.
removeStyleKey(String) - Method in class syntaxhighlight.ParseResult
The style keys of the content.
render() - Method in class syntaxhighlight.SyntaxHighlighter
Re-render the script text pane.
RTAsyncSyntaxHighlighter - Class in com.github.twalcari.prettify
User: twalcari Date: 6/12/2015 Time: 15:11
RTAsyncSyntaxHighlighter(StyleClassedTextArea, String) - Constructor for class com.github.twalcari.prettify.RTAsyncSyntaxHighlighter
 
RTSyntaxHighlighter - Class in com.github.twalcari.prettify
User: twalcari Date: 6/12/2015 Time: 15:11
RTSyntaxHighlighter(StyleClassedTextArea, String) - Constructor for class com.github.twalcari.prettify.RTSyntaxHighlighter
 
RUBY_KEYWORDS - Static variable in class prettify.parser.Prettify
 
RUST_KEYWORDS - Static variable in class prettify.parser.Prettify
 

S

scrollPane - Variable in class syntaxhighlight.JTextComponentRowHeader
The JScrollPane that it be added into.
setBackground(Color) - Method in class syntaxhighlight.JTextComponentRowHeader
The background of the panel.
setBackground(Color) - Method in class syntaxhighlight.Style
Set the background color.
setBackground(Color) - Method in class syntaxhighlight.Theme
The background color of the script text area.
setBasePos(int) - Method in class prettify.parser.Job
Set the starting point of the source code.
setBold(boolean) - Method in class syntaxhighlight.Style
 
setBorderColor(Color) - Method in class syntaxhighlight.JTextComponentRowHeader
The color of the border that joint the gutter and the script text area.
setBorderWidth(int) - Method in class syntaxhighlight.JTextComponentRowHeader
The width of the border that joint the gutter and the script text area.
setColor(Color) - Method in class syntaxhighlight.Style
 
setContent(File) - Method in class syntaxhighlight.SyntaxHighlighter
Set the content of the syntax highlighter.
setContent(String) - Method in class syntaxhighlight.SyntaxHighlighter
Set the content of the syntax highlighter.
setContent(String) - Method in class syntaxhighlight.SyntaxHighlighterPane
Set the content of the syntax highlighter.
setDecorations(List<Object>) - Method in class prettify.parser.Job
Set the parsed results.
setExtendedLangs(List<Lang>) - Method in class prettify.lang.Lang
Set extended languages.
setFallthroughStylePatterns(List<List<Object>>) - Method in class prettify.lang.Lang
 
setFirstLine(int) - Method in class syntaxhighlight.SyntaxHighlighter
Set the line number of the first line.
setFont(Font) - Method in class syntaxhighlight.JTextComponentRowHeader
The font of the line number.
setFont(Font, boolean, boolean) - Static method in class syntaxhighlight.SyntaxHighlighterPane
Set the font according to bold and italic.
setFont(Font) - Method in class syntaxhighlight.Theme
The font of the script text.
setForeground(Color) - Method in class syntaxhighlight.JTextComponentRowHeader
The color of the line number.
setGutterBorderColor(Color) - Method in class syntaxhighlight.Theme
The color of the border that joint the gutter and the script text area.
setGutterBorderWidth(int) - Method in class syntaxhighlight.Theme
The width of the border that joint the gutter and the script text area.
setGutterText(Color) - Method in class syntaxhighlight.Theme
The color of the gutter text.
setGutterTextFont(Font) - Method in class syntaxhighlight.Theme
The font of the gutter text.
setGutterTextPaddingLeft(int) - Method in class syntaxhighlight.Theme
The minimum padding from 'the leftmost of the line number text' to 'the left margin'.
setGutterTextPaddingRight(int) - Method in class syntaxhighlight.Theme
The minimum padding from 'the rightmost of the line number text' to 'the right margin' (not to the gutter border).
setGutterVisible(boolean) - Method in class syntaxhighlight.SyntaxHighlighter
Set the visibility of the gutter.
setHighlightedBackground(Color) - Method in class syntaxhighlight.SyntaxHighlighterPane
Set the color of the highlighted background.
setHighlightedBackground(Color) - Method in class syntaxhighlight.Theme
The background color of the highlighted line of script text.
setHighlightedColor(Color) - Method in class syntaxhighlight.JTextComponentRowHeader
The background of the highlighted row.
setHighlightedLineList(List<Integer>) - Method in class syntaxhighlight.JTextComponentRowHeader
Set highlighted lines.
setHighlightedLineList(List<Integer>) - Method in class syntaxhighlight.SyntaxHighlighter
Set highlighted lines.
setHighlightedLineList(List<Integer>) - Method in class syntaxhighlight.SyntaxHighlighterPane
Set highlighted lines.
setHighlighter(Highlighter) - Method in class syntaxhighlight.SyntaxHighlighterPane
 
setHighlightOnMouseOver(boolean) - Method in class syntaxhighlight.SyntaxHighlighter
Set turn on the mouse-over highlight effect or not.
setHighlightOnMouseOver(boolean) - Method in class syntaxhighlight.SyntaxHighlighterPane
Set turn on the mouse-over highlight effect or not.
setItalic(boolean) - Method in class syntaxhighlight.Style
 
setLength(int) - Method in class syntaxhighlight.ParseResult
The length of the content.
setLineNumberOffset(int) - Method in class syntaxhighlight.JTextComponentRowHeader
Set the line number offset.
setLineNumberOffset(int) - Method in class syntaxhighlight.SyntaxHighlighterPane
Set the line number offset.
setListenToDocumentUpdate(boolean) - Method in class syntaxhighlight.JTextComponentRowHeader
Set to listen to document change events or not.
setOffset(int) - Method in class syntaxhighlight.ParseResult
The start position of the content.
setPaddingLeft(int) - Method in class syntaxhighlight.JTextComponentRowHeader
The minimum padding from 'the leftmost of the line number text' to the 'left margin'.
setPaddingRight(int) - Method in class syntaxhighlight.JTextComponentRowHeader
The minimum padding from the 'rightmost of the line number text' to the 'right margin' (not to the gutter border).
setPlain(Style) - Method in class syntaxhighlight.Theme
Set the default style.
setShortcutStylePatterns(List<List<Object>>) - Method in class prettify.lang.Lang
 
setSourceCode(String) - Method in class prettify.parser.Job
Set the source code.
setStyle(List<ParseResult>) - Method in class syntaxhighlight.SyntaxHighlighterPane
 
setStyleKeys(List<String>) - Method in class syntaxhighlight.ParseResult
The style keys of the content.
setTextAntiAliasing(Object) - Method in class syntaxhighlight.JTextComponentRowHeader
The anti-aliasing setting of the line number text.
setTheme(Theme) - Method in class syntaxhighlight.SyntaxHighlighter
Set the theme.
setTheme(Theme) - Method in class syntaxhighlight.SyntaxHighlighterPane
Set the theme.
setTheme(JTextComponentRowHeader) - Method in class syntaxhighlight.Theme
Apply the theme to the row header panel.
setUnderline(boolean) - Method in class syntaxhighlight.Style
 
SH_KEYWORDS - Static variable in class prettify.parser.Prettify
 
shortcuts - Variable in class prettify.parser.Prettify.CreateSimpleLexer
 
shortcutStylePatterns - Variable in class prettify.lang.Lang
Similar to those in JavaScript prettify.js.
sourceCode - Variable in class prettify.parser.Job
The source code.
sourceDecorator(Map<String, Object>) - Method in class prettify.parser.Prettify
returns a function that produces a list of decorations from source text.
stop() - Method in class com.github.twalcari.prettify.RTAsyncSyntaxHighlighter
 
Style - Class in syntaxhighlight
The style used by syntaxhiglight.Theme as those of CSS styles.
Style() - Constructor for class syntaxhighlight.Style
Constructor.
styleKeys - Variable in class syntaxhighlight.ParseResult
The style keys of the content.
styleList - Variable in class syntaxhighlight.SyntaxHighlighterPane
The style list.
styles - Variable in class syntaxhighlight.Theme
The styles of this theme.
syntaxhighlight - package syntaxhighlight
 
SyntaxHighlighter - Class in syntaxhighlight
The syntax highlighter.
SyntaxHighlighter(Parser, Theme) - Constructor for class syntaxhighlight.SyntaxHighlighter
Constructor.
SyntaxHighlighter(Parser, Theme, SyntaxHighlighterPane) - Constructor for class syntaxhighlight.SyntaxHighlighter
Constructor.
SyntaxHighlighterPane - Class in syntaxhighlight
The text pane for displaying the script text.
SyntaxHighlighterPane() - Constructor for class syntaxhighlight.SyntaxHighlighterPane
Constructor.

T

test(Pattern, String) - Static method in class prettify.parser.Util
Test whether the string has at least one match by pattern.
textAntiAliasing - Variable in class syntaxhighlight.JTextComponentRowHeader
The anti-aliasing setting of the line number text.
textComponent - Variable in class syntaxhighlight.JTextComponentRowHeader
The text component to listen the change events on.
textComponentHeight - Variable in class syntaxhighlight.JTextComponentRowHeader
The cached text component height, for determine panel height.
theme - Variable in class syntaxhighlight.SyntaxHighlighter
The theme.
theme - Variable in class syntaxhighlight.SyntaxHighlighterPane
The theme.
Theme - Class in syntaxhighlight
Theme() - Constructor for class syntaxhighlight.Theme
Constructor.
ThemeDefault - Class in prettify.theme
Default theme.
ThemeDefault() - Constructor for class prettify.theme.ThemeDefault
 
ThemeDesert - Class in prettify.theme
Desert theme.
ThemeDesert() - Constructor for class prettify.theme.ThemeDesert
 
ThemeSonsOfObsidian - Class in prettify.theme
Son of Obsidian theme.
ThemeSonsOfObsidian() - Constructor for class prettify.theme.ThemeSonsOfObsidian
 
ThemeSunburst - Class in prettify.theme
Sunbrust theme.
ThemeSunburst() - Constructor for class prettify.theme.ThemeSunburst
 
tokenizer - Variable in class prettify.parser.Prettify.CreateSimpleLexer
 
toString() - Method in class syntaxhighlight.ParseResult
toString() - Method in class syntaxhighlight.Style
toString() - Method in class syntaxhighlight.Theme

U

underline - Variable in class syntaxhighlight.Style
Font underline.
updatePanelSize() - Method in class syntaxhighlight.JTextComponentRowHeader
Update the panel size.
Util - Class in prettify.parser
Common Utilities.
Util() - Constructor for class prettify.parser.Util
 

V

validateTextComponentDocument() - Method in class syntaxhighlight.JTextComponentRowHeader
Check if the 'document of the textComponent' has changed to another document or not.
A B C D E F G H I J K L M N O P R S T U V 
Skip navigation links

Copyright © 2015. All rights reserved.