diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-08-24 22:41:15 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-08-24 23:27:54 -0400 |
commit | 70933101e4eb4dee9a29fe0992624ae9c58adf00 (patch) | |
tree | e10668e5cfab76731d1b12dee4d958e39ca30b46 /pango/pango-break.h | |
parent | 3d7bb496c129a0efbabc6fa436c35516b5b6cd69 (diff) | |
download | pango-70933101e4eb4dee9a29fe0992624ae9c58adf00.tar.gz |
Add hyphens to log attrs
The code computing this is much better off in break.c,
so move it there, and keep the information in the
log attr array.
Diffstat (limited to 'pango/pango-break.h')
-rw-r--r-- | pango/pango-break.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pango/pango-break.h b/pango/pango-break.h index a8e6c5b9..52febd3d 100644 --- a/pango/pango-break.h +++ b/pango/pango-break.h @@ -72,6 +72,8 @@ G_BEGIN_DECLS * This flag is particularly useful when selecting text word-by-word. This flag * implements Unicode's [Word Boundaries](http://www.unicode.org/reports/tr29/) * semantics. (Since: 1.22) + * @break_inserts_hyphen: when breaking lines before this char, insert a hyphen. + * Since: 1.50 * * The `PangoLogAttr` structure stores information about the attributes of a * single character. @@ -91,6 +93,7 @@ struct _PangoLogAttr guint backspace_deletes_character : 1; guint is_expandable_space : 1; guint is_word_boundary : 1; + guint break_inserts_hyphen : 1; }; PANGO_DEPRECATED_IN_1_44 |