Re: GtkSourceView, using current-line style for other elements also?
- From: Sébastien Wilmet <swilmet gnome org>
- To: Stefan Salewski <mail ssalewski de>
- Cc: gnome-devtools gnome org
- Subject: Re: GtkSourceView, using current-line style for other elements also?
- Date: Wed, 15 Jun 2016 15:48:32 +0200
Hi Stefan,
On Sun, Jun 12, 2016 at 05:11:43PM +0200, Stefan Salewski wrote:
File classic.xml
<!-- Global Settings -->
<style name="current-line" background="#eeeeec"/>
<style name="current-line-number" background="#eeeeec"/>
Is my feeling correct, that these global styles can not be used for
other syntax highlight purposes? The reason for the question is, that
all predefined color files define mostly foreground colors with high
contrast to background, and I would need one available predefined very
similar to background, current-line should be ok, but using it seems
not to work. My nim.lang is fine with my own color scheme, but I
considered making it more compatible with other existing color schemes.
And for that I would need an existing color for the vertical bars at th
e left in http://ssalewski.de/tmp/NEd-SHD.png
Yes you can call the gtk_source_style_scheme_get_style() function.
--
Sébastien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]