[gtksourceview] Adwaita: ensure def:error is set



commit ebd607996e0be73ef596ecc66a3de21cee3c4df9
Author: Christian Hergert <chergert redhat com>
Date:   Mon Aug 1 14:54:52 2022 -0700

    Adwaita: ensure def:error is set
    
    This is used to denote error regions of loaded text (and may be used for
    other things mapping to def:error) so ensure it is set.

 data/styles/Adwaita-dark.xml | 1 +
 data/styles/Adwaita.xml      | 1 +
 2 files changed, 2 insertions(+)
---
diff --git a/data/styles/Adwaita-dark.xml b/data/styles/Adwaita-dark.xml
index b770174a..6b3d4c7a 100644
--- a/data/styles/Adwaita-dark.xml
+++ b/data/styles/Adwaita-dark.xml
@@ -114,6 +114,7 @@
   <style name="def:deletion"               strikethrough="true"/>
   <style name="def:doc-comment-element"    foreground="light_7"/>
   <style name="def:emphasis"               italic="true"/>
+  <style name="def:error"                  underline="error" underline-color="red_4"/>
   <style name="def:floating-point"         foreground="violet_2"/>
   <style name="def:function"               foreground="blue_2"/>
   <style name="def:heading"                foreground="teal_3" bold="true"/>
diff --git a/data/styles/Adwaita.xml b/data/styles/Adwaita.xml
index 5c3e8f38..dbbeead6 100644
--- a/data/styles/Adwaita.xml
+++ b/data/styles/Adwaita.xml
@@ -111,6 +111,7 @@
   <style name="def:decimal"                foreground="violet_4"/>
   <style name="def:doc-comment-element"    foreground="dark_3"/>
   <style name="def:emphasis"               italic="true"/>
+  <style name="def:error"                  underline="error" underline-color="red_4"/>
   <style name="def:floating-point"         foreground="violet_4"/>
   <style name="def:function"               foreground="blue_4"/>
   <style name="def:heading"                foreground="teal_5" bold="true"/>


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