[ghex/expand-search-options: 9/9] gtkhex: gtk-doc-ify expanded HexWidget API.
- From: Logan Rathbone <larathbone src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ghex/expand-search-options: 9/9] gtkhex: gtk-doc-ify expanded HexWidget API.
- Date: Wed, 20 Apr 2022 02:10:30 +0000 (UTC)
commit 54ee30566b2a231f0c5197c7da5924f8999154ba
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 1a91ea2..4f158aa 100644
--- a/src/gtkhex.c
+++ b/src/gtkhex.c
@@ -3428,6 +3428,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]