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,11 +2,11 @@
|
|
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>GtkSourceSearchContext: 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="ch07.html" title="Search and Replace">
|
9
|
+
<link rel="prev" href="ch07.html" title="Search and Replace">
|
10
10
|
<link rel="next" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings">
|
11
11
|
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
@@ -20,8 +20,8 @@
|
|
20
20
|
<a href="#GtkSourceSearchContext.properties" class="shortcut">Properties</a></span>
|
21
21
|
</td>
|
22
22
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
23
|
-
<td><a accesskey="u" href="
|
24
|
-
<td><a accesskey="p" href="
|
23
|
+
<td><a accesskey="u" href="ch07.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
24
|
+
<td><a accesskey="p" href="ch07.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
25
25
|
<td><a accesskey="n" href="GtkSourceSearchSettings.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
26
26
|
</tr></table>
|
27
27
|
<div class="refentry">
|
@@ -91,6 +91,22 @@
|
|
91
91
|
</tr>
|
92
92
|
<tr>
|
93
93
|
<td class="function_type">
|
94
|
+
<a class="link" href="GtkSourceStyle.html" title="GtkSourceStyle"><span class="returnvalue">GtkSourceStyle</span></a> *
|
95
|
+
</td>
|
96
|
+
<td class="function_name">
|
97
|
+
<a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-get-match-style" title="gtk_source_search_context_get_match_style ()">gtk_source_search_context_get_match_style</a> <span class="c_punctuation">()</span>
|
98
|
+
</td>
|
99
|
+
</tr>
|
100
|
+
<tr>
|
101
|
+
<td class="function_type">
|
102
|
+
<span class="returnvalue">void</span>
|
103
|
+
</td>
|
104
|
+
<td class="function_name">
|
105
|
+
<a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-set-match-style" title="gtk_source_search_context_set_match_style ()">gtk_source_search_context_set_match_style</a> <span class="c_punctuation">()</span>
|
106
|
+
</td>
|
107
|
+
</tr>
|
108
|
+
<tr>
|
109
|
+
<td class="function_type">
|
94
110
|
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
95
111
|
</td>
|
96
112
|
<td class="function_name">
|
@@ -201,6 +217,12 @@
|
|
201
217
|
<td class="property_flags">Read / Write / Construct</td>
|
202
218
|
</tr>
|
203
219
|
<tr>
|
220
|
+
<td class="property_type">
|
221
|
+
<a class="link" href="GtkSourceStyle.html" title="GtkSourceStyle"><span class="type">GtkSourceStyle</span></a> *</td>
|
222
|
+
<td class="property_name"><a class="link" href="GtkSourceSearchContext.html#GtkSourceSearchContext--match-style" title="The “match-style” property">match-style</a></td>
|
223
|
+
<td class="property_flags">Read / Write / Construct</td>
|
224
|
+
</tr>
|
225
|
+
<tr>
|
204
226
|
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
205
227
|
<td class="property_name"><a class="link" href="GtkSourceSearchContext.html#GtkSourceSearchContext--occurrences-count" title="The “occurrences-count” property">occurrences-count</a></td>
|
206
228
|
<td class="property_flags">Read</td>
|
@@ -265,11 +287,16 @@ matches, use <a class="link" href="GtkSourceSearchContext.html#gtk-source-search
|
|
265
287
|
<p>The search occurrences are highlighted by default. To disable it, use
|
266
288
|
<a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-set-highlight" title="gtk_source_search_context_set_highlight ()"><code class="function">gtk_source_search_context_set_highlight()</code></a>. You can enable the search
|
267
289
|
highlighting for several <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>s attached to the
|
268
|
-
same buffer.
|
269
|
-
|
270
|
-
<a class="link" href="GtkSourceSearchContext.html" title="
|
271
|
-
to
|
272
|
-
<a class="link" href="
|
290
|
+
same buffer. Moreover, each of those <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>s can
|
291
|
+
have a different text style associated. Use
|
292
|
+
<a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-set-match-style" title="gtk_source_search_context_set_match_style ()"><code class="function">gtk_source_search_context_set_match_style()</code></a> to specify the <a class="link" href="GtkSourceStyle.html" title="GtkSourceStyle"><span class="type">GtkSourceStyle</span></a>
|
293
|
+
to apply on search matches.</p>
|
294
|
+
<p>Note that the <a class="link" href="GtkSourceSearchContext.html#GtkSourceSearchContext--highlight" title="The “highlight” property"><span class="type">“highlight”</span></a> and
|
295
|
+
<a class="link" href="GtkSourceSearchContext.html#GtkSourceSearchContext--match-style" title="The “match-style” property"><span class="type">“match-style”</span></a> properties are in the
|
296
|
+
<a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> class, not <a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a>. Appearance
|
297
|
+
settings should be tied to one, and only one buffer, as different buffers can
|
298
|
+
have different style scheme associated (a <a class="link" href="GtkSourceSearchSettings.html" title="GtkSourceSearchSettings"><span class="type">GtkSourceSearchSettings</span></a> object
|
299
|
+
can be bound indirectly to several buffers).</p>
|
273
300
|
<p>The concept of "current match" doesn't exist yet. A way to highlight
|
274
301
|
differently the current match is to select it.</p>
|
275
302
|
<p>A search occurrence's position doesn't depend on the cursor position or other
|
@@ -299,7 +326,7 @@ gtk_source_search_context_new (<em class="parameter"><code><a class="link" href=
|
|
299
326
|
be created, that you can retrieve with
|
300
327
|
<a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-get-settings" title="gtk_source_search_context_get_settings ()"><code class="function">gtk_source_search_context_get_settings()</code></a>.</p>
|
301
328
|
<div class="refsect3">
|
302
|
-
<a name="id-1.2.
|
329
|
+
<a name="id-1.2.8.2.9.2.5"></a><h4>Parameters</h4>
|
303
330
|
<div class="informaltable"><table width="100%" border="0">
|
304
331
|
<colgroup>
|
305
332
|
<col width="150px" class="parameters_name">
|
@@ -321,7 +348,7 @@ be created, that you can retrieve with
|
|
321
348
|
</table></div>
|
322
349
|
</div>
|
323
350
|
<div class="refsect3">
|
324
|
-
<a name="id-1.2.
|
351
|
+
<a name="id-1.2.8.2.9.2.6"></a><h4>Returns</h4>
|
325
352
|
<p> a new search context.</p>
|
326
353
|
<p></p>
|
327
354
|
</div>
|
@@ -333,7 +360,7 @@ be created, that you can retrieve with
|
|
333
360
|
<pre class="programlisting"><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *
|
334
361
|
gtk_source_search_context_get_buffer (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>);</pre>
|
335
362
|
<div class="refsect3">
|
336
|
-
<a name="id-1.2.
|
363
|
+
<a name="id-1.2.8.2.9.3.4"></a><h4>Parameters</h4>
|
337
364
|
<div class="informaltable"><table width="100%" border="0">
|
338
365
|
<colgroup>
|
339
366
|
<col width="150px" class="parameters_name">
|
@@ -348,7 +375,7 @@ gtk_source_search_context_get_buffer (<em class="parameter"><code><a class="link
|
|
348
375
|
</table></div>
|
349
376
|
</div>
|
350
377
|
<div class="refsect3">
|
351
|
-
<a name="id-1.2.
|
378
|
+
<a name="id-1.2.8.2.9.3.5"></a><h4>Returns</h4>
|
352
379
|
<p> the associated buffer. </p>
|
353
380
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
354
381
|
</div>
|
@@ -361,7 +388,7 @@ gtk_source_search_context_get_buffer (<em class="parameter"><code><a class="link
|
|
361
388
|
gtk_source_search_context_get_settings
|
362
389
|
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>);</pre>
|
363
390
|
<div class="refsect3">
|
364
|
-
<a name="id-1.2.
|
391
|
+
<a name="id-1.2.8.2.9.4.4"></a><h4>Parameters</h4>
|
365
392
|
<div class="informaltable"><table width="100%" border="0">
|
366
393
|
<colgroup>
|
367
394
|
<col width="150px" class="parameters_name">
|
@@ -376,7 +403,7 @@ gtk_source_search_context_get_settings
|
|
376
403
|
</table></div>
|
377
404
|
</div>
|
378
405
|
<div class="refsect3">
|
379
|
-
<a name="id-1.2.
|
406
|
+
<a name="id-1.2.8.2.9.4.5"></a><h4>Returns</h4>
|
380
407
|
<p> the search settings. </p>
|
381
408
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
382
409
|
</div>
|
@@ -395,7 +422,7 @@ gtk_source_search_context_set_settings
|
|
395
422
|
<p>The search context holds a reference to <em class="parameter"><code>settings</code></em>
|
396
423
|
.</p>
|
397
424
|
<div class="refsect3">
|
398
|
-
<a name="id-1.2.
|
425
|
+
<a name="id-1.2.8.2.9.5.6"></a><h4>Parameters</h4>
|
399
426
|
<div class="informaltable"><table width="100%" border="0">
|
400
427
|
<colgroup>
|
401
428
|
<col width="150px" class="parameters_name">
|
@@ -425,7 +452,7 @@ gtk_source_search_context_set_settings
|
|
425
452
|
gtk_source_search_context_get_highlight
|
426
453
|
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>);</pre>
|
427
454
|
<div class="refsect3">
|
428
|
-
<a name="id-1.2.
|
455
|
+
<a name="id-1.2.8.2.9.6.4"></a><h4>Parameters</h4>
|
429
456
|
<div class="informaltable"><table width="100%" border="0">
|
430
457
|
<colgroup>
|
431
458
|
<col width="150px" class="parameters_name">
|
@@ -440,7 +467,7 @@ gtk_source_search_context_get_highlight
|
|
440
467
|
</table></div>
|
441
468
|
</div>
|
442
469
|
<div class="refsect3">
|
443
|
-
<a name="id-1.2.
|
470
|
+
<a name="id-1.2.8.2.9.6.5"></a><h4>Returns</h4>
|
444
471
|
<p> whether to highlight the search occurrences.</p>
|
445
472
|
<p></p>
|
446
473
|
</div>
|
@@ -455,7 +482,7 @@ gtk_source_search_context_set_highlight
|
|
455
482
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> highlight</code></em>);</pre>
|
456
483
|
<p>Enables or disables the search occurrences highlighting.</p>
|
457
484
|
<div class="refsect3">
|
458
|
-
<a name="id-1.2.
|
485
|
+
<a name="id-1.2.8.2.9.7.5"></a><h4>Parameters</h4>
|
459
486
|
<div class="informaltable"><table width="100%" border="0">
|
460
487
|
<colgroup>
|
461
488
|
<col width="150px" class="parameters_name">
|
@@ -480,6 +507,70 @@ gtk_source_search_context_set_highlight
|
|
480
507
|
</div>
|
481
508
|
<hr>
|
482
509
|
<div class="refsect2">
|
510
|
+
<a name="gtk-source-search-context-get-match-style"></a><h3>gtk_source_search_context_get_match_style ()</h3>
|
511
|
+
<pre class="programlisting"><a class="link" href="GtkSourceStyle.html" title="GtkSourceStyle"><span class="returnvalue">GtkSourceStyle</span></a> *
|
512
|
+
gtk_source_search_context_get_match_style
|
513
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>);</pre>
|
514
|
+
<div class="refsect3">
|
515
|
+
<a name="id-1.2.8.2.9.8.4"></a><h4>Parameters</h4>
|
516
|
+
<div class="informaltable"><table width="100%" border="0">
|
517
|
+
<colgroup>
|
518
|
+
<col width="150px" class="parameters_name">
|
519
|
+
<col class="parameters_description">
|
520
|
+
<col width="200px" class="parameters_annotations">
|
521
|
+
</colgroup>
|
522
|
+
<tbody><tr>
|
523
|
+
<td class="parameter_name"><p>search</p></td>
|
524
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</p></td>
|
525
|
+
<td class="parameter_annotations"> </td>
|
526
|
+
</tr></tbody>
|
527
|
+
</table></div>
|
528
|
+
</div>
|
529
|
+
<div class="refsect3">
|
530
|
+
<a name="id-1.2.8.2.9.8.5"></a><h4>Returns</h4>
|
531
|
+
<p> the <a class="link" href="GtkSourceStyle.html" title="GtkSourceStyle"><span class="type">GtkSourceStyle</span></a> to apply on search matches. </p>
|
532
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
533
|
+
</div>
|
534
|
+
<p class="since">Since 3.16</p>
|
535
|
+
</div>
|
536
|
+
<hr>
|
537
|
+
<div class="refsect2">
|
538
|
+
<a name="gtk-source-search-context-set-match-style"></a><h3>gtk_source_search_context_set_match_style ()</h3>
|
539
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
540
|
+
gtk_source_search_context_set_match_style
|
541
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
542
|
+
<em class="parameter"><code><a class="link" href="GtkSourceStyle.html" title="GtkSourceStyle"><span class="type">GtkSourceStyle</span></a> *match_style</code></em>);</pre>
|
543
|
+
<p>Set the style to apply on search matches. If <em class="parameter"><code>match_style</code></em>
|
544
|
+
is <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>, default
|
545
|
+
theme's scheme 'match-style' will be used.
|
546
|
+
To enable or disable the search highlighting, use
|
547
|
+
<a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-set-highlight" title="gtk_source_search_context_set_highlight ()"><code class="function">gtk_source_search_context_set_highlight()</code></a>.</p>
|
548
|
+
<div class="refsect3">
|
549
|
+
<a name="id-1.2.8.2.9.9.5"></a><h4>Parameters</h4>
|
550
|
+
<div class="informaltable"><table width="100%" border="0">
|
551
|
+
<colgroup>
|
552
|
+
<col width="150px" class="parameters_name">
|
553
|
+
<col class="parameters_description">
|
554
|
+
<col width="200px" class="parameters_annotations">
|
555
|
+
</colgroup>
|
556
|
+
<tbody>
|
557
|
+
<tr>
|
558
|
+
<td class="parameter_name"><p>search</p></td>
|
559
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a>.</p></td>
|
560
|
+
<td class="parameter_annotations"> </td>
|
561
|
+
</tr>
|
562
|
+
<tr>
|
563
|
+
<td class="parameter_name"><p>match_style</p></td>
|
564
|
+
<td class="parameter_description"><p> a <a class="link" href="GtkSourceStyle.html" title="GtkSourceStyle"><span class="type">GtkSourceStyle</span></a>. </p></td>
|
565
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
566
|
+
</tr>
|
567
|
+
</tbody>
|
568
|
+
</table></div>
|
569
|
+
</div>
|
570
|
+
<p class="since">Since 3.16</p>
|
571
|
+
</div>
|
572
|
+
<hr>
|
573
|
+
<div class="refsect2">
|
483
574
|
<a name="gtk-source-search-context-get-occurrences-count"></a><h3>gtk_source_search_context_get_occurrences_count ()</h3>
|
484
575
|
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
485
576
|
gtk_source_search_context_get_occurrences_count
|
@@ -488,7 +579,7 @@ gtk_source_search_context_get_occurrences_count
|
|
488
579
|
fully scanned, the total number of occurrences is unknown, and -1 is
|
489
580
|
returned.</p>
|
490
581
|
<div class="refsect3">
|
491
|
-
<a name="id-1.2.
|
582
|
+
<a name="id-1.2.8.2.9.10.5"></a><h4>Parameters</h4>
|
492
583
|
<div class="informaltable"><table width="100%" border="0">
|
493
584
|
<colgroup>
|
494
585
|
<col width="150px" class="parameters_name">
|
@@ -503,7 +594,7 @@ returned.</p>
|
|
503
594
|
</table></div>
|
504
595
|
</div>
|
505
596
|
<div class="refsect3">
|
506
|
-
<a name="id-1.2.
|
597
|
+
<a name="id-1.2.8.2.9.10.6"></a><h4>Returns</h4>
|
507
598
|
<p> the total number of search occurrences, or -1 if unknown.</p>
|
508
599
|
<p></p>
|
509
600
|
</div>
|
@@ -515,8 +606,8 @@ returned.</p>
|
|
515
606
|
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
516
607
|
gtk_source_search_context_get_occurrence_position
|
517
608
|
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
518
|
-
<em class="parameter"><code>const <a href="
|
519
|
-
<em class="parameter"><code>const <a href="
|
609
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_start</code></em>,
|
610
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_end</code></em>);</pre>
|
520
611
|
<p>Gets the position of a search occurrence. If the buffer is not already fully
|
521
612
|
scanned, the position may be unknown, and -1 is returned. If 0 is returned,
|
522
613
|
it means that this part of the buffer has already been scanned, and that
|
@@ -524,7 +615,7 @@ it means that this part of the buffer has already been scanned, and that
|
|
524
615
|
and <em class="parameter"><code>match_end</code></em>
|
525
616
|
don't delimit an occurrence.</p>
|
526
617
|
<div class="refsect3">
|
527
|
-
<a name="id-1.2.
|
618
|
+
<a name="id-1.2.8.2.9.11.5"></a><h4>Parameters</h4>
|
528
619
|
<div class="informaltable"><table width="100%" border="0">
|
529
620
|
<colgroup>
|
530
621
|
<col width="150px" class="parameters_name">
|
@@ -551,7 +642,7 @@ it means that this part of the buffer has already been scanned, and that
|
|
551
642
|
</table></div>
|
552
643
|
</div>
|
553
644
|
<div class="refsect3">
|
554
|
-
<a name="id-1.2.
|
645
|
+
<a name="id-1.2.8.2.9.11.6"></a><h4>Returns</h4>
|
555
646
|
<p> the position of the search occurrence. The first occurrence has the
|
556
647
|
position 1 (not 0). Returns 0 if <em class="parameter"><code>match_start</code></em>
|
557
648
|
and <em class="parameter"><code>match_end</code></em>
|
@@ -566,15 +657,15 @@ an occurrence. Returns -1 if the position is not yet known.</p>
|
|
566
657
|
<a name="gtk-source-search-context-forward"></a><h3>gtk_source_search_context_forward ()</h3>
|
567
658
|
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
568
659
|
gtk_source_search_context_forward (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
569
|
-
<em class="parameter"><code>const <a href="
|
570
|
-
<em class="parameter"><code><a href="
|
571
|
-
<em class="parameter"><code><a href="
|
660
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
661
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_start</code></em>,
|
662
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_end</code></em>);</pre>
|
572
663
|
<p>Synchronous forward search. It is recommended to use the asynchronous
|
573
664
|
functions instead, to not block the user interface. However, if you are sure
|
574
665
|
that the <em class="parameter"><code>buffer</code></em>
|
575
666
|
is small, this function is more convenient to use.</p>
|
576
667
|
<div class="refsect3">
|
577
|
-
<a name="id-1.2.
|
668
|
+
<a name="id-1.2.8.2.9.12.5"></a><h4>Parameters</h4>
|
578
669
|
<div class="informaltable"><table width="100%" border="0">
|
579
670
|
<colgroup>
|
580
671
|
<col width="150px" class="parameters_name">
|
@@ -606,7 +697,7 @@ that the <em class="parameter"><code>buffer</code></em>
|
|
606
697
|
</table></div>
|
607
698
|
</div>
|
608
699
|
<div class="refsect3">
|
609
|
-
<a name="id-1.2.
|
700
|
+
<a name="id-1.2.8.2.9.12.6"></a><h4>Returns</h4>
|
610
701
|
<p> whether a match was found.</p>
|
611
702
|
<p></p>
|
612
703
|
</div>
|
@@ -618,7 +709,7 @@ that the <em class="parameter"><code>buffer</code></em>
|
|
618
709
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
619
710
|
gtk_source_search_context_forward_async
|
620
711
|
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
621
|
-
<em class="parameter"><code>const <a href="
|
712
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
622
713
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
623
714
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
624
715
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
@@ -631,7 +722,7 @@ how to use this function.</p>
|
|
631
722
|
ownership of <em class="parameter"><code>cancellable</code></em>
|
632
723
|
, so you can unref it after calling this function.</p>
|
633
724
|
<div class="refsect3">
|
634
|
-
<a name="id-1.2.
|
725
|
+
<a name="id-1.2.8.2.9.13.6"></a><h4>Parameters</h4>
|
635
726
|
<div class="informaltable"><table width="100%" border="0">
|
636
727
|
<colgroup>
|
637
728
|
<col width="150px" class="parameters_name">
|
@@ -677,13 +768,13 @@ function.</p></td>
|
|
677
768
|
gtk_source_search_context_forward_finish
|
678
769
|
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
679
770
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
680
|
-
<em class="parameter"><code><a href="
|
681
|
-
<em class="parameter"><code><a href="
|
771
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_start</code></em>,
|
772
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_end</code></em>,
|
682
773
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
683
774
|
<p>Finishes a forward search started with
|
684
775
|
<a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-forward-async" title="gtk_source_search_context_forward_async ()"><code class="function">gtk_source_search_context_forward_async()</code></a>.</p>
|
685
776
|
<div class="refsect3">
|
686
|
-
<a name="id-1.2.
|
777
|
+
<a name="id-1.2.8.2.9.14.5"></a><h4>Parameters</h4>
|
687
778
|
<div class="informaltable"><table width="100%" border="0">
|
688
779
|
<colgroup>
|
689
780
|
<col width="150px" class="parameters_name">
|
@@ -720,7 +811,7 @@ gtk_source_search_context_forward_finish
|
|
720
811
|
</table></div>
|
721
812
|
</div>
|
722
813
|
<div class="refsect3">
|
723
|
-
<a name="id-1.2.
|
814
|
+
<a name="id-1.2.8.2.9.14.6"></a><h4>Returns</h4>
|
724
815
|
<p> whether a match was found.</p>
|
725
816
|
<p></p>
|
726
817
|
</div>
|
@@ -731,15 +822,15 @@ gtk_source_search_context_forward_finish
|
|
731
822
|
<a name="gtk-source-search-context-backward"></a><h3>gtk_source_search_context_backward ()</h3>
|
732
823
|
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
733
824
|
gtk_source_search_context_backward (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
734
|
-
<em class="parameter"><code>const <a href="
|
735
|
-
<em class="parameter"><code><a href="
|
736
|
-
<em class="parameter"><code><a href="
|
825
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
826
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_start</code></em>,
|
827
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_end</code></em>);</pre>
|
737
828
|
<p>Synchronous backward search. It is recommended to use the asynchronous
|
738
829
|
functions instead, to not block the user interface. However, if you are sure
|
739
830
|
that the <em class="parameter"><code>buffer</code></em>
|
740
831
|
is small, this function is more convenient to use.</p>
|
741
832
|
<div class="refsect3">
|
742
|
-
<a name="id-1.2.
|
833
|
+
<a name="id-1.2.8.2.9.15.5"></a><h4>Parameters</h4>
|
743
834
|
<div class="informaltable"><table width="100%" border="0">
|
744
835
|
<colgroup>
|
745
836
|
<col width="150px" class="parameters_name">
|
@@ -771,7 +862,7 @@ that the <em class="parameter"><code>buffer</code></em>
|
|
771
862
|
</table></div>
|
772
863
|
</div>
|
773
864
|
<div class="refsect3">
|
774
|
-
<a name="id-1.2.
|
865
|
+
<a name="id-1.2.8.2.9.15.6"></a><h4>Returns</h4>
|
775
866
|
<p> whether a match was found.</p>
|
776
867
|
<p></p>
|
777
868
|
</div>
|
@@ -783,7 +874,7 @@ that the <em class="parameter"><code>buffer</code></em>
|
|
783
874
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
784
875
|
gtk_source_search_context_backward_async
|
785
876
|
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
786
|
-
<em class="parameter"><code>const <a href="
|
877
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
787
878
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
788
879
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
789
880
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
@@ -796,7 +887,7 @@ how to use this function.</p>
|
|
796
887
|
ownership of <em class="parameter"><code>cancellable</code></em>
|
797
888
|
, so you can unref it after calling this function.</p>
|
798
889
|
<div class="refsect3">
|
799
|
-
<a name="id-1.2.
|
890
|
+
<a name="id-1.2.8.2.9.16.6"></a><h4>Parameters</h4>
|
800
891
|
<div class="informaltable"><table width="100%" border="0">
|
801
892
|
<colgroup>
|
802
893
|
<col width="150px" class="parameters_name">
|
@@ -842,13 +933,13 @@ function.</p></td>
|
|
842
933
|
gtk_source_search_context_backward_finish
|
843
934
|
(<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
844
935
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
845
|
-
<em class="parameter"><code><a href="
|
846
|
-
<em class="parameter"><code><a href="
|
936
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_start</code></em>,
|
937
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_end</code></em>,
|
847
938
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
848
939
|
<p>Finishes a backward search started with
|
849
940
|
<a class="link" href="GtkSourceSearchContext.html#gtk-source-search-context-backward-async" title="gtk_source_search_context_backward_async ()"><code class="function">gtk_source_search_context_backward_async()</code></a>.</p>
|
850
941
|
<div class="refsect3">
|
851
|
-
<a name="id-1.2.
|
942
|
+
<a name="id-1.2.8.2.9.17.5"></a><h4>Parameters</h4>
|
852
943
|
<div class="informaltable"><table width="100%" border="0">
|
853
944
|
<colgroup>
|
854
945
|
<col width="150px" class="parameters_name">
|
@@ -885,7 +976,7 @@ gtk_source_search_context_backward_finish
|
|
885
976
|
</table></div>
|
886
977
|
</div>
|
887
978
|
<div class="refsect3">
|
888
|
-
<a name="id-1.2.
|
979
|
+
<a name="id-1.2.8.2.9.17.6"></a><h4>Returns</h4>
|
889
980
|
<p> whether a match was found.</p>
|
890
981
|
<p></p>
|
891
982
|
</div>
|
@@ -896,8 +987,8 @@ gtk_source_search_context_backward_finish
|
|
896
987
|
<a name="gtk-source-search-context-replace"></a><h3>gtk_source_search_context_replace ()</h3>
|
897
988
|
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
898
989
|
gtk_source_search_context_replace (<em class="parameter"><code><a class="link" href="GtkSourceSearchContext.html" title="GtkSourceSearchContext"><span class="type">GtkSourceSearchContext</span></a> *search</code></em>,
|
899
|
-
<em class="parameter"><code>const <a href="
|
900
|
-
<em class="parameter"><code>const <a href="
|
990
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_start</code></em>,
|
991
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *match_end</code></em>,
|
901
992
|
<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> *replace</code></em>,
|
902
993
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> replace_length</code></em>,
|
903
994
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
@@ -911,7 +1002,7 @@ calling <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-do
|
|
911
1002
|
text can contain
|
912
1003
|
backreferences; read the <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html#g-regex-replace"><code class="function">g_regex_replace()</code></a> documentation for more details.</p>
|
913
1004
|
<div class="refsect3">
|
914
|
-
<a name="id-1.2.
|
1005
|
+
<a name="id-1.2.8.2.9.18.6"></a><h4>Parameters</h4>
|
915
1006
|
<div class="informaltable"><table width="100%" border="0">
|
916
1007
|
<colgroup>
|
917
1008
|
<col width="150px" class="parameters_name">
|
@@ -954,7 +1045,7 @@ in bytes, or -1.</p></td>
|
|
954
1045
|
</table></div>
|
955
1046
|
</div>
|
956
1047
|
<div class="refsect3">
|
957
|
-
<a name="id-1.2.
|
1048
|
+
<a name="id-1.2.8.2.9.18.7"></a><h4>Returns</h4>
|
958
1049
|
<p> whether the match has been replaced.</p>
|
959
1050
|
<p></p>
|
960
1051
|
</div>
|
@@ -976,7 +1067,7 @@ calling <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-do
|
|
976
1067
|
text can contain
|
977
1068
|
backreferences; read the <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html#g-regex-replace"><code class="function">g_regex_replace()</code></a> documentation for more details.</p>
|
978
1069
|
<div class="refsect3">
|
979
|
-
<a name="id-1.2.
|
1070
|
+
<a name="id-1.2.8.2.9.19.6"></a><h4>Parameters</h4>
|
980
1071
|
<div class="informaltable"><table width="100%" border="0">
|
981
1072
|
<colgroup>
|
982
1073
|
<col width="150px" class="parameters_name">
|
@@ -1009,7 +1100,7 @@ in bytes, or -1.</p></td>
|
|
1009
1100
|
</table></div>
|
1010
1101
|
</div>
|
1011
1102
|
<div class="refsect3">
|
1012
|
-
<a name="id-1.2.
|
1103
|
+
<a name="id-1.2.8.2.9.19.7"></a><h4>Returns</h4>
|
1013
1104
|
<p> the number of replaced matches.</p>
|
1014
1105
|
<p></p>
|
1015
1106
|
</div>
|
@@ -1026,7 +1117,7 @@ gtk_source_search_context_get_regex_error
|
|
1026
1117
|
with this function. The error domain is <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html#G-REGEX-ERROR:CAPS"><span class="type">G_REGEX_ERROR</span></a>.</p>
|
1027
1118
|
<p>Free the return value with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#g-error-free"><code class="function">g_error_free()</code></a>.</p>
|
1028
1119
|
<div class="refsect3">
|
1029
|
-
<a name="id-1.2.
|
1120
|
+
<a name="id-1.2.8.2.9.20.6"></a><h4>Parameters</h4>
|
1030
1121
|
<div class="informaltable"><table width="100%" border="0">
|
1031
1122
|
<colgroup>
|
1032
1123
|
<col width="150px" class="parameters_name">
|
@@ -1041,7 +1132,7 @@ with this function. The error domain is <a href="/home/vagrant/ruby-gnome2.win64
|
|
1041
1132
|
</table></div>
|
1042
1133
|
</div>
|
1043
1134
|
<div class="refsect3">
|
1044
|
-
<a name="id-1.2.
|
1135
|
+
<a name="id-1.2.8.2.9.20.7"></a><h4>Returns</h4>
|
1045
1136
|
<p> the <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, 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 pattern is valid. </p>
|
1046
1137
|
<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>]</span></p>
|
1047
1138
|
</div>
|
@@ -1075,6 +1166,14 @@ with this function. The error domain is <a href="/home/vagrant/ruby-gnome2.win64
|
|
1075
1166
|
</div>
|
1076
1167
|
<hr>
|
1077
1168
|
<div class="refsect2">
|
1169
|
+
<a name="GtkSourceSearchContext--match-style"></a><h3>The <code class="literal">“match-style”</code> property</h3>
|
1170
|
+
<pre class="programlisting"> “match-style” <a class="link" href="GtkSourceStyle.html" title="GtkSourceStyle"><span class="type">GtkSourceStyle</span></a> *</pre>
|
1171
|
+
<p>A <a class="link" href="GtkSourceStyle.html" title="GtkSourceStyle"><span class="type">GtkSourceStyle</span></a>, 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> for theme's scheme default style.</p>
|
1172
|
+
<p>Flags: Read / Write / Construct</p>
|
1173
|
+
<p class="since">Since 3.16</p>
|
1174
|
+
</div>
|
1175
|
+
<hr>
|
1176
|
+
<div class="refsect2">
|
1078
1177
|
<a name="GtkSourceSearchContext--occurrences-count"></a><h3>The <code class="literal">“occurrences-count”</code> property</h3>
|
1079
1178
|
<pre class="programlisting"> “occurrences-count” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
1080
1179
|
<p>The total number of search occurrences. If the search is disabled,
|