groovy.ui.text
Class GroovyFilter

java.lang.Object
  extended by javax.swing.text.DocumentFilter
      extended by groovy.ui.text.StructuredSyntaxDocumentFilter
          extended by groovy.ui.text.GroovyFilter

public class GroovyFilter
extends StructuredSyntaxDocumentFilter


Nested Class Summary
 
Nested classes/interfaces inherited from class groovy.ui.text.StructuredSyntaxDocumentFilter
StructuredSyntaxDocumentFilter.LexerNode, StructuredSyntaxDocumentFilter.MultiLineRun
 
Nested classes/interfaces inherited from class javax.swing.text.DocumentFilter
javax.swing.text.DocumentFilter.FilterBypass
 
Field Summary
static java.lang.String COMMENT
           
static java.lang.String DIGIT
           
static java.lang.String IDENT
           
static java.lang.String LEFT_PARENS
           
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
           
 
Fields inherited from class groovy.ui.text.StructuredSyntaxDocumentFilter
lexer, mlTextRunSet, styledDocument, TAB_REPLACEMENT
 
Constructor Summary
GroovyFilter(javax.swing.text.DefaultStyledDocument doc)
          Creates a new instance of GroovyFilter
 
Method Summary
static void installAutoTabAction(javax.swing.text.JTextComponent tComp)
           
 
Methods inherited from class groovy.ui.text.StructuredSyntaxDocumentFilter
createLexerNode, getRootNode, insertString, parseDocument, remove, replace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMMENT

public static final java.lang.String COMMENT
See Also:
Constant Field Values

SLASH_STAR_COMMENT

public static final java.lang.String SLASH_STAR_COMMENT
See Also:
Constant Field Values

SLASH_SLASH_COMMENT

public static final java.lang.String SLASH_SLASH_COMMENT
See Also:
Constant Field Values

QUOTES

public static final java.lang.String QUOTES
See Also:
Constant Field Values

SINGLE_QUOTES

public static final java.lang.String SINGLE_QUOTES
See Also:
Constant Field Values

SLASHY_QUOTES

public static final java.lang.String SLASHY_QUOTES
See Also:
Constant Field Values

DIGIT

public static final java.lang.String DIGIT
See Also:
Constant Field Values

IDENT

public static final java.lang.String IDENT
See Also:
Constant Field Values

OPERATION

public static final java.lang.String OPERATION
See Also:
Constant Field Values

LEFT_PARENS

public static final java.lang.String LEFT_PARENS
See Also:
Constant Field Values

RESERVED_WORD

public static final java.lang.String RESERVED_WORD
See Also:
Constant Field Values

RESERVED_WORDS

public static final java.lang.String[] RESERVED_WORDS
Constructor Detail

GroovyFilter

public GroovyFilter(javax.swing.text.DefaultStyledDocument doc)
Creates a new instance of GroovyFilter

Method Detail

installAutoTabAction

public static void installAutoTabAction(javax.swing.text.JTextComponent tComp)