[gtksourceview/wip/update-doc] Update style scheme reference
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/update-doc] Update style scheme reference
- Date: Sun, 6 Oct 2013 16:45:15 +0000 (UTC)
commit 943488b93638745d5c1373c671be124d9ca23434
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Oct 6 18:40:53 2013 +0200
Update style scheme reference
Document the right-margin and draw-spaces styles.
docs/reference/style-reference.xml | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/docs/reference/style-reference.xml b/docs/reference/style-reference.xml
index d1ad599..a2e1d5d 100644
--- a/docs/reference/style-reference.xml
+++ b/docs/reference/style-reference.xml
@@ -1,4 +1,4 @@
-<refentry id="style-reference" revision="27 December 2009">
+<refentry id="style-reference" revision="6 October 2013">
<refmeta>
<refentrytitle>Style Scheme Definition Reference</refentrytitle>
</refmeta>
@@ -195,6 +195,19 @@ drawn</para></listitem>
<term><code>bracket-mismatch</code></term>
<listitem><para>Style to use for mismatching brackets.</para></listitem>
</varlistentry>
+<varlistentry>
+<term><code>right-margin</code></term>
+<listitem><para>Style to use for the right margin. The <code>foreground</code> attribute is used for
+drawing the vertical line. And the <code>background</code> attribute is used for the background on
+the right side of the margin. An alpha channel is applied to the two colors. For a light style
+scheme, a good color for both attributes is black. For a dark style scheme, white is a good
+choice.</para></listitem>
+</varlistentry>
+<varlistentry>
+<term><code>draw-spaces</code></term>
+<listitem><para>Style to use for drawing spaces (special symbols for a space, a tabulation, etc).
+Only the <code>foreground</code> attribute is used.</para></listitem>
+</varlistentry>
</variablelist>
</para>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]