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 Tuple2<Integer, Integer> |
getRenderRange() |
|
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) |
|
public void |
setRenderRange(Tuple2<Integer, Integer> renderRange) |
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.