@Deprecated public class SmartDocumentFilter extends DocumentFilter
The document filter based on Parrot's lexer is for highlighting the content of text editor
Constructor and description |
---|
SmartDocumentFilter
(DefaultStyledDocument styledDocument) |
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) |
Copyright © 2003-2021 The Apache Software Foundation. All rights reserved.