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>GtkSourceView 3 Reference Manual
|
5
|
+
<title>GtkSourceCompletionProposal: 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="ch03.html" title="Completion">
|
9
9
|
<link rel="prev" href="GtkSourceCompletionItem.html" title="GtkSourceCompletionItem">
|
10
10
|
<link rel="next" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider">
|
11
11
|
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
@@ -22,7 +22,7 @@
|
|
22
22
|
<a href="#GtkSourceCompletionProposal.signals" class="shortcut">Signals</a></span>
|
23
23
|
</td>
|
24
24
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
25
|
-
<td><a accesskey="u" href="
|
25
|
+
<td><a accesskey="u" href="ch03.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
26
26
|
<td><a accesskey="p" href="GtkSourceCompletionItem.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
27
27
|
<td><a accesskey="n" href="GtkSourceCompletionProvider.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
28
28
|
</tr></table>
|
@@ -121,7 +121,7 @@
|
|
121
121
|
<tbody><tr>
|
122
122
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
123
123
|
<td class="signal_name"><a class="link" href="GtkSourceCompletionProposal.html#GtkSourceCompletionProposal-changed" title="The “changed” signal">changed</a></td>
|
124
|
-
<td class="signal_flags">Action</td>
|
124
|
+
<td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></td>
|
125
125
|
</tr></tbody>
|
126
126
|
</table></div>
|
127
127
|
</div>
|
@@ -186,7 +186,7 @@ plain text. If you need any markup (such as bold or italic text), you have
|
|
186
186
|
to implement <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-markup" title="gtk_source_completion_proposal_get_markup ()"><code class="function">gtk_source_completion_proposal_get_markup()</code></a>. The returned string
|
187
187
|
must be freed with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
188
188
|
<div class="refsect3">
|
189
|
-
<a name="id-1.2.
|
189
|
+
<a name="id-1.2.4.6.11.2.5"></a><h4>Parameters</h4>
|
190
190
|
<div class="informaltable"><table width="100%" border="0">
|
191
191
|
<colgroup>
|
192
192
|
<col width="150px" class="parameters_name">
|
@@ -201,7 +201,7 @@ must be freed with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/s
|
|
201
201
|
</table></div>
|
202
202
|
</div>
|
203
203
|
<div class="refsect3">
|
204
|
-
<a name="id-1.2.
|
204
|
+
<a name="id-1.2.4.6.11.2.6"></a><h4>Returns</h4>
|
205
205
|
<p> a new string containing the label of <em class="parameter"><code>proposal</code></em>
|
206
206
|
.</p>
|
207
207
|
<p></p>
|
@@ -219,7 +219,7 @@ proposals and may contain markup. This will be used instead of
|
|
219
219
|
<a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-label" title="gtk_source_completion_proposal_get_label ()"><code class="function">gtk_source_completion_proposal_get_label()</code></a> if implemented. The returned string
|
220
220
|
must be freed with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
221
221
|
<div class="refsect3">
|
222
|
-
<a name="id-1.2.
|
222
|
+
<a name="id-1.2.4.6.11.3.5"></a><h4>Parameters</h4>
|
223
223
|
<div class="informaltable"><table width="100%" border="0">
|
224
224
|
<colgroup>
|
225
225
|
<col width="150px" class="parameters_name">
|
@@ -234,7 +234,7 @@ must be freed with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/s
|
|
234
234
|
</table></div>
|
235
235
|
</div>
|
236
236
|
<div class="refsect3">
|
237
|
-
<a name="id-1.2.
|
237
|
+
<a name="id-1.2.4.6.11.3.6"></a><h4>Returns</h4>
|
238
238
|
<p> a new string containing the label of <em class="parameter"><code>proposal</code></em>
|
239
239
|
with markup.</p>
|
240
240
|
<p></p>
|
@@ -254,7 +254,7 @@ not implement this function. For more information, see
|
|
254
254
|
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-activate-proposal" title="gtk_source_completion_provider_activate_proposal ()"><code class="function">gtk_source_completion_provider_activate_proposal()</code></a>. The returned string must
|
255
255
|
be freed with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
256
256
|
<div class="refsect3">
|
257
|
-
<a name="id-1.2.
|
257
|
+
<a name="id-1.2.4.6.11.4.5"></a><h4>Parameters</h4>
|
258
258
|
<div class="informaltable"><table width="100%" border="0">
|
259
259
|
<colgroup>
|
260
260
|
<col width="150px" class="parameters_name">
|
@@ -269,7 +269,7 @@ be freed with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/
|
|
269
269
|
</table></div>
|
270
270
|
</div>
|
271
271
|
<div class="refsect3">
|
272
|
-
<a name="id-1.2.
|
272
|
+
<a name="id-1.2.4.6.11.4.6"></a><h4>Returns</h4>
|
273
273
|
<p> a new string containing the text of <em class="parameter"><code>proposal</code></em>
|
274
274
|
.</p>
|
275
275
|
<p></p>
|
@@ -284,7 +284,7 @@ gtk_source_completion_proposal_get_icon
|
|
284
284
|
<p>Gets the icon of <em class="parameter"><code>proposal</code></em>
|
285
285
|
.</p>
|
286
286
|
<div class="refsect3">
|
287
|
-
<a name="id-1.2.
|
287
|
+
<a name="id-1.2.4.6.11.5.5"></a><h4>Parameters</h4>
|
288
288
|
<div class="informaltable"><table width="100%" border="0">
|
289
289
|
<colgroup>
|
290
290
|
<col width="150px" class="parameters_name">
|
@@ -299,7 +299,7 @@ gtk_source_completion_proposal_get_icon
|
|
299
299
|
</table></div>
|
300
300
|
</div>
|
301
301
|
<div class="refsect3">
|
302
|
-
<a name="id-1.2.
|
302
|
+
<a name="id-1.2.4.6.11.5.6"></a><h4>Returns</h4>
|
303
303
|
<p> The icon of <em class="parameter"><code>proposal</code></em>
|
304
304
|
. </p>
|
305
305
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
@@ -315,7 +315,7 @@ gtk_source_completion_proposal_get_info
|
|
315
315
|
used to present the user with extra, detailed information about the
|
316
316
|
selected proposal. The returned string must be freed with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
317
317
|
<div class="refsect3">
|
318
|
-
<a name="id-1.2.
|
318
|
+
<a name="id-1.2.4.6.11.6.5"></a><h4>Parameters</h4>
|
319
319
|
<div class="informaltable"><table width="100%" border="0">
|
320
320
|
<colgroup>
|
321
321
|
<col width="150px" class="parameters_name">
|
@@ -330,7 +330,7 @@ selected proposal. The returned string must be freed with <a href="/home/vagrant
|
|
330
330
|
</table></div>
|
331
331
|
</div>
|
332
332
|
<div class="refsect3">
|
333
|
-
<a name="id-1.2.
|
333
|
+
<a name="id-1.2.4.6.11.6.6"></a><h4>Returns</h4>
|
334
334
|
<p> a new string containing extra information of <em class="parameter"><code>proposal</code></em>
|
335
335
|
or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
336
336
|
no extra information is associated to <em class="parameter"><code>proposal</code></em>
|
@@ -349,7 +349,7 @@ gtk_source_completion_proposal_changed
|
|
349
349
|
implementations whenever the name, icon or info of the proposal has
|
350
350
|
changed.</p>
|
351
351
|
<div class="refsect3">
|
352
|
-
<a name="id-1.2.
|
352
|
+
<a name="id-1.2.4.6.11.7.5"></a><h4>Parameters</h4>
|
353
353
|
<div class="informaltable"><table width="100%" border="0">
|
354
354
|
<colgroup>
|
355
355
|
<col width="150px" class="parameters_name">
|
@@ -374,7 +374,7 @@ gtk_source_completion_proposal_hash (<em class="parameter"><code><a class="link"
|
|
374
374
|
<a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-equal" title="gtk_source_completion_proposal_equal ()"><code class="function">gtk_source_completion_proposal_equal()</code></a>) to match proposals in the completion
|
375
375
|
model. By default, it uses a direct hash (<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html#g-direct-hash"><code class="function">g_direct_hash()</code></a>).</p>
|
376
376
|
<div class="refsect3">
|
377
|
-
<a name="id-1.2.
|
377
|
+
<a name="id-1.2.4.6.11.8.5"></a><h4>Parameters</h4>
|
378
378
|
<div class="informaltable"><table width="100%" border="0">
|
379
379
|
<colgroup>
|
380
380
|
<col width="150px" class="parameters_name">
|
@@ -389,7 +389,7 @@ model. By default, it uses a direct hash (<a href="/home/vagrant/ruby-gnome2.win
|
|
389
389
|
</table></div>
|
390
390
|
</div>
|
391
391
|
<div class="refsect3">
|
392
|
-
<a name="id-1.2.
|
392
|
+
<a name="id-1.2.4.6.11.8.6"></a><h4>Returns</h4>
|
393
393
|
<p> The hash value of <em class="parameter"><code>proposal</code></em>
|
394
394
|
.</p>
|
395
395
|
<p></p>
|
@@ -405,7 +405,7 @@ gtk_source_completion_proposal_equal (<em class="parameter"><code><a class="link
|
|
405
405
|
with <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-hash" title="gtk_source_completion_proposal_hash ()"><code class="function">gtk_source_completion_proposal_hash()</code></a>) to match proposals in the
|
406
406
|
completion model. By default, it uses direct equality (<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html#g-direct-equal"><code class="function">g_direct_equal()</code></a>).</p>
|
407
407
|
<div class="refsect3">
|
408
|
-
<a name="id-1.2.
|
408
|
+
<a name="id-1.2.4.6.11.9.5"></a><h4>Parameters</h4>
|
409
409
|
<div class="informaltable"><table width="100%" border="0">
|
410
410
|
<colgroup>
|
411
411
|
<col width="150px" class="parameters_name">
|
@@ -427,7 +427,7 @@ completion model. By default, it uses direct equality (<a href="/home/vagrant/ru
|
|
427
427
|
</table></div>
|
428
428
|
</div>
|
429
429
|
<div class="refsect3">
|
430
|
-
<a name="id-1.2.
|
430
|
+
<a name="id-1.2.4.6.11.9.6"></a><h4>Returns</h4>
|
431
431
|
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>proposal</code></em>
|
432
432
|
and <em class="parameter"><code>object</code></em>
|
433
433
|
are the same proposal</p>
|
@@ -465,7 +465,7 @@ are the same proposal</p>
|
|
465
465
|
</pre>
|
466
466
|
<p>The virtual function table for <a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a>.</p>
|
467
467
|
<div class="refsect3">
|
468
|
-
<a name="id-1.2.
|
468
|
+
<a name="id-1.2.4.6.12.3.5"></a><h4>Members</h4>
|
469
469
|
<div class="informaltable"><table width="100%" border="0">
|
470
470
|
<colgroup>
|
471
471
|
<col width="300px" class="struct_members_name">
|
@@ -540,7 +540,7 @@ user_function (<a class="link" href="GtkSourceCompletionProposal.html" title="Gt
|
|
540
540
|
<p>Emitted when the proposal has changed. The completion popup
|
541
541
|
will react to this by updating the shown information.</p>
|
542
542
|
<div class="refsect3">
|
543
|
-
<a name="id-1.2.
|
543
|
+
<a name="id-1.2.4.6.13.2.5"></a><h4>Parameters</h4>
|
544
544
|
<div class="informaltable"><table width="100%" border="0">
|
545
545
|
<colgroup>
|
546
546
|
<col width="150px" class="parameters_name">
|
@@ -561,7 +561,7 @@ will react to this by updating the shown information.</p>
|
|
561
561
|
</tbody>
|
562
562
|
</table></div>
|
563
563
|
</div>
|
564
|
-
<p>Flags: Action</p>
|
564
|
+
<p>Flags: <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></p>
|
565
565
|
</div>
|
566
566
|
</div>
|
567
567
|
</div>
|
@@ -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>GtkSourceView 3 Reference Manual
|
5
|
+
<title>GtkSourceCompletionProvider: 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="ch03.html" title="Completion">
|
9
9
|
<link rel="prev" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal">
|
10
10
|
<link rel="next" href="GtkSourceCompletionWords.html" title="GtkSourceCompletionWords">
|
11
11
|
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
@@ -21,7 +21,7 @@
|
|
21
21
|
<a href="#GtkSourceCompletionProvider.implementations" class="shortcut">Known Implementations</a></span>
|
22
22
|
</td>
|
23
23
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
24
|
-
<td><a accesskey="u" href="
|
24
|
+
<td><a accesskey="u" href="ch03.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
25
25
|
<td><a accesskey="p" href="GtkSourceCompletionProposal.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
26
26
|
<td><a accesskey="n" href="GtkSourceCompletionWords.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
27
27
|
</tr></table>
|
@@ -84,7 +84,7 @@
|
|
84
84
|
</tr>
|
85
85
|
<tr>
|
86
86
|
<td class="function_type">
|
87
|
-
<a href="
|
87
|
+
<a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
88
88
|
</td>
|
89
89
|
<td class="function_name">
|
90
90
|
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-info-widget" title="gtk_source_completion_provider_get_info_widget ()">gtk_source_completion_provider_get_info_widget</a> <span class="c_punctuation">()</span>
|
@@ -190,7 +190,7 @@ gtk_source_completion_provider_get_name
|
|
190
190
|
display to the user. For example: _("Document word completion provider"). The
|
191
191
|
returned string must be freed with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
192
192
|
<div class="refsect3">
|
193
|
-
<a name="id-1.2.
|
193
|
+
<a name="id-1.2.4.7.10.2.5"></a><h4>Parameters</h4>
|
194
194
|
<div class="informaltable"><table width="100%" border="0">
|
195
195
|
<colgroup>
|
196
196
|
<col width="150px" class="parameters_name">
|
@@ -205,7 +205,7 @@ returned string must be freed with <a href="/home/vagrant/ruby-gnome2.win64/glib
|
|
205
205
|
</table></div>
|
206
206
|
</div>
|
207
207
|
<div class="refsect3">
|
208
|
-
<a name="id-1.2.
|
208
|
+
<a name="id-1.2.4.7.10.2.6"></a><h4>Returns</h4>
|
209
209
|
<p> a new string containing the name of the provider.</p>
|
210
210
|
<p></p>
|
211
211
|
</div>
|
@@ -218,7 +218,7 @@ gtk_source_completion_provider_get_icon
|
|
218
218
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>);</pre>
|
219
219
|
<p>Get the icon of the provider.</p>
|
220
220
|
<div class="refsect3">
|
221
|
-
<a name="id-1.2.
|
221
|
+
<a name="id-1.2.4.7.10.3.5"></a><h4>Parameters</h4>
|
222
222
|
<div class="informaltable"><table width="100%" border="0">
|
223
223
|
<colgroup>
|
224
224
|
<col width="150px" class="parameters_name">
|
@@ -233,7 +233,7 @@ gtk_source_completion_provider_get_icon
|
|
233
233
|
</table></div>
|
234
234
|
</div>
|
235
235
|
<div class="refsect3">
|
236
|
-
<a name="id-1.2.
|
236
|
+
<a name="id-1.2.4.7.10.3.6"></a><h4>Returns</h4>
|
237
237
|
<p> The icon to be used for the provider,
|
238
238
|
or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the provider does not have a special icon. </p>
|
239
239
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
@@ -251,7 +251,7 @@ gtk_source_completion_provider_populate
|
|
251
251
|
added with the
|
252
252
|
<a class="link" href="GtkSourceCompletionContext.html#gtk-source-completion-context-add-proposals" title="gtk_source_completion_context_add_proposals ()"><code class="function">gtk_source_completion_context_add_proposals()</code></a> function.</p>
|
253
253
|
<div class="refsect3">
|
254
|
-
<a name="id-1.2.
|
254
|
+
<a name="id-1.2.4.7.10.4.5"></a><h4>Parameters</h4>
|
255
255
|
<div class="informaltable"><table width="100%" border="0">
|
256
256
|
<colgroup>
|
257
257
|
<col width="150px" class="parameters_name">
|
@@ -281,7 +281,7 @@ gtk_source_completion_provider_get_activation
|
|
281
281
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>);</pre>
|
282
282
|
<p>Get with what kind of activation the provider should be activated.</p>
|
283
283
|
<div class="refsect3">
|
284
|
-
<a name="id-1.2.
|
284
|
+
<a name="id-1.2.4.7.10.5.5"></a><h4>Parameters</h4>
|
285
285
|
<div class="informaltable"><table width="100%" border="0">
|
286
286
|
<colgroup>
|
287
287
|
<col width="150px" class="parameters_name">
|
@@ -296,7 +296,7 @@ gtk_source_completion_provider_get_activation
|
|
296
296
|
</table></div>
|
297
297
|
</div>
|
298
298
|
<div class="refsect3">
|
299
|
-
<a name="id-1.2.
|
299
|
+
<a name="id-1.2.4.7.10.5.6"></a><h4>Returns</h4>
|
300
300
|
<p> a combination of <a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="type">GtkSourceCompletionActivation</span></a>.</p>
|
301
301
|
<p></p>
|
302
302
|
</div>
|
@@ -311,7 +311,7 @@ gtk_source_completion_provider_match (<em class="parameter"><code><a class="link
|
|
311
311
|
<em class="parameter"><code>context</code></em>
|
312
312
|
.</p>
|
313
313
|
<div class="refsect3">
|
314
|
-
<a name="id-1.2.
|
314
|
+
<a name="id-1.2.4.7.10.6.5"></a><h4>Parameters</h4>
|
315
315
|
<div class="informaltable"><table width="100%" border="0">
|
316
316
|
<colgroup>
|
317
317
|
<col width="150px" class="parameters_name">
|
@@ -333,7 +333,7 @@ gtk_source_completion_provider_match (<em class="parameter"><code><a class="link
|
|
333
333
|
</table></div>
|
334
334
|
</div>
|
335
335
|
<div class="refsect3">
|
336
|
-
<a name="id-1.2.
|
336
|
+
<a name="id-1.2.4.7.10.6.6"></a><h4>Returns</h4>
|
337
337
|
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>provider</code></em>
|
338
338
|
matches the completion context, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
339
339
|
<p></p>
|
@@ -342,7 +342,7 @@ matches the completion context, <a href="/home/vagrant/ruby-gnome2.win64/glib2/v
|
|
342
342
|
<hr>
|
343
343
|
<div class="refsect2">
|
344
344
|
<a name="gtk-source-completion-provider-get-info-widget"></a><h3>gtk_source_completion_provider_get_info_widget ()</h3>
|
345
|
-
<pre class="programlisting"><a href="
|
345
|
+
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
346
346
|
gtk_source_completion_provider_get_info_widget
|
347
347
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
348
348
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>);</pre>
|
@@ -351,15 +351,15 @@ This allows for customized widgets on a proposal basis, although in general
|
|
351
351
|
providers will have the same custom widget for all their proposals and
|
352
352
|
<em class="parameter"><code>proposal</code></em>
|
353
353
|
can be ignored. The implementation of this function is optional.</p>
|
354
|
-
<p>If this function is not implemented, the default widget is a <a href="
|
354
|
+
<p>If this function is not implemented, the default widget is a <a href="http://developer.gnome.org/gtk2/GtkLabel.html"><span class="type">GtkLabel</span></a>. The
|
355
355
|
return value of <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-info" title="gtk_source_completion_proposal_get_info ()"><code class="function">gtk_source_completion_proposal_get_info()</code></a> is used as the
|
356
|
-
content of the <a href="
|
356
|
+
content of the <a href="http://developer.gnome.org/gtk2/GtkLabel.html"><span class="type">GtkLabel</span></a>.</p>
|
357
357
|
<div class="note"><p>
|
358
358
|
If implemented, <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-update-info" title="gtk_source_completion_provider_update_info ()"><code class="function">gtk_source_completion_provider_update_info()</code></a>
|
359
359
|
<span class="emphasis"><em>must</em></span> also be implemented.
|
360
360
|
</p></div>
|
361
361
|
<div class="refsect3">
|
362
|
-
<a name="id-1.2.
|
362
|
+
<a name="id-1.2.4.7.10.7.7"></a><h4>Parameters</h4>
|
363
363
|
<div class="informaltable"><table width="100%" border="0">
|
364
364
|
<colgroup>
|
365
365
|
<col width="150px" class="parameters_name">
|
@@ -381,8 +381,8 @@ content of the <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkLabel.html"><span
|
|
381
381
|
</table></div>
|
382
382
|
</div>
|
383
383
|
<div class="refsect3">
|
384
|
-
<a name="id-1.2.
|
385
|
-
<p> a custom <a href="
|
384
|
+
<a name="id-1.2.4.7.10.7.8"></a><h4>Returns</h4>
|
385
|
+
<p> a custom <a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="type">GtkWidget</span></a> to show extra
|
386
386
|
information about <em class="parameter"><code>proposal</code></em>
|
387
387
|
, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the provider does not have a special
|
388
388
|
info widget. </p>
|
@@ -405,7 +405,7 @@ gtk_source_completion_provider_update_info
|
|
405
405
|
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-info-widget" title="gtk_source_completion_provider_get_info_widget ()"><code class="function">gtk_source_completion_provider_get_info_widget()</code></a> is implemented.
|
406
406
|
</p></div>
|
407
407
|
<div class="refsect3">
|
408
|
-
<a name="id-1.2.
|
408
|
+
<a name="id-1.2.4.7.10.8.6"></a><h4>Parameters</h4>
|
409
409
|
<div class="informaltable"><table width="100%" border="0">
|
410
410
|
<colgroup>
|
411
411
|
<col width="150px" class="parameters_name">
|
@@ -440,8 +440,8 @@ gtk_source_completion_provider_get_start_iter
|
|
440
440
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
441
441
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>,
|
442
442
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>,
|
443
|
-
<em class="parameter"><code><a href="
|
444
|
-
<p>Get the <a href="
|
443
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
444
|
+
<p>Get the <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> at which the completion for <em class="parameter"><code>proposal</code></em>
|
445
445
|
starts. When
|
446
446
|
implemented, this information is used to position the completion window
|
447
447
|
accordingly when a proposal is selected in the completion window. The
|
@@ -457,7 +457,7 @@ for an explanation on the word boundaries.</p>
|
|
457
457
|
of the word to replace. See
|
458
458
|
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-activate-proposal" title="gtk_source_completion_provider_activate_proposal ()"><code class="function">gtk_source_completion_provider_activate_proposal()</code></a> for more information.</p>
|
459
459
|
<div class="refsect3">
|
460
|
-
<a name="id-1.2.
|
460
|
+
<a name="id-1.2.4.7.10.9.7"></a><h4>Parameters</h4>
|
461
461
|
<div class="informaltable"><table width="100%" border="0">
|
462
462
|
<colgroup>
|
463
463
|
<col width="150px" class="parameters_name">
|
@@ -482,14 +482,14 @@ of the word to replace. See
|
|
482
482
|
</tr>
|
483
483
|
<tr>
|
484
484
|
<td class="parameter_name"><p>iter</p></td>
|
485
|
-
<td class="parameter_description"><p>a <a href="
|
486
|
-
<td class="parameter_annotations">
|
485
|
+
<td class="parameter_description"><p> a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>. </p></td>
|
486
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
487
487
|
</tr>
|
488
488
|
</tbody>
|
489
489
|
</table></div>
|
490
490
|
</div>
|
491
491
|
<div class="refsect3">
|
492
|
-
<a name="id-1.2.
|
492
|
+
<a name="id-1.2.4.7.10.9.8"></a><h4>Returns</h4>
|
493
493
|
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>iter</code></em>
|
494
494
|
was set for <em class="parameter"><code>proposal</code></em>
|
495
495
|
, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
@@ -503,7 +503,7 @@ was set for <em class="parameter"><code>proposal</code></em>
|
|
503
503
|
gtk_source_completion_provider_activate_proposal
|
504
504
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
505
505
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>,
|
506
|
-
<em class="parameter"><code><a href="
|
506
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
507
507
|
<p>Activate <em class="parameter"><code>proposal</code></em>
|
508
508
|
at <em class="parameter"><code>iter</code></em>
|
509
509
|
. When this functions returns <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, the default
|
@@ -521,7 +521,7 @@ on whether a start iter is defined for <em class="parameter"><code>proposal</cod
|
|
521
521
|
the start of the word is the start iter. Else, the word (as long as possible)
|
522
522
|
will contain only alphanumerical and the "_" characters.</p>
|
523
523
|
<div class="refsect3">
|
524
|
-
<a name="id-1.2.
|
524
|
+
<a name="id-1.2.4.7.10.10.6"></a><h4>Parameters</h4>
|
525
525
|
<div class="informaltable"><table width="100%" border="0">
|
526
526
|
<colgroup>
|
527
527
|
<col width="150px" class="parameters_name">
|
@@ -541,14 +541,14 @@ will contain only alphanumerical and the "_" characters.</p>
|
|
541
541
|
</tr>
|
542
542
|
<tr>
|
543
543
|
<td class="parameter_name"><p>iter</p></td>
|
544
|
-
<td class="parameter_description"><p>a <a href="
|
544
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</p></td>
|
545
545
|
<td class="parameter_annotations"> </td>
|
546
546
|
</tr>
|
547
547
|
</tbody>
|
548
548
|
</table></div>
|
549
549
|
</div>
|
550
550
|
<div class="refsect3">
|
551
|
-
<a name="id-1.2.
|
551
|
+
<a name="id-1.2.4.7.10.10.7"></a><h4>Returns</h4>
|
552
552
|
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to indicate that the proposal activation has been handled,
|
553
553
|
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
554
554
|
<p></p>
|
@@ -564,7 +564,7 @@ gtk_source_completion_provider_get_interactive_delay
|
|
564
564
|
this provider. A value of -1 indicates to use the default value as set
|
565
565
|
by the <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--auto-complete-delay" title="The “auto-complete-delay” property"><span class="type">“auto-complete-delay”</span></a> property.</p>
|
566
566
|
<div class="refsect3">
|
567
|
-
<a name="id-1.2.
|
567
|
+
<a name="id-1.2.4.7.10.11.5"></a><h4>Parameters</h4>
|
568
568
|
<div class="informaltable"><table width="100%" border="0">
|
569
569
|
<colgroup>
|
570
570
|
<col width="150px" class="parameters_name">
|
@@ -579,7 +579,7 @@ by the <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--auto-
|
|
579
579
|
</table></div>
|
580
580
|
</div>
|
581
581
|
<div class="refsect3">
|
582
|
-
<a name="id-1.2.
|
582
|
+
<a name="id-1.2.4.7.10.11.6"></a><h4>Returns</h4>
|
583
583
|
<p> the interactive delay in milliseconds.</p>
|
584
584
|
<p></p>
|
585
585
|
</div>
|
@@ -594,7 +594,7 @@ gtk_source_completion_provider_get_priority
|
|
594
594
|
proposals appear in the completion popup. Higher priorities are sorted
|
595
595
|
before lower priorities. The default priority is 0.</p>
|
596
596
|
<div class="refsect3">
|
597
|
-
<a name="id-1.2.
|
597
|
+
<a name="id-1.2.4.7.10.12.5"></a><h4>Parameters</h4>
|
598
598
|
<div class="informaltable"><table width="100%" border="0">
|
599
599
|
<colgroup>
|
600
600
|
<col width="150px" class="parameters_name">
|
@@ -609,7 +609,7 @@ before lower priorities. The default priority is 0.</p>
|
|
609
609
|
</table></div>
|
610
610
|
</div>
|
611
611
|
<div class="refsect3">
|
612
|
-
<a name="id-1.2.
|
612
|
+
<a name="id-1.2.4.7.10.12.6"></a><h4>Returns</h4>
|
613
613
|
<p> the provider priority.</p>
|
614
614
|
<p></p>
|
615
615
|
</div>
|
@@ -658,7 +658,7 @@ before lower priorities. The default priority is 0.</p>
|
|
658
658
|
</pre>
|
659
659
|
<p>The virtual function table for <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.</p>
|
660
660
|
<div class="refsect3">
|
661
|
-
<a name="id-1.2.
|
661
|
+
<a name="id-1.2.4.7.11.3.5"></a><h4>Members</h4>
|
662
662
|
<div class="informaltable"><table width="100%" border="0">
|
663
663
|
<colgroup>
|
664
664
|
<col width="300px" class="struct_members_name">
|
@@ -2,12 +2,12 @@
|
|
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>GtkSourceCompletionWords: 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="ch03.html" title="Completion">
|
9
9
|
<link rel="prev" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider">
|
10
|
-
<link rel="next" href="
|
10
|
+
<link rel="next" href="ch04.html" title="File Loading and Saving">
|
11
11
|
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
@@ -21,9 +21,9 @@
|
|
21
21
|
<a href="#GtkSourceCompletionWords.properties" class="shortcut">Properties</a></span>
|
22
22
|
</td>
|
23
23
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
24
|
-
<td><a accesskey="u" href="
|
24
|
+
<td><a accesskey="u" href="ch03.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
25
25
|
<td><a accesskey="p" href="GtkSourceCompletionProvider.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
26
|
-
<td><a accesskey="n" href="
|
26
|
+
<td><a accesskey="n" href="ch04.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
27
27
|
</tr></table>
|
28
28
|
<div class="refentry">
|
29
29
|
<a name="GtkSourceCompletionWords"></a><div class="titlepage"></div>
|
@@ -157,7 +157,7 @@ GtkSourceCompletionWords implements
|
|
157
157
|
<a name="GtkSourceCompletionWords.description"></a><h2>Description</h2>
|
158
158
|
<p>The <a class="link" href="GtkSourceCompletionWords.html" title="GtkSourceCompletionWords"><span class="type">GtkSourceCompletionWords</span></a> is an example of an implementation of
|
159
159
|
the <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> interface. The proposals are words
|
160
|
-
appearing in the registered <a href="
|
160
|
+
appearing in the registered <a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a>s.</p>
|
161
161
|
</div>
|
162
162
|
<div class="refsect1">
|
163
163
|
<a name="GtkSourceCompletionWords.functions_details"></a><h2>Functions</h2>
|
@@ -167,7 +167,7 @@ appearing in the registered <a href="/opt/gnome/share/gtk-doc/html/gtk3/GtkTextB
|
|
167
167
|
gtk_source_completion_words_new (<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
168
168
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *icon</code></em>);</pre>
|
169
169
|
<div class="refsect3">
|
170
|
-
<a name="id-1.2.
|
170
|
+
<a name="id-1.2.4.8.10.2.4"></a><h4>Parameters</h4>
|
171
171
|
<div class="informaltable"><table width="100%" border="0">
|
172
172
|
<colgroup>
|
173
173
|
<col width="150px" class="parameters_name">
|
@@ -189,7 +189,7 @@ gtk_source_completion_words_new (<em class="parameter"><code>const <a href="/hom
|
|
189
189
|
</table></div>
|
190
190
|
</div>
|
191
191
|
<div class="refsect3">
|
192
|
-
<a name="id-1.2.
|
192
|
+
<a name="id-1.2.4.8.10.2.5"></a><h4>Returns</h4>
|
193
193
|
<p> a new <a class="link" href="GtkSourceCompletionWords.html" title="GtkSourceCompletionWords"><span class="type">GtkSourceCompletionWords</span></a> provider</p>
|
194
194
|
<p></p>
|
195
195
|
</div>
|
@@ -199,12 +199,12 @@ gtk_source_completion_words_new (<em class="parameter"><code>const <a href="/hom
|
|
199
199
|
<a name="gtk-source-completion-words-register"></a><h3>gtk_source_completion_words_register ()</h3>
|
200
200
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
201
201
|
gtk_source_completion_words_register (<em class="parameter"><code><a class="link" href="GtkSourceCompletionWords.html" title="GtkSourceCompletionWords"><span class="type">GtkSourceCompletionWords</span></a> *words</code></em>,
|
202
|
-
<em class="parameter"><code><a href="
|
202
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>);</pre>
|
203
203
|
<p>Registers <em class="parameter"><code>buffer</code></em>
|
204
204
|
in the <em class="parameter"><code>words</code></em>
|
205
205
|
provider.</p>
|
206
206
|
<div class="refsect3">
|
207
|
-
<a name="id-1.2.
|
207
|
+
<a name="id-1.2.4.8.10.3.5"></a><h4>Parameters</h4>
|
208
208
|
<div class="informaltable"><table width="100%" border="0">
|
209
209
|
<colgroup>
|
210
210
|
<col width="150px" class="parameters_name">
|
@@ -219,7 +219,7 @@ gtk_source_completion_words_register (<em class="parameter"><code><a class="link
|
|
219
219
|
</tr>
|
220
220
|
<tr>
|
221
221
|
<td class="parameter_name"><p>buffer</p></td>
|
222
|
-
<td class="parameter_description"><p>a <a href="
|
222
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a></p></td>
|
223
223
|
<td class="parameter_annotations"> </td>
|
224
224
|
</tr>
|
225
225
|
</tbody>
|
@@ -232,12 +232,12 @@ gtk_source_completion_words_register (<em class="parameter"><code><a class="link
|
|
232
232
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
233
233
|
gtk_source_completion_words_unregister
|
234
234
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionWords.html" title="GtkSourceCompletionWords"><span class="type">GtkSourceCompletionWords</span></a> *words</code></em>,
|
235
|
-
<em class="parameter"><code><a href="
|
235
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>);</pre>
|
236
236
|
<p>Unregisters <em class="parameter"><code>buffer</code></em>
|
237
237
|
from the <em class="parameter"><code>words</code></em>
|
238
238
|
provider.</p>
|
239
239
|
<div class="refsect3">
|
240
|
-
<a name="id-1.2.
|
240
|
+
<a name="id-1.2.4.8.10.4.5"></a><h4>Parameters</h4>
|
241
241
|
<div class="informaltable"><table width="100%" border="0">
|
242
242
|
<colgroup>
|
243
243
|
<col width="150px" class="parameters_name">
|
@@ -252,7 +252,7 @@ gtk_source_completion_words_unregister
|
|
252
252
|
</tr>
|
253
253
|
<tr>
|
254
254
|
<td class="parameter_name"><p>buffer</p></td>
|
255
|
-
<td class="parameter_description"><p>a <a href="
|
255
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a></p></td>
|
256
256
|
<td class="parameter_annotations"> </td>
|
257
257
|
</tr>
|
258
258
|
</tbody>
|