diff options
Diffstat (limited to 'source/helper.c')
-rw-r--r-- | source/helper.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/helper.c b/source/helper.c index d31a4e20..e14a5e68 100644 --- a/source/helper.c +++ b/source/helper.c @@ -423,6 +423,12 @@ PangoAttrList *helper_token_match_get_pango_attr ( ThemeHighlight th, GRegex **t pa->end_index = end; pango_attr_list_insert ( retv, pa ); } + if ( th.style & HL_STRIKETHROUGH ) { + PangoAttribute *pa = pango_attr_strikethrough_new ( TRUE ); + pa->start_index = start; + pa->end_index = end; + pango_attr_list_insert ( retv, pa ); + } if ( th.style & HL_ITALIC ) { PangoAttribute *pa = pango_attr_style_new ( PANGO_STYLE_ITALIC ); pa->start_index = start; |