[gtksourceview] Style schemes: document all style names



commit 3eb9952e0128aa5449871e77b7d9e4e3a5530073
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Thu Nov 26 10:35:31 2015 +0100

    Style schemes: document all style names
    
    Some styles were added silently... current-line-number and
    background-pattern... It looks like I'm the only developer who cares
    about the documentation...

 docs/reference/style-reference.xml |   30 +++++++++++++++++++++---------
 1 files changed, 21 insertions(+), 9 deletions(-)
---
diff --git a/docs/reference/style-reference.xml b/docs/reference/style-reference.xml
index 7b2d4af..6623047 100644
--- a/docs/reference/style-reference.xml
+++ b/docs/reference/style-reference.xml
@@ -181,7 +181,7 @@ Scale the matched text block. Possible values are a float number as factor
 </para>
 
 <para>
-The following are names of styles which control #GtkSourceView appearance:
+The following are names of styles which control GtkSourceView appearance:
 <variablelist>
 <varlistentry>
 <term><code>text</code></term>
@@ -197,23 +197,30 @@ The following are names of styles which control #GtkSourceView appearance:
 </varlistentry>
 <varlistentry>
 <term><code>cursor</code></term>
-<listitem><para>Text cursor style. Only <code>foreground</code> attribute is used
-for this style</para></listitem>
+<listitem><para>Text cursor style. Only the <code>foreground</code> attribute is used
+for this style.</para></listitem>
 </varlistentry>
 <varlistentry>
 <term><code>secondary-cursor</code></term>
-<listitem><para>Secondary cursor style (used in bidi text). Only <code>foreground</code> attribute
-is used for this style. If this is not set while "cursor" is, then a color between text background
-and cursor colors is chosen, so it is enough to use "cursor" style only.</para></listitem>
+<listitem><para>Secondary cursor style (used in bidirectional text). Only the
+<code>foreground</code> attribute is used for this style. If this is not set
+while "cursor" is, then a color between text background and cursor colors is
+chosen, so it is enough to use "cursor" style only.</para></listitem>
 </varlistentry>
 <varlistentry>
 <term><code>current-line</code></term>
-<listitem><para>Current line style. Only <code>background</code> attribute is used</para></listitem>
+<listitem><para>Current line style. Only the <code>background</code> attribute
+is used.</para></listitem>
 </varlistentry>
 <varlistentry>
 <term><code>line-numbers</code></term>
-<listitem><para>Text and background colors for the left margin, on which line numbers are
-drawn</para></listitem>
+<listitem><para>Text and background colors for the left margin, on which line
+numbers are drawn.</para></listitem>
+</varlistentry>
+<varlistentry>
+<term><code>current-line-number</code></term>
+<listitem><para>Current line style for the left margin, on which the current
+line number is drawn. Only the <code>background</code> attribute is used.</para></listitem>
 </varlistentry>
 <varlistentry>
 <term><code>bracket-match</code></term>
@@ -236,6 +243,11 @@ choice.</para></listitem>
 <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>
+<varlistentry>
+<term><code>background-pattern</code></term>
+<listitem><para>Style to use for drawing a background pattern, for example a
+grid. Only the <code>background</code> attribute is used.</para></listitem>
+</varlistentry>
 </variablelist>
 </para>
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]