[gtksourceview: 1/2] styles: tweak Kate’s matched brackets
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview: 1/2] styles: tweak Kate’s matched brackets
- Date: Sat, 3 Jul 2021 05:46:29 +0000 (UTC)
commit 003607807948dfaaca3e816c99a72202071bd28c
Author: Grzegorz Szymaszek <gszymaszek short pl>
Date: Fri Jul 2 21:59:38 2021 +0200
styles: tweak Kate’s matched brackets
In the GtkSourceView’s Kate style, matched brackets were painted using
white font on black background. This made the (black) cursor hardly
visible, but, what seems more important, it did not match the original
KSyntaxHighlighting’s Breeze Light theme. In the latter, when the cursor
is at one of two matching brackets, they get turned bold and their
background is set to #ffff00. Make the Kate style match Breeze Light’s
behaviour.
data/styles/kate.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/styles/kate.xml b/data/styles/kate.xml
index 5c786d2d..10a2f550 100644
--- a/data/styles/kate.xml
+++ b/data/styles/kate.xml
@@ -41,7 +41,7 @@
<style name="current-line" background="#EEF6FF"/>
<style name="line-numbers" foreground="black" background="#d6d2d0"/>
<style name="right-margin" foreground="black" background="black"/>
- <style name="bracket-match" foreground="white" background="black"/>
+ <style name="bracket-match" background="#ffff00" bold="true"/>
<style name="bracket-mismatch" background="red"/>
<style name="draw-spaces" foreground="#d3d7cf"/>
<style name="background-pattern" background="#f3f3f3"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]