[gtksourceview] styles: avoid using bold for bracket matching
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] styles: avoid using bold for bracket matching
- Date: Thu, 24 Mar 2016 22:06:14 +0000 (UTC)
commit 400187c70d5360108be3477d4ebd40ff288039c6
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Thu Mar 24 22:58:56 2016 +0100
styles: avoid using bold for bracket matching
Bold is actually a different font. This might endup being annoying
specially when the normal font size does not match the size of
the bold one and you endup having a lines changing the size when
moving the cursor around the document. This is specially easy to
reproduce on windows.
data/styles/classic.xml | 4 ++--
data/styles/cobalt.xml | 2 +-
data/styles/kate.xml | 4 ++--
data/styles/oblivion.xml | 4 ++--
data/styles/tango.xml | 4 ++--
5 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/data/styles/classic.xml b/data/styles/classic.xml
index c838c97..0ee1a36 100644
--- a/data/styles/classic.xml
+++ b/data/styles/classic.xml
@@ -49,8 +49,8 @@
<style name="background-pattern" background="#f3f3f3"/>
<!-- Bracket Matching -->
- <style name="bracket-match" foreground="white" background="gray" bold="true"/>
- <style name="bracket-mismatch" foreground="white" background="red" bold="true"/>
+ <style name="bracket-match" foreground="white" background="gray"/>
+ <style name="bracket-mismatch" foreground="white" background="red"/>
<!-- Right Margin -->
<style name="right-margin" foreground="#000000" background="#000000"/>
diff --git a/data/styles/cobalt.xml b/data/styles/cobalt.xml
index 62e7404..424c8ba 100644
--- a/data/styles/cobalt.xml
+++ b/data/styles/cobalt.xml
@@ -64,7 +64,7 @@
<!-- Bracket Matching -->
<style name="bracket-match" background="steelblue3"/>
- <style name="bracket-mismatch" background="dark_red" bold="true"/>
+ <style name="bracket-mismatch" background="dark_red"/>
<!-- Search Matching -->
<style name="search-match" foreground="white" background="sea_green"/>
diff --git a/data/styles/kate.xml b/data/styles/kate.xml
index d3c5872..f04c9e8 100644
--- a/data/styles/kate.xml
+++ b/data/styles/kate.xml
@@ -42,8 +42,8 @@
<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" bold="true"/>
- <style name="bracket-mismatch" background="red" bold="true"/>
+ <style name="bracket-match" foreground="white" background="black"/>
+ <style name="bracket-mismatch" background="red"/>
<style name="draw-spaces" foreground="#d3d7cf"/>
<style name="background-pattern" background="#f3f3f3"/>
diff --git a/data/styles/oblivion.xml b/data/styles/oblivion.xml
index a98677f..89d8351 100644
--- a/data/styles/oblivion.xml
+++ b/data/styles/oblivion.xml
@@ -69,8 +69,8 @@
<style name="background-pattern" background="aluminium6-5-blend"/>
<!-- Bracket Matching -->
- <style name="bracket-match" foreground="chocolate2" bold="true"/>
- <style name="bracket-mismatch" foreground="aluminium1" background="scarletred2" bold="true"/>
+ <style name="bracket-match" foreground="chocolate2"/>
+ <style name="bracket-mismatch" foreground="aluminium1" background="scarletred2"/>
<!-- Right Margin -->
<style name="right-margin" foreground="aluminium1" background="aluminium3"/>
diff --git a/data/styles/tango.xml b/data/styles/tango.xml
index 4eec489..8411aa8 100644
--- a/data/styles/tango.xml
+++ b/data/styles/tango.xml
@@ -62,8 +62,8 @@
<style name="background-pattern" background="#f3f3f3"/>
<!-- Bracket Matching -->
- <style name="bracket-match" foreground="aluminium1" background="aluminium3" bold="true"/>
- <style name="bracket-mismatch" foreground="aluminium1" background="scarletred3" bold="true"/>
+ <style name="bracket-match" foreground="aluminium1" background="aluminium3"/>
+ <style name="bracket-mismatch" foreground="aluminium1" background="scarletred3"/>
<!-- Right Margin -->
<style name="right-margin" foreground="aluminium6" background="aluminium6"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]