Hex.Widget.insert_autohighlight_full

### Method

# Hex Widgetinsert_autohighlight_full

#### Declaration

    HexWidgetAutoHighlight*
    hex_widget_insert_autohighlight_full (
      HexWidget* self,
      const char* search,
      int len,
      HexSearchFlags flags
    )

#### Description

Full version of `hex_widget_insert_autohighlight()` which allows for specifying string match types for auto-highlights over and above exact byte-for-byte string matches.

Available since: | 4.2

#### Parameters

`search` | An array of `char`
| Search string to auto-highlight.
| The length of the array is specified in the `len` argument.
| The instance takes ownership of the data, and is responsible for freeing it.
| Each element is a NUL terminated UTF-8 string.
`len` | `int`
| Length of the `search` string.
`flags` | `HexSearchFlags`
| `HexSearchFlags` to specify match type.

#### Return value

Returns: | `HexWidgetAutoHighlight`
| A newly created `HexWidgetAutoHighlight` structure.
| The caller of the method takes ownership of the data, and is responsible for freeing it.