Package: groovy.ui.text

## [Java] Class SmartDocumentFilter

- groovy.ui.text.SmartDocumentFilter

-     @Deprecated
      public class SmartDocumentFilter
      extends DocumentFilter

  The document filter based on Parrot's lexer is for highlighting the content of text editor

  Since:
    3.0.0

- - ### Constructor Summary

    Constructors
    Constructor and description
    `SmartDocumentFilter (DefaultStyledDocument styledDocument)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public List<Token>` | `getLatestTokenList()`
    `` | `public void` | `insertString(DocumentFilter.FilterBypass fb, int offset, String text, AttributeSet attrs)`
    `` | `public boolean` | `isLatest()`
    `` | `public void` | `remove(DocumentFilter.FilterBypass fb, int offset, int length)`
    `` | `public void` | `replace(DocumentFilter.FilterBypass fb, int offset, int length, String text, AttributeSet attrs)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class DocumentFilter` | `remove, replace, insertString, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Constructor Detail

    - #### public SmartDocumentFilter(DefaultStyledDocument styledDocument)

  - ### Method Detail

    - #### public List<Token> getLatestTokenList()

    - #### @Override public void insertString(DocumentFilter.FilterBypass fb, int offset, String text, AttributeSet attrs)

    - #### public boolean isLatest()

    - #### @Override public void remove(DocumentFilter.FilterBypass fb, int offset, int length)

    - #### @Override public void replace(DocumentFilter.FilterBypass fb, int offset, int length, String text, AttributeSet attrs)