@MimeLocation(subfolderName="CodeTemplateFilterFactories") public static interface CodeTemplateFilter.Factory
Modifier and Type | Method and Description |
---|---|
default CodeTemplateFilter |
createFilter(Document doc,
int startOffset,
int endOffset)
Create code template filter for the given context.
|
CodeTemplateFilter |
createFilter(JTextComponent component,
int offset)
Create code template filter for the given context.
|
CodeTemplateFilter createFilter(JTextComponent component, int offset)
component
- non-null component for which the filter is being created.offset
- >=0 offset for which the filter is being created.default CodeTemplateFilter createFilter(Document doc, int startOffset, int endOffset)
doc
- non-null document for which the filter is being created.startOffset
- >=0 start offset for which the filter is being created.endOffset
- >=startOffset end offset for which the filter is being created.