From 4bd2f90bbede5fddfeb9964896dcd389db28cef3 Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Wed, 13 May 2026 14:43:44 -0400 Subject: libdocument: Use a common annotation type for text markup annotations And a type property for the different kinds of text markup annotations Backported from https://gitlab.gnome.org/GNOME/evince/-/commit/28e04b43 --- libdocument/ev-annotation.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libdocument/ev-annotation.h') diff --git a/libdocument/ev-annotation.h b/libdocument/ev-annotation.h index d2010103..d1c85cb5 100644 --- a/libdocument/ev-annotation.h +++ b/libdocument/ev-annotation.h @@ -94,7 +94,7 @@ typedef enum { EV_ANNOTATION_TYPE_UNKNOWN, EV_ANNOTATION_TYPE_TEXT, EV_ANNOTATION_TYPE_ATTACHMENT, - EV_ANNOTATION_TYPE_HIGHLIGHT + EV_ANNOTATION_TYPE_TEXT_MARKUP } EvAnnotationType; typedef enum { @@ -110,6 +110,10 @@ typedef enum { EV_ANNOTATION_TEXT_ICON_UNKNOWN } EvAnnotationTextIcon; +typedef enum { + EV_ANNOTATION_TEXT_MARKUP_HIGHLIGHT +} EvAnnotationTextMarkupType; + /* EvAnnotation */ GType ev_annotation_get_type (void) G_GNUC_CONST; EvAnnotationType ev_annotation_get_annotation_type (EvAnnotation *annot); -- cgit v1.2.1