This file is indexed.

/usr/share/gtk-doc/html/gtksourceview-3.0/style-reference.html is in libgtksourceview-3.0-doc 3.4.1-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Style Scheme Definition Reference</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
<link rel="up" href="rn02.html" title="Syntax highlighting reference">
<link rel="prev" href="lang-reference.html" title="Language Definition v2.0 Reference">
<link rel="next" href="api-index-full.html" title="Index of all symbols">
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
<td><a accesskey="p" href="lang-reference.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="rn02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GtkSourceView 3 Reference Manual</th>
<td><a accesskey="n" href="api-index-full.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="style-reference"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle">Style Scheme Definition Reference</span></h2>
<p>Style Scheme Definition Reference — 
Reference to the GtkSourceView style scheme definition file format
</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="id554367"></a><h2>Overview</h2>
<p>
This is an overview of the Style Scheme Definition XML format, describing the
meaning and usage of every element and attribute.  The formal definition is
stored in the RelaxNG schema file <code class="filename">style.rng</code> which
should be installed on your system in the directory
<code class="filename">${PREFIX}/share/gtksourceview-2.0/</code> (where
<code class="filename">${PREFIX}</code> can be <code class="filename">/usr/</code> or
<code class="filename">/usr/local/</code> if you have installed from source.
</p>
</div>
<p>
The toplevel tag in a style scheme file is <code class="code">&lt;style-scheme&gt;</code>.
It has the following attributes:
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><code class="code">id</code> (mandatory)</span></p></td>
<td><p>
Identifier for the style scheme. This is must be unique among style schemes.
</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">name</code> (mandatory)</span></p></td>
<td><p>
Name of the style scheme. This is the name of the scheme to display to user, e.g.
in a preferences dialog.
</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">_name</code></span></p></td>
<td><p>
This is the same as <code class="code">name</code> attribute, except it will be translated.
<code class="code">name</code> and <code class="code">_name</code> may not be used simultaneously.
</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">parent-scheme</code> (optional)</span></p></td>
<td><p>
Style schemes may have <span class="emphasis"><em>parent</em></span> schemes: all styles but those specified
in the scheme will be taken from the parent scheme. In this way a scheme may
be customized without copying all its content.
</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">version</code> (mandatory)</span></p></td>
<td><p>
Style scheme format identifier. At the moment it must be "1.0".
</p></td>
</tr>
</tbody>
</table></div>
<p>
</p>
<p>
<code class="code">style-scheme</code> tag may contain the following tags:
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><code class="code">author</code></span></p></td>
<td><p>
Name of the style scheme author.
</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">description</code></span></p></td>
<td><p>
Description of the style scheme.
</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">_description</code></span></p></td>
<td><p>
Same as <code class="code">description</code> except it will be localized.
</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">color</code> tags</span></p></td>
<td><p>
These define color names to be used in <code class="code">style</code> tags.
It has two attributes: <code class="code">name</code> and <code class="code">value</code>.
<code class="code">value</code> is the hexadecimal color specification like
"#000000" or named color understood by Gdk prefixed with "#",
e.g. "#beige".
</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">style</code> tags</span></p></td>
<td><p>
See below for their format description.
</p></td>
</tr>
</tbody>
</table></div>
<p>
</p>
<p>
Each <code class="code">style</code> tag describes a single element of style scheme (it corresponds
to #GtkSourceStyle object). It has the following attributes:
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><code class="code">name</code> (mandatory)</span></p></td>
<td><p>
Name of the style. It can be anything, syntax highlighting uses <span class="emphasis"><em>lang-id:style-id</em></span>, 
and there are few special styles which are used to control general appearance
of the text. Style scheme may contain other names to be used in an application. For instance,
it may define color to highlight compilation errors in a build log or a color for
bookmarks.
</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">foreground</code></span></p></td>
<td><p>
Foreground color. It may be name defined in one of <code class="code">color</code> tags, or value in 
hexadecimal format, e.g. "#000000", or symbolic name understood
by Gdk, prefixed with "#", e.g. "#magenta" or "#darkred".
</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">background</code></span></p></td>
<td><p>
Background color.
</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">italic</code></span></p></td>
<td><p>"true" or "false"</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">bold</code></span></p></td>
<td><p>"true" or "false"</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">underline</code></span></p></td>
<td><p>"true" or "false"</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">strikethrough</code></span></p></td>
<td><p>"true" or "false"</p></td>
</tr>
</tbody>
</table></div>
<p>
</p>
<p>
The following are names of styles which control #GtkSourceView appearance:
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><code class="code">text</code></span></p></td>
<td><p>Default style of text.</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">selection</code></span></p></td>
<td><p>Style of selected text.</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">selection-unfocused</code></span></p></td>
<td><p>Style of selected text when the widget doesn't have input focus.</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">cursor</code></span></p></td>
<td><p>Text cursor style. Only <code class="code">foreground</code> attribute is used
for this style</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">secondary-cursor</code></span></p></td>
<td><p>Secondary cursor style (used in bidi text). Only <code class="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.</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">current-line</code></span></p></td>
<td><p>Current line style. Only <code class="code">background</code> attribute is used</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">line-numbers</code></span></p></td>
<td><p>Text and background colors for the left margin, on which line numbers are 
drawn</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">bracket-match</code></span></p></td>
<td><p>Style to use for matching brackets.</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">bracket-mismatch</code></span></p></td>
<td><p>Style to use for mismatching brackets.</p></td>
</tr>
</tbody>
</table></div>
<p>
</p>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18.1</div>
</body>
</html>