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