[ghex/expand-search-options: 10/12] gtkhex: gtk-doc-ify expanded HexWidget API.




commit 17e340e597f7815802e3e4d9bb961f14be8d70d8
Author: Logan Rathbone <poprocks gmail com>
Date:   Tue Apr 19 22:10:22 2022 -0400

    gtkhex: gtk-doc-ify expanded HexWidget API.

 src/gtkhex.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
---
diff --git a/src/gtkhex.c b/src/gtkhex.c
index e0dbdc6..ed755a9 100644
--- a/src/gtkhex.c
+++ b/src/gtkhex.c
@@ -3348,6 +3348,20 @@ hex_widget_set_insert_mode (HexWidget *self, gboolean insert)
                        self->cursor_pos = payload_size - 1;
 }
 
+/**
+ * hex_widget_insert_autohighlight_full:
+ * @search: (array length=len) (transfer full): search string to auto-highlight
+ * @len: length of the @search string
+ * @flags: #HexSearchFlags to specify match type
+ *
+ * Full version of [method@Hex.Widget.insert_autohighlight] which allows
+ * for specifying string match types for auto-highlights over and above
+ * exact byte-for-byte string matches.
+ *
+ * Returns: a newly created [struct@Hex.WidgetAutoHighlight] structure
+ *
+ * Since: 4.2
+ */
 HexWidgetAutoHighlight *
 hex_widget_insert_autohighlight_full (HexWidget *self,
                const char *search,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]