Interface FindAttribute<T>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface FindAttribute<T>
Allows typed implementation of FindAttribute in ITextRangeProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    findAttribute(boolean backward, T value)
    Returns a text range subset that has the specified text attribute value.
  • Method Details

    • findAttribute

      ITextRangeProvider findAttribute(boolean backward, T value)
      Returns a text range subset that has the specified text attribute value.
      Parameters:
      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.
      Returns:
      Receives a pointer to the text range having a matching attribute and attribute value; otherwise NULL.