gtksourceview3 2.2.5-x64-mingw32 → 3.0.0-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +3 -4
- data/lib/gtksourceview3/loader.rb +46 -0
- data/lib/gtksourceview3/mark-attributes.rb +29 -0
- data/lib/gtksourceview3.rb +47 -12
- data/test/run-test.rb +2 -0
- data/test/{test_mark_attributes.rb → test-mark-attributes.rb} +1 -1
- data/test/{test_source_gutter_renderer.rb → test-source-gutter-renderer.rb} +0 -0
- data/test/{test_source_language_manager.rb → test-source-language-manager.rb} +6 -6
- data/test/{test_source_view.rb → test-source-view.rb} +1 -1
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +3 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +4 -5
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +1 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +0 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +5 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +5 -4
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooser.h +60 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserbutton.h +56 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserwidget.h +56 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +13 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +5 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +41 -14
- data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.la +3 -3
- data/vendor/local/lib/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/kk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +2 -2
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +501 -39
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +186 -132
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +55 -55
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +29 -23
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +39 -39
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +141 -133
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +42 -42
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +89 -89
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +155 -56
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +17 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooser.html +215 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserButton.html +129 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserWidget.html +129 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +27 -26
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +751 -327
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-16.html +107 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +89 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +9 -90
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +25 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch03.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch04.html +44 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch05.html +50 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch06.html +33 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch07.html +38 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch08.html +38 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +253 -161
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +57 -25
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +295 -190
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +73 -30
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +13 -9
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt01.html +153 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt02.html +50 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +3 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +4 -4
- data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +234 -125
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +1 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cuda.lang +247 -257
- data/vendor/local/share/gtksourceview-3.0/language-specs/fortran.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/genie.lang +238 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/java.lang +4 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +3 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/lua.lang +150 -5
- data/vendor/local/share/gtksourceview-3.0/language-specs/matlab.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/octave.lang +1008 -172
- data/vendor/local/share/gtksourceview-3.0/language-specs/pig.lang +283 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +2 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/thrift.lang +267 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/xslt.lang +13 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/yacc.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +2 -0
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +3 -0
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +1 -0
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +3 -0
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-dark.xml +3 -1
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-light.xml +3 -1
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +2 -0
- data/vendor/local/share/license/gtksourceview/AUTHORS +7 -5
- metadata +43 -35
- data/ext/gtksourceview3/depend +0 -6
- data/ext/gtksourceview3/extconf.rb +0 -67
- data/ext/gtksourceview3/gtksourceview3.def +0 -2
- data/ext/gtksourceview3/rbgtksource.c +0 -53
- data/ext/gtksourceview3/rbgtksourcebuffer.c +0 -318
- data/ext/gtksourceview3/rbgtksourcegutter.c +0 -82
- data/ext/gtksourceview3/rbgtksourcegutterrenderer.c +0 -143
- data/ext/gtksourceview3/rbgtksourcegutterrendererpixbuf.c +0 -42
- data/ext/gtksourceview3/rbgtksourcegutterrenderertext.c +0 -40
- data/ext/gtksourceview3/rbgtksourcelanguage.c +0 -124
- data/ext/gtksourceview3/rbgtksourcelanguagemanager.c +0 -114
- data/ext/gtksourceview3/rbgtksourcemark.c +0 -85
- data/ext/gtksourceview3/rbgtksourcemarkattributes.c +0 -77
- data/ext/gtksourceview3/rbgtksourceprintcompositor.c +0 -171
- data/ext/gtksourceview3/rbgtksourcestyle.c +0 -42
- data/ext/gtksourceview3/rbgtksourcestylescheme.c +0 -72
- data/ext/gtksourceview3/rbgtksourcestyleschememanager.c +0 -140
- data/ext/gtksourceview3/rbgtksourceundomanager.c +0 -83
- data/ext/gtksourceview3/rbgtksourceview.c +0 -94
- data/ext/gtksourceview3/rbgtksourceview3conversions.h +0 -50
- data/ext/gtksourceview3/rbgtksourceview3private.h +0 -53
- data/extconf.rb +0 -49
- data/lib/2.0/gtksourceview3.so +0 -0
- data/lib/2.1/gtksourceview3.so +0 -0
- data/lib/2.2/gtksourceview3.so +0 -0
- data/sample/sourcelanguagemanager.rb +0 -21
- data/sample/test.rb +0 -32
@@ -2,10 +2,10 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>
|
5
|
+
<title>Language Definition v2.0 Reference: GtkSourceView 3 Reference Manual</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
|
-
<link rel="up" href="
|
8
|
+
<link rel="up" href="pt02.html" title="Part II. Syntax highlighting reference">
|
9
9
|
<link rel="prev" href="lang-tutorial.html" title="Language Definition v2.0 Tutorial">
|
10
10
|
<link rel="next" href="style-reference.html" title="Style Scheme Definition Reference">
|
11
11
|
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
16
|
<td width="100%" align="left" class="shortcuts"></td>
|
17
17
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
18
|
-
<td><a accesskey="u" href="
|
18
|
+
<td><a accesskey="u" href="pt02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
19
19
|
<td><a accesskey="p" href="lang-tutorial.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
20
20
|
<td><a accesskey="n" href="style-reference.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
21
21
|
</tr></table>
|
@@ -46,11 +46,44 @@ should be installed on your system in the directory
|
|
46
46
|
<code class="filename">${PREFIX}</code> can be <code class="filename">/usr/</code> or
|
47
47
|
<code class="filename">/usr/local/</code> if you have installed from source.
|
48
48
|
</p>
|
49
|
+
<p>
|
50
|
+
The preinstalled language files are located in
|
51
|
+
<code class="filename">${PREFIX}/share/gtksourceview-3.0/language-specs/</code>. Custom
|
52
|
+
user languages are usually placed in
|
53
|
+
<code class="filename">~/.local/share/gtksourceview-3.0/language-specs/</code>. Note:
|
54
|
+
replace 3 with 2 in the path for GtkSourceView version 2.
|
55
|
+
</p>
|
56
|
+
</div>
|
57
|
+
<div class="refsect1">
|
58
|
+
<a name="id-1.3.3.4"></a><h2>Some advices</h2>
|
59
|
+
<p>
|
60
|
+
The easiest way to start a new language definition is to copy a preinstalled
|
61
|
+
language definition from a language that has similar constructs as the one you
|
62
|
+
want to write a specification for. You can copy and rename a file from the
|
63
|
+
systems directory to the local user one (create the directory if it doesn't
|
64
|
+
exist yet) and edit the file accordingly.
|
65
|
+
</p>
|
66
|
+
<p>
|
67
|
+
The important thing you need to change are the <code class="code">id</code> and
|
68
|
+
<code class="code">name</code> of the language and the metadata properties
|
69
|
+
<code class="code">mimetypes</code> and <code class="code">globs</code> in the language spec. These
|
70
|
+
should resemble your new language. It might be that your files do not have an
|
71
|
+
appropriate mimetype associated yet. You can either in that case leave it
|
72
|
+
empty, or add a new mimetype (see below).
|
73
|
+
</p>
|
74
|
+
<p>
|
75
|
+
If for some reason your language spec doesn't show up in an application like
|
76
|
+
gedit, it might be a good idea to start the application from a terminal window
|
77
|
+
and see if any errors/warnings appear for your language file. This usually
|
78
|
+
gives good clues what's wrong with the specification. Note that you need to
|
79
|
+
restart the application to take into account changes in a language definition
|
80
|
+
file.
|
81
|
+
</p>
|
49
82
|
</div>
|
50
83
|
<div class="refsect1">
|
51
|
-
<a name="id-1.3.3.
|
84
|
+
<a name="id-1.3.3.5"></a><h2>Conventions</h2>
|
52
85
|
<p>
|
53
|
-
It is better to follow the following
|
86
|
+
It is better to follow the following conventions, especially if you want to
|
54
87
|
contribute upstream, and get your language definition file included in
|
55
88
|
GtkSourceView.
|
56
89
|
</p>
|
@@ -83,7 +116,7 @@ GtkSourceView.
|
|
83
116
|
</ul></div>
|
84
117
|
</div>
|
85
118
|
<div class="refsect1">
|
86
|
-
<a name="id-1.3.3.
|
119
|
+
<a name="id-1.3.3.6"></a><h2>Tag <code class="code"><language></code>
|
87
120
|
</h2>
|
88
121
|
<p>
|
89
122
|
The root element for Language Definition files.
|
@@ -146,7 +179,7 @@ a syntax highlighting choice.
|
|
146
179
|
</div>
|
147
180
|
</div>
|
148
181
|
<div class="refsect1">
|
149
|
-
<a name="id-1.3.3.
|
182
|
+
<a name="id-1.3.3.7"></a><h2>Tag <code class="code"><metadata></code>
|
150
183
|
</h2>
|
151
184
|
<p>
|
152
185
|
Contains optional metadata about the language definition.
|
@@ -156,7 +189,13 @@ Recognized elements are (all optional):
|
|
156
189
|
</p>
|
157
190
|
<dt><span class="term"><code class="code">mimetypes</code></span></dt>
|
158
191
|
<dd><p>
|
159
|
-
The semicolon-separated list of mimetypes associated to the language.
|
192
|
+
The semicolon-separated list of mimetypes associated to the language. See the
|
193
|
+
<a class="ulink" href="http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec/" target="_top">shared-mime-info</a>
|
194
|
+
freedesktop.org specification. A language definition file shipped by
|
195
|
+
GtkSourceView needs to have a mimetype defined in the shared-mime-info
|
196
|
+
database. If the language definition file is not shipped by GtkSourceView, you
|
197
|
+
can also create the mimetype locally, usually in
|
198
|
+
<code class="filename">~/.local/share/mime/packages/</code>.
|
160
199
|
</p></dd>
|
161
200
|
<dt><span class="term"><code class="code">globs</code></span></dt>
|
162
201
|
<dd><p>
|
@@ -180,7 +219,7 @@ files.
|
|
180
219
|
</p></dd>
|
181
220
|
</div>
|
182
221
|
<div class="refsect1">
|
183
|
-
<a name="id-1.3.3.
|
222
|
+
<a name="id-1.3.3.8"></a><h2>Tag <code class="code"><styles></code>
|
184
223
|
</h2>
|
185
224
|
<p>
|
186
225
|
Contains the definitions of every style used in the current language and
|
@@ -192,7 +231,7 @@ Contained elements:
|
|
192
231
|
</p>
|
193
232
|
</div>
|
194
233
|
<div class="refsect1">
|
195
|
-
<a name="id-1.3.3.
|
234
|
+
<a name="id-1.3.3.9"></a><h2>Tag <code class="code"><style></code>
|
196
235
|
</h2>
|
197
236
|
<p>
|
198
237
|
Defines a style, associating its id with a user visible translatable
|
@@ -242,7 +281,7 @@ style.
|
|
242
281
|
</div>
|
243
282
|
</div>
|
244
283
|
<div class="refsect1">
|
245
|
-
<a name="id-1.3.3.
|
284
|
+
<a name="id-1.3.3.10"></a><h2>Tag <code class="code"><keyword-char-class></code>
|
246
285
|
</h2>
|
247
286
|
<p>
|
248
287
|
Contains a regex character class used to redefine the customizable
|
@@ -255,7 +294,7 @@ Contained elements: none.
|
|
255
294
|
</p>
|
256
295
|
</div>
|
257
296
|
<div class="refsect1">
|
258
|
-
<a name="id-1.3.3.
|
297
|
+
<a name="id-1.3.3.11"></a><h2>Tag <code class="code"><default-regex-options></code>
|
259
298
|
</h2>
|
260
299
|
<p>
|
261
300
|
Used to set global options for how regular expressions are processed.
|
@@ -299,7 +338,7 @@ Defaults to <code class="code">false</code>.
|
|
299
338
|
</div>
|
300
339
|
</div>
|
301
340
|
<div class="refsect1">
|
302
|
-
<a name="id-1.3.3.
|
341
|
+
<a name="id-1.3.3.12"></a><h2>Tag <code class="code"><definitions></code>
|
303
342
|
</h2>
|
304
343
|
<p>
|
305
344
|
The element containing the real description of the syntax to be
|
@@ -320,7 +359,7 @@ Contained elements:
|
|
320
359
|
</p>
|
321
360
|
</div>
|
322
361
|
<div class="refsect1">
|
323
|
-
<a name="id-1.3.3.
|
362
|
+
<a name="id-1.3.3.13"></a><h2>Tag <code class="code"><define-regex></code>
|
324
363
|
</h2>
|
325
364
|
<p>
|
326
365
|
Defines a regular expression that can be reused inside other regular
|
@@ -373,7 +412,7 @@ hyphens ("<code class="code">-</code>") and underscores ("<code class="code">_</
|
|
373
412
|
</div>
|
374
413
|
</div>
|
375
414
|
<div class="refsect1">
|
376
|
-
<a name="id-1.3.3.
|
415
|
+
<a name="id-1.3.3.14"></a><h2>Tag <code class="code"><context></code>
|
377
416
|
</h2>
|
378
417
|
<p>
|
379
418
|
This is the most important element when describing the syntax: the file to
|
@@ -401,7 +440,7 @@ default context classes:
|
|
401
440
|
</p></li>
|
402
441
|
</ul></div>
|
403
442
|
<div class="refsect2">
|
404
|
-
<a name="id-1.3.3.
|
443
|
+
<a name="id-1.3.3.14.5"></a><h3>Simple contexts</h3>
|
405
444
|
They contain a mandatory <code class="code"><match></code> element and an optional
|
406
445
|
<code class="code"><include></code> element. The context will span over the strings
|
407
446
|
matched by the regular expression contained in the <code class="code"><match></code>
|
@@ -484,7 +523,7 @@ A space-separated list of context classes to disable.
|
|
484
523
|
</div>
|
485
524
|
<hr>
|
486
525
|
<div class="refsect2">
|
487
|
-
<a name="id-1.3.3.
|
526
|
+
<a name="id-1.3.3.14.6"></a><h3>Container contexts</h3>
|
488
527
|
They contain a <code class="code"><start></code> element and an optional
|
489
528
|
<code class="code"><end></code>. They respectively contain the regular
|
490
529
|
expression that makes the engine enter in the context and the terminating one.
|
@@ -567,7 +606,9 @@ on the first line of buffer. If not specified it defaults to <code class="code">
|
|
567
606
|
<td><p><span class="term"><code class="code">once-only</code> (optional)</span></p></td>
|
568
607
|
<td><p>
|
569
608
|
A boolean value telling the engine whether the context can occur only
|
570
|
-
once in its parent.
|
609
|
+
once in its parent. For a container context, it means that
|
610
|
+
<span class="emphasis"><em>each</em></span> included context can occur once.
|
611
|
+
If not specified it defaults to <code class="code">false</code>.
|
571
612
|
</p></td>
|
572
613
|
</tr>
|
573
614
|
<tr>
|
@@ -588,7 +629,7 @@ A space-separated list of context classes to disable.
|
|
588
629
|
</div>
|
589
630
|
<hr>
|
590
631
|
<div class="refsect2">
|
591
|
-
<a name="id-1.3.3.
|
632
|
+
<a name="id-1.3.3.14.7"></a><h3>Sub-pattern contexts</h3>
|
592
633
|
<p>
|
593
634
|
They refer to a group in a regular expression of the parent context, so it
|
594
635
|
is possible to highlight differently only a portion of the matched regular
|
@@ -648,7 +689,7 @@ A space-separated list of context classes to disable.
|
|
648
689
|
</div>
|
649
690
|
<hr>
|
650
691
|
<div class="refsect2">
|
651
|
-
<a name="id-1.3.3.
|
692
|
+
<a name="id-1.3.3.14.8"></a><h3>Reference contexts</h3>
|
652
693
|
<p>
|
653
694
|
Used to include a previously defined context.
|
654
695
|
</p>
|
@@ -702,7 +743,7 @@ has been replaced with the <code class="code"><replace></code> tag.
|
|
702
743
|
</div>
|
703
744
|
<hr>
|
704
745
|
<div class="refsect2">
|
705
|
-
<a name="id-1.3.3.
|
746
|
+
<a name="id-1.3.3.14.9"></a><h3>Keyword contexts</h3>
|
706
747
|
<p>
|
707
748
|
They contain a list of <code class="code"><keyword></code> and matches every keyword
|
708
749
|
listed. You can also put a <code class="code"><prefix></code> and/or a
|
@@ -718,12 +759,14 @@ Contained elements:
|
|
718
759
|
<span class="simplelist"><code class="code"><prefix></code> (optional), <code class="code"><suffix></code> (optional), <code class="code"><keyword></code> (one or more)</span>.
|
719
760
|
</p>
|
720
761
|
<p>
|
721
|
-
The attributes are the same used in simple contexts.
|
762
|
+
The attributes are the same used in simple contexts. If the
|
763
|
+
<code class="code">once-only</code> attribute is <code class="code">true</code>, it means that
|
764
|
+
<span class="emphasis"><em>each</em></span> keyword can occur once.
|
722
765
|
</p>
|
723
766
|
</div>
|
724
767
|
</div>
|
725
768
|
<div class="refsect1">
|
726
|
-
<a name="id-1.3.3.
|
769
|
+
<a name="id-1.3.3.15"></a><h2>Tag <code class="code"><include></code>
|
727
770
|
</h2>
|
728
771
|
<p>
|
729
772
|
Contains the list of context contained in the current
|
@@ -735,7 +778,7 @@ Contained elements:
|
|
735
778
|
</p>
|
736
779
|
</div>
|
737
780
|
<div class="refsect1">
|
738
|
-
<a name="id-1.3.3.
|
781
|
+
<a name="id-1.3.3.16"></a><h2>Tag <code class="code"><match></code>
|
739
782
|
</h2>
|
740
783
|
<p>
|
741
784
|
Contains the regular expression for the current simple context.
|
@@ -749,7 +792,7 @@ Contained elements: none.
|
|
749
792
|
</p>
|
750
793
|
</div>
|
751
794
|
<div class="refsect1">
|
752
|
-
<a name="id-1.3.3.
|
795
|
+
<a name="id-1.3.3.17"></a><h2>Tag <code class="code"><start></code>
|
753
796
|
</h2>
|
754
797
|
<p>
|
755
798
|
Contains the starting regular expression for the current container context.
|
@@ -763,7 +806,7 @@ Contained elements: none.
|
|
763
806
|
</p>
|
764
807
|
</div>
|
765
808
|
<div class="refsect1">
|
766
|
-
<a name="id-1.3.3.
|
809
|
+
<a name="id-1.3.3.18"></a><h2>Tag <code class="code"><end></code>
|
767
810
|
</h2>
|
768
811
|
<p>
|
769
812
|
Contains the terminating regular expression for the current container
|
@@ -789,7 +832,7 @@ Contained elements: none.
|
|
789
832
|
</p>
|
790
833
|
</div>
|
791
834
|
<div class="refsect1">
|
792
|
-
<a name="id-1.3.3.
|
835
|
+
<a name="id-1.3.3.19"></a><h2>Tag <code class="code"><keyword></code>
|
793
836
|
</h2>
|
794
837
|
<p>
|
795
838
|
Contains a keyword to be matched by the current context. The keyword is a
|
@@ -800,7 +843,7 @@ Contained elements: none.
|
|
800
843
|
</p>
|
801
844
|
</div>
|
802
845
|
<div class="refsect1">
|
803
|
-
<a name="id-1.3.3.
|
846
|
+
<a name="id-1.3.3.20"></a><h2>Tag <code class="code"><prefix></code>
|
804
847
|
</h2>
|
805
848
|
<p>
|
806
849
|
Contains a prefix common to all of the following keywords in the current
|
@@ -813,7 +856,7 @@ Contained elements: none.
|
|
813
856
|
</p>
|
814
857
|
</div>
|
815
858
|
<div class="refsect1">
|
816
|
-
<a name="id-1.3.3.
|
859
|
+
<a name="id-1.3.3.21"></a><h2>Tag <code class="code"><suffix></code>
|
817
860
|
</h2>
|
818
861
|
<p>
|
819
862
|
Contains a suffix common to all of the following keywords in the current
|
@@ -826,7 +869,7 @@ Contained elements: none.
|
|
826
869
|
</p>
|
827
870
|
</div>
|
828
871
|
<div class="refsect1">
|
829
|
-
<a name="id-1.3.3.
|
872
|
+
<a name="id-1.3.3.22"></a><h2>Tag <code class="code"><replace></code>
|
830
873
|
</h2>
|
831
874
|
<p>
|
832
875
|
The replace tag allows you to change one context so it functions as
|
@@ -2,11 +2,11 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>
|
5
|
+
<title>Language Definition v2.0 Tutorial: GtkSourceView 3 Reference Manual</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
|
-
<link rel="up" href="
|
9
|
-
<link rel="prev" href="
|
8
|
+
<link rel="up" href="pt02.html" title="Part II. Syntax highlighting reference">
|
9
|
+
<link rel="prev" href="pt02.html" title="Part II. Syntax highlighting reference">
|
10
10
|
<link rel="next" href="lang-reference.html" title="Language Definition v2.0 Reference">
|
11
11
|
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
@@ -15,8 +15,8 @@
|
|
15
15
|
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
16
|
<td width="100%" align="left" class="shortcuts"></td>
|
17
17
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
18
|
-
<td><a accesskey="u" href="
|
19
|
-
<td><a accesskey="p" href="
|
18
|
+
<td><a accesskey="u" href="pt02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="p" href="pt02.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
20
20
|
<td><a accesskey="n" href="lang-reference.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
21
21
|
</tr></table>
|
22
22
|
<div class="refentry">
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>GtkSourceView 3 Reference Manual
|
5
|
+
<title>Object Hierarchy: GtkSourceView 3 Reference Manual</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
8
|
<link rel="up" href="index.html" title="GtkSourceView 3 Reference Manual">
|
@@ -24,16 +24,19 @@
|
|
24
24
|
<a name="object-tree"></a>Object Hierarchy</h1></div></div></div>
|
25
25
|
<pre class="screen">
|
26
26
|
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
27
|
-
<span class="lineart">├──</span> <a href="
|
27
|
+
<span class="lineart">├──</span> <a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html">GtkTextBuffer</a>
|
28
28
|
<span class="lineart">│</span> <span class="lineart">╰──</span> <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer">GtkSourceBuffer</a>
|
29
29
|
<span class="lineart">├──</span> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
30
30
|
<span class="lineart">│</span> <span class="lineart">├──</span> <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext">GtkSourceCompletionContext</a>
|
31
|
-
<span class="lineart">│</span> <span class="lineart">├──</span> <a href="
|
32
|
-
<span class="lineart">│</span> <span class="lineart">│</span> <span class="lineart">╰──</span> <a href="
|
33
|
-
<span class="lineart">│</span> <span class="lineart">│</span> <span class="lineart">├──</span> <a href="
|
34
|
-
<span class="lineart">│</span> <span class="lineart">│</span> <span class="lineart">│</span> <span class="lineart"
|
35
|
-
<span class="lineart">│</span> <span class="lineart">│</span> <span class="lineart">│</span>
|
36
|
-
<span class="lineart">│</span> <span class="lineart">│</span> <span class="lineart"
|
31
|
+
<span class="lineart">│</span> <span class="lineart">├──</span> <a href="http://developer.gnome.org/gtk2/GtkWidget.html">GtkWidget</a>
|
32
|
+
<span class="lineart">│</span> <span class="lineart">│</span> <span class="lineart">╰──</span> <a href="http://developer.gnome.org/gtk2/GtkContainer.html">GtkContainer</a>
|
33
|
+
<span class="lineart">│</span> <span class="lineart">│</span> <span class="lineart">├──</span> <a href="http://developer.gnome.org/gtk2/GtkBin.html">GtkBin</a>
|
34
|
+
<span class="lineart">│</span> <span class="lineart">│</span> <span class="lineart">│</span> <span class="lineart">├──</span> <a href="http://developer.gnome.org/gtk2/GtkWindow.html">GtkWindow</a>
|
35
|
+
<span class="lineart">│</span> <span class="lineart">│</span> <span class="lineart">│</span> <span class="lineart">│</span> <span class="lineart">╰──</span> <a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo">GtkSourceCompletionInfo</a>
|
36
|
+
<span class="lineart">│</span> <span class="lineart">│</span> <span class="lineart">│</span> <span class="lineart">├──</span> <a href="http://developer.gnome.org/gtk2/GtkButton.html">GtkButton</a>
|
37
|
+
<span class="lineart">│</span> <span class="lineart">│</span> <span class="lineart">│</span> <span class="lineart">│</span> <span class="lineart">╰──</span> <a class="link" href="GtkSourceStyleSchemeChooserButton.html" title="GtkSourceStyleSchemeChooserButton">GtkSourceStyleSchemeChooserButton</a>
|
38
|
+
<span class="lineart">│</span> <span class="lineart">│</span> <span class="lineart">│</span> <span class="lineart">╰──</span> <a class="link" href="GtkSourceStyleSchemeChooserWidget.html" title="GtkSourceStyleSchemeChooserWidget">GtkSourceStyleSchemeChooserWidget</a>
|
39
|
+
<span class="lineart">│</span> <span class="lineart">│</span> <span class="lineart">╰──</span> <a href="http://developer.gnome.org/gtk2/GtkTextView.html">GtkTextView</a>
|
37
40
|
<span class="lineart">│</span> <span class="lineart">│</span> <span class="lineart">╰──</span> <a class="link" href="GtkSourceView.html" title="GtkSourceView">GtkSourceView</a>
|
38
41
|
<span class="lineart">│</span> <span class="lineart">╰──</span> <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer">GtkSourceGutterRenderer</a>
|
39
42
|
<span class="lineart">│</span> <span class="lineart">├──</span> <a class="link" href="GtkSourceGutterRendererPixbuf.html" title="GtkSourceGutterRendererPixbuf">GtkSourceGutterRendererPixbuf</a>
|
@@ -48,7 +51,7 @@
|
|
48
51
|
<span class="lineart">├──</span> <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage">GtkSourceLanguage</a>
|
49
52
|
<span class="lineart">├──</span> <a class="link" href="GtkSourceLanguageManager.html" title="GtkSourceLanguageManager">GtkSourceLanguageManager</a>
|
50
53
|
<span class="lineart">├──</span> <a class="link" href="GtkSourceMarkAttributes.html" title="GtkSourceMarkAttributes">GtkSourceMarkAttributes</a>
|
51
|
-
<span class="lineart">├──</span> <a href="
|
54
|
+
<span class="lineart">├──</span> <a href="http://developer.gnome.org/gtk2/GtkTextMark.html">GtkTextMark</a>
|
52
55
|
<span class="lineart">│</span> <span class="lineart">╰──</span> <a class="link" href="GtkSourceMark.html" title="GtkSourceMark">GtkSourceMark</a>
|
53
56
|
<span class="lineart">├──</span> <a class="link" href="GtkSourcePrintCompositor.html" title="GtkSourcePrintCompositor">GtkSourcePrintCompositor</a>
|
54
57
|
<span class="lineart">├──</span> <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext">GtkSourceSearchContext</a>
|
@@ -59,6 +62,7 @@
|
|
59
62
|
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
|
60
63
|
<span class="lineart">├──</span> <a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal">GtkSourceCompletionProposal</a>
|
61
64
|
<span class="lineart">├──</span> <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider">GtkSourceCompletionProvider</a>
|
65
|
+
<span class="lineart">├──</span> <a class="link" href="GtkSourceStyleSchemeChooser.html" title="GtkSourceStyleSchemeChooser">GtkSourceStyleSchemeChooser</a>
|
62
66
|
<span class="lineart">╰──</span> <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager">GtkSourceUndoManager</a>
|
63
67
|
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
|
64
68
|
<span class="lineart">╰──</span> <a class="link" href="GtkSourceEncoding.html" title="GtkSourceEncoding">GtkSourceEncoding</a>
|
@@ -0,0 +1,153 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>Part I. API reference: GtkSourceView 3 Reference Manual</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
|
+
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
|
+
<link rel="up" href="index.html" title="GtkSourceView 3 Reference Manual">
|
9
|
+
<link rel="prev" href="index.html" title="GtkSourceView 3 Reference Manual">
|
10
|
+
<link rel="next" href="ch01.html" title="Main Classes">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts"></td>
|
17
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
18
|
+
<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
|
19
|
+
<td><a accesskey="p" href="index.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
20
|
+
<td><a accesskey="n" href="ch01.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
21
|
+
</tr></table>
|
22
|
+
<div class="part">
|
23
|
+
<div class="titlepage"><div><div><h1 class="title">
|
24
|
+
<a name="id-1.2"></a>Part I. API reference</h1></div></div></div>
|
25
|
+
<div class="toc">
|
26
|
+
<p><b>Table of Contents</b></p>
|
27
|
+
<dl class="toc">
|
28
|
+
<dt><span class="chapter"><a href="ch01.html">Main Classes</a></span></dt>
|
29
|
+
<dd><dl>
|
30
|
+
<dt>
|
31
|
+
<span class="refentrytitle"><a href="GtkSourceBuffer.html">GtkSourceBuffer</a></span><span class="refpurpose"> — Stores the text for display in a GtkSourceView</span>
|
32
|
+
</dt>
|
33
|
+
<dt>
|
34
|
+
<span class="refentrytitle"><a href="GtkSourceView.html">GtkSourceView</a></span><span class="refpurpose"> — Widget that displays a GtkSourceBuffer</span>
|
35
|
+
</dt>
|
36
|
+
</dl></dd>
|
37
|
+
<dt><span class="chapter"><a href="ch02.html">Syntax Highlighting</a></span></dt>
|
38
|
+
<dd><dl>
|
39
|
+
<dt>
|
40
|
+
<span class="refentrytitle"><a href="GtkSourceLanguage.html">GtkSourceLanguage</a></span><span class="refpurpose"> — Represents a syntax highlighted language</span>
|
41
|
+
</dt>
|
42
|
+
<dt>
|
43
|
+
<span class="refentrytitle"><a href="GtkSourceLanguageManager.html">GtkSourceLanguageManager</a></span><span class="refpurpose"> — Provides access to GtkSourceLanguages</span>
|
44
|
+
</dt>
|
45
|
+
<dt>
|
46
|
+
<span class="refentrytitle"><a href="GtkSourceStyle.html">GtkSourceStyle</a></span><span class="refpurpose"> — Represents a style</span>
|
47
|
+
</dt>
|
48
|
+
<dt>
|
49
|
+
<span class="refentrytitle"><a href="GtkSourceStyleScheme.html">GtkSourceStyleScheme</a></span><span class="refpurpose"> — Controls the appearance of GtkSourceView</span>
|
50
|
+
</dt>
|
51
|
+
<dt>
|
52
|
+
<span class="refentrytitle"><a href="GtkSourceStyleSchemeManager.html">GtkSourceStyleSchemeManager</a></span><span class="refpurpose"> — Provides access to GtkSourceStyleSchemes</span>
|
53
|
+
</dt>
|
54
|
+
<dt>
|
55
|
+
<span class="refentrytitle"><a href="GtkSourceStyleSchemeChooser.html">GtkSourceStyleSchemeChooser</a></span><span class="refpurpose"> — Interface implemented by widgets for choosing style schemes</span>
|
56
|
+
</dt>
|
57
|
+
<dt>
|
58
|
+
<span class="refentrytitle"><a href="GtkSourceStyleSchemeChooserButton.html">GtkSourceStyleSchemeChooserButton</a></span><span class="refpurpose"> — A button to launch a style scheme selection dialog</span>
|
59
|
+
</dt>
|
60
|
+
<dt>
|
61
|
+
<span class="refentrytitle"><a href="GtkSourceStyleSchemeChooserWidget.html">GtkSourceStyleSchemeChooserWidget</a></span><span class="refpurpose"> — A widget for choosing style schemes</span>
|
62
|
+
</dt>
|
63
|
+
</dl></dd>
|
64
|
+
<dt><span class="chapter"><a href="ch03.html">Completion</a></span></dt>
|
65
|
+
<dd><dl>
|
66
|
+
<dt>
|
67
|
+
<span class="refentrytitle"><a href="GtkSourceCompletion.html">GtkSourceCompletion</a></span><span class="refpurpose"> — Main Completion Object</span>
|
68
|
+
</dt>
|
69
|
+
<dt>
|
70
|
+
<span class="refentrytitle"><a href="GtkSourceCompletionContext.html">GtkSourceCompletionContext</a></span><span class="refpurpose"> — The context of a completion</span>
|
71
|
+
</dt>
|
72
|
+
<dt>
|
73
|
+
<span class="refentrytitle"><a href="GtkSourceCompletionInfo.html">GtkSourceCompletionInfo</a></span><span class="refpurpose"> — Calltips object</span>
|
74
|
+
</dt>
|
75
|
+
<dt>
|
76
|
+
<span class="refentrytitle"><a href="GtkSourceCompletionItem.html">GtkSourceCompletionItem</a></span><span class="refpurpose"> — Simple implementation of GtkSourceCompletionProposal</span>
|
77
|
+
</dt>
|
78
|
+
<dt>
|
79
|
+
<span class="refentrytitle"><a href="GtkSourceCompletionProposal.html">GtkSourceCompletionProposal</a></span><span class="refpurpose"> — Completion proposal interface</span>
|
80
|
+
</dt>
|
81
|
+
<dt>
|
82
|
+
<span class="refentrytitle"><a href="GtkSourceCompletionProvider.html">GtkSourceCompletionProvider</a></span><span class="refpurpose"> — Completion provider interface</span>
|
83
|
+
</dt>
|
84
|
+
<dt>
|
85
|
+
<span class="refentrytitle"><a href="GtkSourceCompletionWords.html">GtkSourceCompletionWords</a></span><span class="refpurpose"> — A GtkSourceCompletionProvider for the completion of words</span>
|
86
|
+
</dt>
|
87
|
+
</dl></dd>
|
88
|
+
<dt><span class="chapter"><a href="ch04.html">File Loading and Saving</a></span></dt>
|
89
|
+
<dd><dl>
|
90
|
+
<dt>
|
91
|
+
<span class="refentrytitle"><a href="GtkSourceEncoding.html">GtkSourceEncoding</a></span><span class="refpurpose"> — Character encoding</span>
|
92
|
+
</dt>
|
93
|
+
<dt>
|
94
|
+
<span class="refentrytitle"><a href="GtkSourceFile.html">GtkSourceFile</a></span><span class="refpurpose"> — On-disk representation of a GtkSourceBuffer</span>
|
95
|
+
</dt>
|
96
|
+
<dt>
|
97
|
+
<span class="refentrytitle"><a href="GtkSourceFileLoader.html">GtkSourceFileLoader</a></span><span class="refpurpose"> — Load a file into a GtkSourceBuffer</span>
|
98
|
+
</dt>
|
99
|
+
<dt>
|
100
|
+
<span class="refentrytitle"><a href="GtkSourceFileSaver.html">GtkSourceFileSaver</a></span><span class="refpurpose"> — Save a GtkSourceBuffer into a file</span>
|
101
|
+
</dt>
|
102
|
+
</dl></dd>
|
103
|
+
<dt><span class="chapter"><a href="ch05.html">Gutter and Marks</a></span></dt>
|
104
|
+
<dd><dl>
|
105
|
+
<dt>
|
106
|
+
<span class="refentrytitle"><a href="GtkSourceGutter.html">GtkSourceGutter</a></span><span class="refpurpose"> — Gutter object for GtkSourceView</span>
|
107
|
+
</dt>
|
108
|
+
<dt>
|
109
|
+
<span class="refentrytitle"><a href="GtkSourceGutterRenderer.html">GtkSourceGutterRenderer</a></span><span class="refpurpose"> — Gutter cell renderer</span>
|
110
|
+
</dt>
|
111
|
+
<dt>
|
112
|
+
<span class="refentrytitle"><a href="GtkSourceGutterRendererPixbuf.html">GtkSourceGutterRendererPixbuf</a></span><span class="refpurpose"> — Renders a pixbuf in the gutter</span>
|
113
|
+
</dt>
|
114
|
+
<dt>
|
115
|
+
<span class="refentrytitle"><a href="GtkSourceGutterRendererText.html">GtkSourceGutterRendererText</a></span><span class="refpurpose"> — Renders text in the gutter</span>
|
116
|
+
</dt>
|
117
|
+
<dt>
|
118
|
+
<span class="refentrytitle"><a href="GtkSourceMark.html">GtkSourceMark</a></span><span class="refpurpose"> — Mark object for GtkSourceBuffer</span>
|
119
|
+
</dt>
|
120
|
+
<dt>
|
121
|
+
<span class="refentrytitle"><a href="GtkSourceMarkAttributes.html">GtkSourceMarkAttributes</a></span><span class="refpurpose"> — The source mark attributes object</span>
|
122
|
+
</dt>
|
123
|
+
</dl></dd>
|
124
|
+
<dt><span class="chapter"><a href="ch06.html">Printing</a></span></dt>
|
125
|
+
<dd><dl><dt>
|
126
|
+
<span class="refentrytitle"><a href="GtkSourcePrintCompositor.html">GtkSourcePrintCompositor</a></span><span class="refpurpose"> — Compose a GtkSourceBuffer for printing</span>
|
127
|
+
</dt></dl></dd>
|
128
|
+
<dt><span class="chapter"><a href="ch07.html">Search and Replace</a></span></dt>
|
129
|
+
<dd><dl>
|
130
|
+
<dt>
|
131
|
+
<span class="refentrytitle"><a href="GtkSourceSearchContext.html">GtkSourceSearchContext</a></span><span class="refpurpose"> — Search context</span>
|
132
|
+
</dt>
|
133
|
+
<dt>
|
134
|
+
<span class="refentrytitle"><a href="GtkSourceSearchSettings.html">GtkSourceSearchSettings</a></span><span class="refpurpose"> — Search settings</span>
|
135
|
+
</dt>
|
136
|
+
</dl></dd>
|
137
|
+
<dt><span class="chapter"><a href="ch08.html">Others</a></span></dt>
|
138
|
+
<dd><dl>
|
139
|
+
<dt>
|
140
|
+
<span class="refentrytitle"><a href="GtkSourceUndoManager.html">GtkSourceUndoManager</a></span><span class="refpurpose"> — Undo manager interface for GtkSourceView</span>
|
141
|
+
</dt>
|
142
|
+
<dt>
|
143
|
+
<span class="refentrytitle"><a href="gtksourceview-3.0-GtkSourceUtils.html">GtkSourceUtils</a></span><span class="refpurpose"> — Utilities functions</span>
|
144
|
+
</dt>
|
145
|
+
</dl></dd>
|
146
|
+
</dl>
|
147
|
+
</div>
|
148
|
+
</div>
|
149
|
+
<div class="footer">
|
150
|
+
<hr>
|
151
|
+
Generated by GTK-Doc V1.21.1</div>
|
152
|
+
</body>
|
153
|
+
</html>
|
@@ -0,0 +1,50 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>Part II. Syntax highlighting reference: GtkSourceView 3 Reference Manual</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
|
+
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
|
+
<link rel="up" href="index.html" title="GtkSourceView 3 Reference Manual">
|
9
|
+
<link rel="prev" href="gtksourceview-3.0-GtkSourceUtils.html" title="GtkSourceUtils">
|
10
|
+
<link rel="next" href="lang-tutorial.html" title="Language Definition v2.0 Tutorial">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts"></td>
|
17
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
18
|
+
<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
|
19
|
+
<td><a accesskey="p" href="gtksourceview-3.0-GtkSourceUtils.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
20
|
+
<td><a accesskey="n" href="lang-tutorial.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
21
|
+
</tr></table>
|
22
|
+
<div class="part">
|
23
|
+
<div class="titlepage"><div><div><h1 class="title">
|
24
|
+
<a name="id-1.3"></a>Part II. Syntax highlighting reference</h1></div></div></div>
|
25
|
+
<div class="toc">
|
26
|
+
<p><b>Table of Contents</b></p>
|
27
|
+
<dl class="toc">
|
28
|
+
<dt>
|
29
|
+
<span class="refentrytitle"><a href="lang-tutorial.html">Language Definition v2.0 Tutorial</a></span><span class="refpurpose"> —
|
30
|
+
Guide to the GtkSourceView language definition file format
|
31
|
+
</span>
|
32
|
+
</dt>
|
33
|
+
<dt>
|
34
|
+
<span class="refentrytitle"><a href="lang-reference.html">Language Definition v2.0 Reference</a></span><span class="refpurpose"> —
|
35
|
+
Reference to the GtkSourceView language definition file format
|
36
|
+
</span>
|
37
|
+
</dt>
|
38
|
+
<dt>
|
39
|
+
<span class="refentrytitle"><a href="style-reference.html">Style Scheme Definition Reference</a></span><span class="refpurpose"> —
|
40
|
+
Reference to the GtkSourceView style scheme definition file format
|
41
|
+
</span>
|
42
|
+
</dt>
|
43
|
+
</dl>
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
<div class="footer">
|
47
|
+
<hr>
|
48
|
+
Generated by GTK-Doc V1.21.1</div>
|
49
|
+
</body>
|
50
|
+
</html>
|
@@ -2,10 +2,10 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>
|
5
|
+
<title>Style Scheme Definition Reference: GtkSourceView 3 Reference Manual</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
|
-
<link rel="up" href="
|
8
|
+
<link rel="up" href="pt02.html" title="Part II. Syntax highlighting reference">
|
9
9
|
<link rel="prev" href="lang-reference.html" title="Language Definition v2.0 Reference">
|
10
10
|
<link rel="next" href="object-tree.html" title="Object Hierarchy">
|
11
11
|
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
16
|
<td width="100%" align="left" class="shortcuts"></td>
|
17
17
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
18
|
-
<td><a accesskey="u" href="
|
18
|
+
<td><a accesskey="u" href="pt02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
19
19
|
<td><a accesskey="p" href="lang-reference.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
20
20
|
<td><a accesskey="n" href="object-tree.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
21
21
|
</tr></table>
|