public class GroovyFilter extends StructuredSyntaxDocumentFilter
StructuredSyntaxDocumentFilter.LexerNode, StructuredSyntaxDocumentFilter.MultiLineRun
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BINARY_INTEGER_LITERAL |
static java.lang.String |
COMMENT |
static java.lang.String |
DECIMAL_FLOATING_POINT_LITERAL |
static java.lang.String |
DECIMAL_INTEGER_LITERAL |
static java.lang.String |
DIGIT |
static java.lang.String |
HEX_INTEGER_LITERAL |
static java.lang.String |
HEXADECIMAL_FLOATING_POINT_LITERAL |
static java.lang.String |
IDENT |
static java.lang.String |
LEFT_PARENS |
static java.lang.String |
OCTAL_INTEGER_LITERAL |
static java.lang.String |
OPERATION |
static java.lang.String |
QUOTES |
static java.lang.String |
RESERVED_WORD |
static java.lang.String[] |
RESERVED_WORDS |
static java.lang.String |
SINGLE_QUOTES |
static java.lang.String |
SLASH_SLASH_COMMENT |
static java.lang.String |
SLASH_STAR_COMMENT |
static java.lang.String |
SLASHY_QUOTES |
lexer, mlTextRunSet, styledDocument, TAB_REPLACEMENT
Constructor and Description |
---|
GroovyFilter(javax.swing.text.DefaultStyledDocument doc)
Creates a new instance of GroovyFilter
|
Modifier and Type | Method and Description |
---|---|
static void |
installAutoTabAction(javax.swing.text.JTextComponent tComp) |
createLexerNode, getRootNode, insertString, parseDocument, remove, replace
public static final java.lang.String COMMENT
public static final java.lang.String SLASH_STAR_COMMENT
public static final java.lang.String SLASH_SLASH_COMMENT
public static final java.lang.String QUOTES
public static final java.lang.String SINGLE_QUOTES
public static final java.lang.String SLASHY_QUOTES
public static final java.lang.String DIGIT
public static final java.lang.String DECIMAL_INTEGER_LITERAL
public static final java.lang.String HEX_INTEGER_LITERAL
public static final java.lang.String OCTAL_INTEGER_LITERAL
public static final java.lang.String BINARY_INTEGER_LITERAL
public static final java.lang.String DECIMAL_FLOATING_POINT_LITERAL
public static final java.lang.String HEXADECIMAL_FLOATING_POINT_LITERAL
public static final java.lang.String IDENT
public static final java.lang.String OPERATION
public static final java.lang.String LEFT_PARENS
public static final java.lang.String RESERVED_WORD
public static final java.lang.String[] RESERVED_WORDS