@FunctionalInterface
public interface FindAttribute<T>
Modifier and Type | Method and Description |
---|---|
ITextRangeProvider |
findAttribute(boolean backward,
T value)
Returns a text range subset that has the specified text attribute value.
|
ITextRangeProvider findAttribute(boolean backward, T value)
value
- The attribute value to search for. This value must match the type specified for the attribute.backward
- TRUE if the last occurring text range should be returned instead of the first; otherwise FALSE.