Skip to content

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.


Here are both styles in action, for comparison:

gedit

kate

The first picture one is from GtkSourceView, the second one is from KSyntaxHighlighting. The cursor is visible in the same place in both cases.

Merge request reports