[gnome-builder] quick-highlight: tweak styling for quick highlight



commit f3317286f7ba5ca322defa71085ff2b1d2b60748
Author: Christian Hergert <chergert redhat com>
Date:   Wed Oct 11 21:52:45 2017 -0700

    quick-highlight: tweak styling for quick highlight

 data/style-schemes/builder-dark.xml                |    1 +
 data/style-schemes/builder.xml                     |    1 +
 .../gbp-quick-highlight-editor-view-addin.c        |    2 +-
 3 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/data/style-schemes/builder-dark.xml b/data/style-schemes/builder-dark.xml
index 3a02487..6805b88 100644
--- a/data/style-schemes/builder-dark.xml
+++ b/data/style-schemes/builder-dark.xml
@@ -100,6 +100,7 @@
 
   <!-- Search Matching -->
   <style name="search-match"                foreground="aluminium1" background="chameleon3"/>
+  <style name="quick-highlight-match"       background="#rgba(78,154,6,.25)"/>
 
   <!-- Search Shadow -->
   <style name="search-shadow"               background="#rgba(0,0,0,0.4)"/>
diff --git a/data/style-schemes/builder.xml b/data/style-schemes/builder.xml
index 2abf4f4..ac8e437 100644
--- a/data/style-schemes/builder.xml
+++ b/data/style-schemes/builder.xml
@@ -106,6 +106,7 @@
 
   <!-- Search Matching -->
   <style name="search-match"                foreground="white" background="pink1"/>
+  <style name="quick-highlight-match"       background="#rgba(221,74,104,0.15)"/>
 
   <!-- Search Shadow -->
   <style name="search-shadow"               background="#rgba(0,0,0,0.2)"/>
diff --git a/src/plugins/quick-highlight/gbp-quick-highlight-editor-view-addin.c 
b/src/plugins/quick-highlight/gbp-quick-highlight-editor-view-addin.c
index 708f034..9ea71e1 100644
--- a/src/plugins/quick-highlight/gbp-quick-highlight-editor-view-addin.c
+++ b/src/plugins/quick-highlight/gbp-quick-highlight-editor-view-addin.c
@@ -23,7 +23,7 @@
 
 #include "gbp-quick-highlight-editor-view-addin.h"
 
-#define HIGHLIGHT_STYLE_NAME "current-line"
+#define HIGHLIGHT_STYLE_NAME "quick-highlight-match"
 
 struct _GbpQuickHighlightEditorViewAddin
 {


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