From 55d6816eab0b796b412b45be3dbf768d5945c81a Mon Sep 17 00:00:00 2001 From: Jody Goldberg Date: Fri, 28 May 2004 04:30:54 +0000 Subject: only invert if the layout and the context really disagree, not if they are 2004-04-29 Jody Goldberg * pango/pango-layout.c (get_alignment) : only invert if the layout and the context really disagree, not if they are WEAK_LTR vs LTR 2004-03-11 Jody Goldberg * pango/pango-attributes.h : Add a comment clarifying that PangoAttribute::end_index is _exclusive_. The range is [start..end) Additionally clarify that that the indicies are in _bytes_ not characters. --- pango/pango-attributes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pango/pango-attributes.h') diff --git a/pango/pango-attributes.h b/pango/pango-attributes.h index b3dd3fa3..4488d3e9 100644 --- a/pango/pango-attributes.h +++ b/pango/pango-attributes.h @@ -95,8 +95,8 @@ typedef enum { struct _PangoAttribute { const PangoAttrClass *klass; - guint start_index; - guint end_index; + guint start_index; /* in bytes */ + guint end_index; /* the character containing this byte is not included */ }; typedef gboolean (*PangoAttrFilterFunc) (PangoAttribute *attribute, -- cgit v1.2.1