[gtksourceview] stylescheme: fix css fallout from previous commits

commit abf66eb4dfd5e8a244a1a42d4797acb0e81c6545
Author: Christian Hergert <chergert redhat com>
Date:   Sat Oct 31 00:16:36 2015 -0700

    stylescheme: fix css fallout from previous commits
    We lost proper formatting of the foreground text from the previous
    commits. This re-instates it as we need both .view and text to cover
    all the highlighting cases.
    There might be a better way to do this going forward.

 gtksourceview/gtksourcestylescheme.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gtksourceview/gtksourcestylescheme.c b/gtksourceview/gtksourcestylescheme.c
index c97c1a9..eaeab3c 100644
--- a/gtksourceview/gtksourcestylescheme.c
+++ b/gtksourceview/gtksourcestylescheme.c
@@ -894,7 +894,7 @@ generate_css_style (GtkSourceStyleScheme *scheme)
        final_style = g_string_new ("");
        style = gtk_source_style_scheme_get_style (scheme, STYLE_TEXT);
-       append_css_style (final_style, style, "text");
+       append_css_style (final_style, style, "text, .view");
        style = gtk_source_style_scheme_get_style (scheme, STYLE_SELECTED);
        append_css_style (final_style, style, "textview:selected:focused");

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