gtksourceview r1658 - in trunk: . gtksourceview gtksourceview/language-specs
- From: paolo svn gnome org
- To: svn-commits-list gnome org
- Subject: gtksourceview r1658 - in trunk: . gtksourceview gtksourceview/language-specs
- Date: Tue, 28 Aug 2007 15:19:34 +0100 (BST)
Author: paolo
Date: 2007-08-28 15:19:33 +0100 (Tue, 28 Aug 2007)
New Revision: 1658
ViewCVS link: http://svn.gnome.org/viewcvs/gtksourceview?rev=1658&view=rev
Modified:
trunk/ChangeLog
trunk/gtksourceview/gtksourcestylescheme.c
trunk/gtksourceview/gtksourcestylescheme.h
trunk/gtksourceview/gtksourceview.c
trunk/gtksourceview/language-specs/oblivion.xml
trunk/gtksourceview/language-specs/tango.xml
Log:
2007-08-28 Paolo Maggi <paolo gnome org>
Style schemes can now optionally define the color of the right
margin
line and overlay using the "right-margin" style.
The foreground color is used for the line, while the background
one,
if defined, is used for the overlay.
If no background color is set the overlay is disabled.
A 40/255 alpha value is applied to the line color and a 15/255
one is
applied to the overlay color.
* gtksourceview/gtksourcestylescheme.[ch]
(_gtk_source_style_scheme_get_right_margin_style): new function
to get the right-margin style
* gtksourceview/gtksourceview.c (gtk_source_view_class_init),
(gtk_source_view_init), (gtk_source_view_finalize),
(gtk_source_view_expose), (update_right_margin_colors),
(gtk_source_view_realize),
(gtk_source_view_update_style_scheme):
kill the old style properties and use the right-margin style
* gtksourceview/language-specs/oblivion.xml:
* gtksourceview/language-specs/tango.xml: set right-margin style
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]