[gedit-code-assistance] tags: use underline with a color to show the errors or warnings



commit ef64536cb83646077b2f48de88838baf1b06c317
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sun Aug 16 13:08:37 2015 +0200

    tags: use underline with a color to show the errors or warnings

 src/gca-diagnostic-tags.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gca-diagnostic-tags.vala b/src/gca-diagnostic-tags.vala
index ee61939..9b876e9 100644
--- a/src/gca-diagnostic-tags.vala
+++ b/src/gca-diagnostic-tags.vala
@@ -67,8 +67,8 @@ class DiagnosticTags : Object
        {
                ensure_tag(ref tag, name);
 
-               tag.background_rgba = col;
-               tag.background_full_height = true;
+               tag.underline = Pango.Underline.ERROR;
+               tag.underline_rgba = col;
        }
 
        private void update_tags()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]