public class GroovyFilter extends StructuredSyntaxDocumentFilter
StructuredSyntaxDocumentFilter.LexerNode, StructuredSyntaxDocumentFilter.MultiLineRun
DocumentFilter.FilterBypass
Modifier and Type | Field and Description |
---|---|
static String |
COMMENT |
static String |
DIGIT |
static String |
IDENT |
static String |
LEFT_PARENS |
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 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)