diff options
author | Christian Hergert <chergert@redhat.com> | 2022-09-14 20:46:35 -0700 |
---|---|---|
committer | Christian Hergert <chergert@redhat.com> | 2022-09-14 20:46:35 -0700 |
commit | 9d3aac39bbcddce629e777aca61b928cbadf6068 (patch) | |
tree | c8d8257e5614d6b8f2327ac6cb4613f55c34782a | |
parent | 9f3e602d8ca8de7fec82dea34096cd470a094a47 (diff) | |
download | gtksourceview-9d3aac39bbcddce629e777aca61b928cbadf6068.tar.gz |
completion: use PANGO_UNDERLINE_SINGLE_LINE
This just looks a bit better since we want to match under the whole line
not just where underbar might be.
-rw-r--r-- | gtksourceview/gtksourcecompletion.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtksourceview/gtksourcecompletion.c b/gtksourceview/gtksourcecompletion.c index a699c058..978b3f2b 100644 --- a/gtksourceview/gtksourcecompletion.c +++ b/gtksourceview/gtksourcecompletion.c @@ -1594,7 +1594,7 @@ add_attributes (PangoAttrList **attrs, *attrs = pango_attr_list_new (); } - attr = pango_attr_underline_new (PANGO_UNDERLINE_SINGLE); + attr = pango_attr_underline_new (PANGO_UNDERLINE_SINGLE_LINE); attr->start_index = begin; attr->end_index = end; pango_attr_list_insert (*attrs, g_steal_pointer (&attr)); |