[gtksourceview] styleschemes: make current-line-number match old behavior
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] styleschemes: make current-line-number match old behavior
- Date: Tue, 20 Jul 2021 23:06:42 +0000 (UTC)
commit e4afb537f41fd4285b7f81df03faf27728d94ab2
Author: Christian Hergert <chergert redhat com>
Date: Tue Jul 20 15:56:53 2021 -0700
styleschemes: make current-line-number match old behavior
Now that we try to render this if it doesn't exist, we need to specify
that some style schemes should specify the necessary color (as transparent)
to get the previous behavior.
data/styles/kate.xml | 1 +
data/styles/solarized-dark.xml | 1 +
data/styles/solarized-light.xml | 1 +
3 files changed, 3 insertions(+)
---
diff --git a/data/styles/kate.xml b/data/styles/kate.xml
index 10a2f550..4b9a565d 100644
--- a/data/styles/kate.xml
+++ b/data/styles/kate.xml
@@ -39,6 +39,7 @@
<style name="text" foreground="black" background="white"/>
<style name="selection" foreground="white" background="#43ace8"/>
<style name="current-line" background="#EEF6FF"/>
+ <style name="current-line-number" background="#rgba(0,0,0,0)"/>
<style name="line-numbers" foreground="black" background="#d6d2d0"/>
<style name="right-margin" foreground="black" background="black"/>
<style name="bracket-match" background="#ffff00" bold="true"/>
diff --git a/data/styles/solarized-dark.xml b/data/styles/solarized-dark.xml
index 0a67d9e8..e40f826a 100644
--- a/data/styles/solarized-dark.xml
+++ b/data/styles/solarized-dark.xml
@@ -50,6 +50,7 @@
<style name="cursor" foreground="base1"/>
<style name="secondary-cursor" foreground="base00"/>
<style name="current-line" background="base02"/>
+ <style name="current-line-number" background="#rgba(0,0,0,0)"/>
<style name="line-numbers" foreground="base01" background="base02"/>
<style name="snippet-focus" foreground="base01" background="base02"/>
<style name="background-pattern" background="base03-02-blend"/>
diff --git a/data/styles/solarized-light.xml b/data/styles/solarized-light.xml
index ae2c8480..d46d6a4f 100644
--- a/data/styles/solarized-light.xml
+++ b/data/styles/solarized-light.xml
@@ -50,6 +50,7 @@
<style name="selection" foreground="base3" background="base1"/>
<style name="cursor" foreground="base01"/>
<style name="current-line" background="base2"/>
+ <style name="current-line-number" background="#rgba(0,0,0,0)"/>
<style name="line-numbers" foreground="base1" background="base2"/>
<style name="snippet-focus" foreground="base1" background="base2"/>
<style name="background-pattern" background="base3-2-blend"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]