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 |
---|---|---|
|
List<Token> |
getLatestTokenList() |
|
Tuple2<Integer, Integer> |
getRenderRange() |
|
void |
insertString(DocumentFilter.FilterBypass fb, int offset, String text, AttributeSet attrs) |
|
boolean |
isLatest() |
|
void |
remove(DocumentFilter.FilterBypass fb, int offset, int length) |
|
void |
replace(DocumentFilter.FilterBypass fb, int offset, int length, String text, AttributeSet attrs) |
|
void |
setRenderRange(Tuple2<Integer, Integer> renderRange) |
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.