Class GroovyFilter

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

public class GroovyFilter
extends StructuredSyntaxDocumentFilter
  • Field Details

    • 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
    • DECIMAL_INTEGER_LITERAL

      public static final java.lang.String DECIMAL_INTEGER_LITERAL
      See Also:
      Constant Field Values
    • HEX_INTEGER_LITERAL

      public static final java.lang.String HEX_INTEGER_LITERAL
      See Also:
      Constant Field Values
    • OCTAL_INTEGER_LITERAL

      public static final java.lang.String OCTAL_INTEGER_LITERAL
      See Also:
      Constant Field Values
    • BINARY_INTEGER_LITERAL

      public static final java.lang.String BINARY_INTEGER_LITERAL
      See Also:
      Constant Field Values
    • DECIMAL_FLOATING_POINT_LITERAL

      public static final java.lang.String DECIMAL_FLOATING_POINT_LITERAL
      See Also:
      Constant Field Values
    • HEXADECIMAL_FLOATING_POINT_LITERAL

      public static final java.lang.String HEXADECIMAL_FLOATING_POINT_LITERAL
      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 Details

    • GroovyFilter

      public GroovyFilter​(javax.swing.text.DefaultStyledDocument doc)
      Creates a new instance of GroovyFilter
  • Method Details

    • installAutoTabAction

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