public interface SyntaxConstants
RSyntaxTextArea
. These constants are the values you can pass
to RSyntaxTextArea.setSyntaxEditingStyle(String)
to get syntax
highlighting.
By default, all RSyntaxTextArea
s can render all of these
languages, but this can be changed (the list can be augmented or completely
overwritten) on a per-text area basis. What languages can be rendered is
actually managed by the TokenMakerFactory
installed on the text
area's RSyntaxDocument
. By default, all
RSyntaxDocumenet
s have a factory installed capable of handling
all of these languages.
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
SYNTAX_STYLE_ACTIONSCRIPT
Style for highlighting ActionScript.
|
static java.lang.String |
SYNTAX_STYLE_ASSEMBLER_X86
Style for highlighting x86 assembler.
|
static java.lang.String |
SYNTAX_STYLE_BBCODE
Style for highlighting BBCode.
|
static java.lang.String |
SYNTAX_STYLE_C
Style for highlighting C.
|
static java.lang.String |
SYNTAX_STYLE_CLOJURE
Style for highlighting Clojure.
|
static java.lang.String |
SYNTAX_STYLE_CPLUSPLUS
Style for highlighting C++.
|
static java.lang.String |
SYNTAX_STYLE_CSHARP
Style for highlighting C#.
|
static java.lang.String |
SYNTAX_STYLE_CSS
Style for highlighting CSS.
|
static java.lang.String |
SYNTAX_STYLE_DELPHI
Style for highlighting Delphi/Pascal.
|
static java.lang.String |
SYNTAX_STYLE_DTD
Style for highlighting DTD files.
|
static java.lang.String |
SYNTAX_STYLE_FORMULA
Style for highlighting Formula
|
static java.lang.String |
SYNTAX_STYLE_FORTRAN
Style for highlighting Fortran.
|
static java.lang.String |
SYNTAX_STYLE_GROOVY
Style for highlighting Groovy.
|
static java.lang.String |
SYNTAX_STYLE_HTACCESS
Style for highlighting .htaccess files.
|
static java.lang.String |
SYNTAX_STYLE_HTML
Style for highlighting HTML.
|
static java.lang.String |
SYNTAX_STYLE_JAVA
Style for highlighting Java.
|
static java.lang.String |
SYNTAX_STYLE_JAVASCRIPT
Style for highlighting JavaScript.
|
static java.lang.String |
SYNTAX_STYLE_JSON
Style for highlighting JSON.
|
static java.lang.String |
SYNTAX_STYLE_JSP
Style for highlighting JSP.
|
static java.lang.String |
SYNTAX_STYLE_LATEX
Style for highlighting LaTeX.
|
static java.lang.String |
SYNTAX_STYLE_LISP
Style for highlighting Lisp.
|
static java.lang.String |
SYNTAX_STYLE_LUA
Style for highlighting Lua.
|
static java.lang.String |
SYNTAX_STYLE_MAKEFILE
Style for highlighting makefiles.
|
static java.lang.String |
SYNTAX_STYLE_MXML
Style for highlighting MXML.
|
static java.lang.String |
SYNTAX_STYLE_NONE
Style meaning don't syntax highlight anything.
|
static java.lang.String |
SYNTAX_STYLE_NSIS
Style for highlighting NSIS install scripts.
|
static java.lang.String |
SYNTAX_STYLE_PERL
Style for highlighting Perl.
|
static java.lang.String |
SYNTAX_STYLE_PHP
Style for highlighting PHP.
|
static java.lang.String |
SYNTAX_STYLE_PROPERTIES_FILE
Style for highlighting properties files.
|
static java.lang.String |
SYNTAX_STYLE_PYTHON
Style for highlighting Python.
|
static java.lang.String |
SYNTAX_STYLE_RUBY
Style for highlighting Ruby.
|
static java.lang.String |
SYNTAX_STYLE_SAS
Style for highlighting SAS keywords.
|
static java.lang.String |
SYNTAX_STYLE_SCALA
Style for highlighting Scala.
|
static java.lang.String |
SYNTAX_STYLE_SQL
Style for highlighting SQL.
|
static java.lang.String |
SYNTAX_STYLE_TCL
Style for highlighting Tcl.
|
static java.lang.String |
SYNTAX_STYLE_UNIX_SHELL
Style for highlighting UNIX shell keywords.
|
static java.lang.String |
SYNTAX_STYLE_VISUAL_BASIC
Style for highlighting Visual Basic.
|
static java.lang.String |
SYNTAX_STYLE_WINDOWS_BATCH
Style for highlighting Windows batch files.
|
static java.lang.String |
SYNTAX_STYLE_XML
Style for highlighting XML.
|
static final java.lang.String SYNTAX_STYLE_NONE
static final java.lang.String SYNTAX_STYLE_ACTIONSCRIPT
static final java.lang.String SYNTAX_STYLE_ASSEMBLER_X86
static final java.lang.String SYNTAX_STYLE_BBCODE
static final java.lang.String SYNTAX_STYLE_C
static final java.lang.String SYNTAX_STYLE_CLOJURE
static final java.lang.String SYNTAX_STYLE_CPLUSPLUS
static final java.lang.String SYNTAX_STYLE_CSHARP
static final java.lang.String SYNTAX_STYLE_CSS
static final java.lang.String SYNTAX_STYLE_DELPHI
static final java.lang.String SYNTAX_STYLE_DTD
static final java.lang.String SYNTAX_STYLE_FORTRAN
static final java.lang.String SYNTAX_STYLE_GROOVY
static final java.lang.String SYNTAX_STYLE_HTACCESS
static final java.lang.String SYNTAX_STYLE_HTML
static final java.lang.String SYNTAX_STYLE_JAVA
static final java.lang.String SYNTAX_STYLE_JAVASCRIPT
static final java.lang.String SYNTAX_STYLE_JSON
static final java.lang.String SYNTAX_STYLE_JSP
static final java.lang.String SYNTAX_STYLE_LATEX
static final java.lang.String SYNTAX_STYLE_LISP
static final java.lang.String SYNTAX_STYLE_LUA
static final java.lang.String SYNTAX_STYLE_MAKEFILE
static final java.lang.String SYNTAX_STYLE_MXML
static final java.lang.String SYNTAX_STYLE_NSIS
static final java.lang.String SYNTAX_STYLE_PERL
static final java.lang.String SYNTAX_STYLE_PHP
static final java.lang.String SYNTAX_STYLE_PROPERTIES_FILE
static final java.lang.String SYNTAX_STYLE_PYTHON
static final java.lang.String SYNTAX_STYLE_RUBY
static final java.lang.String SYNTAX_STYLE_SAS
static final java.lang.String SYNTAX_STYLE_SCALA
static final java.lang.String SYNTAX_STYLE_SQL
static final java.lang.String SYNTAX_STYLE_TCL
static final java.lang.String SYNTAX_STYLE_UNIX_SHELL
static final java.lang.String SYNTAX_STYLE_VISUAL_BASIC
static final java.lang.String SYNTAX_STYLE_WINDOWS_BATCH
static final java.lang.String SYNTAX_STYLE_XML
static final java.lang.String SYNTAX_STYLE_FORMULA