gtksourceview3 2.2.5-x64-mingw32 → 3.0.0-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- 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,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>GtkSourceBuffer: 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="ch01.html" title="
|
9
|
-
<link rel="prev" href="ch01.html" title="
|
10
|
-
<link rel="next" href="
|
8
|
+
<link rel="up" href="ch01.html" title="Main Classes">
|
9
|
+
<link rel="prev" href="ch01.html" title="Main Classes">
|
10
|
+
<link rel="next" href="GtkSourceView.html" title="GtkSourceView">
|
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>
|
@@ -23,14 +23,14 @@
|
|
23
23
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
24
24
|
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
25
25
|
<td><a accesskey="p" href="ch01.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="GtkSourceView.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="GtkSourceBuffer"></a><div class="titlepage"></div>
|
30
30
|
<div class="refnamediv"><table width="100%"><tr>
|
31
31
|
<td valign="top">
|
32
32
|
<h2><span class="refentrytitle"><a name="GtkSourceBuffer.top_of_page"></a>GtkSourceBuffer</span></h2>
|
33
|
-
<p>GtkSourceBuffer —
|
33
|
+
<p>GtkSourceBuffer — Stores the text for display in a GtkSourceView</p>
|
34
34
|
</td>
|
35
35
|
<td class="gallery_image" valign="top" align="right"></td>
|
36
36
|
</tr></table></div>
|
@@ -303,6 +303,14 @@
|
|
303
303
|
<span class="returnvalue">void</span>
|
304
304
|
</td>
|
305
305
|
<td class="function_name">
|
306
|
+
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-join-lines" title="gtk_source_buffer_join_lines ()">gtk_source_buffer_join_lines</a> <span class="c_punctuation">()</span>
|
307
|
+
</td>
|
308
|
+
</tr>
|
309
|
+
<tr>
|
310
|
+
<td class="function_type">
|
311
|
+
<span class="returnvalue">void</span>
|
312
|
+
</td>
|
313
|
+
<td class="function_name">
|
306
314
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-implicit-trailing-newline" title="gtk_source_buffer_set_implicit_trailing_newline ()">gtk_source_buffer_set_implicit_trailing_newline</a> <span class="c_punctuation">()</span>
|
307
315
|
</td>
|
308
316
|
</tr>
|
@@ -389,27 +397,27 @@
|
|
389
397
|
<tr>
|
390
398
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
391
399
|
<td class="signal_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-bracket-matched" title="The “bracket-matched” signal">bracket-matched</a></td>
|
392
|
-
<td class="signal_flags">Run Last</td>
|
400
|
+
<td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
393
401
|
</tr>
|
394
402
|
<tr>
|
395
403
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
396
404
|
<td class="signal_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-highlight-updated" title="The “highlight-updated” signal">highlight-updated</a></td>
|
397
|
-
<td class="signal_flags">Run Last</td>
|
405
|
+
<td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
398
406
|
</tr>
|
399
407
|
<tr>
|
400
408
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
401
409
|
<td class="signal_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-redo" title="The “redo” signal">redo</a></td>
|
402
|
-
<td class="signal_flags">Run Last</td>
|
410
|
+
<td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
403
411
|
</tr>
|
404
412
|
<tr>
|
405
413
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
406
414
|
<td class="signal_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-source-mark-updated" title="The “source-mark-updated” signal">source-mark-updated</a></td>
|
407
|
-
<td class="signal_flags">Run Last</td>
|
415
|
+
<td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
408
416
|
</tr>
|
409
417
|
<tr>
|
410
418
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
411
419
|
<td class="signal_name"><a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-undo" title="The “undo” signal">undo</a></td>
|
412
|
-
<td class="signal_flags">Run Last</td>
|
420
|
+
<td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
413
421
|
</tr>
|
414
422
|
</tbody>
|
415
423
|
</table></div>
|
@@ -440,7 +448,7 @@
|
|
440
448
|
<div class="refsect1">
|
441
449
|
<a name="GtkSourceBuffer.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
442
450
|
<pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
443
|
-
<span class="lineart">╰──</span> <a href="
|
451
|
+
<span class="lineart">╰──</span> <a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html">GtkTextBuffer</a>
|
444
452
|
<span class="lineart">╰──</span> GtkSourceBuffer
|
445
453
|
</pre>
|
446
454
|
</div>
|
@@ -451,35 +459,46 @@
|
|
451
459
|
</div>
|
452
460
|
<div class="refsect1">
|
453
461
|
<a name="GtkSourceBuffer.description"></a><h2>Description</h2>
|
454
|
-
<p>
|
455
|
-
It extends the <a href="
|
462
|
+
<p>A <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> object is the model for <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> widgets.
|
463
|
+
It extends the <a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a> class by adding features useful to display
|
456
464
|
and edit source code such as syntax highlighting and bracket matching. It
|
457
|
-
also implements support for undo/redo
|
458
|
-
replace.</p>
|
465
|
+
also implements support for the undo/redo.</p>
|
459
466
|
<p>To create a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> use <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-new" title="gtk_source_buffer_new ()"><code class="function">gtk_source_buffer_new()</code></a> or
|
460
467
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-new-with-language" title="gtk_source_buffer_new_with_language ()"><code class="function">gtk_source_buffer_new_with_language()</code></a>. The second form is just a convenience
|
461
|
-
function which allows you to initially set a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a
|
462
|
-
<
|
468
|
+
function which allows you to initially set a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>. You can also
|
469
|
+
directly create a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> and get its <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> with
|
470
|
+
<a href="http://developer.gnome.org/gtk2/GtkTextView.html#gtk-text-view-get-buffer"><code class="function">gtk_text_view_get_buffer()</code></a>.</p>
|
471
|
+
<p>The highlighting is enabled by default, but you can disable it with
|
463
472
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-highlight-syntax" title="gtk_source_buffer_set_highlight_syntax ()"><code class="function">gtk_source_buffer_set_highlight_syntax()</code></a>.</p>
|
464
473
|
<div class="refsect2">
|
465
|
-
<a name="id-1.2.2.9.5"></a><h3>Undo
|
474
|
+
<a name="id-1.2.2.2.9.5"></a><h3>Undo/Redo</h3>
|
466
475
|
<p>A custom <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> can be implemented and set with
|
467
476
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-undo-manager" title="gtk_source_buffer_set_undo_manager ()"><code class="function">gtk_source_buffer_set_undo_manager()</code></a>. However the default implementation
|
468
|
-
should be suitable for most uses
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
buffer
|
473
|
-
|
474
|
-
|
477
|
+
should be suitable for most uses, so you can use the API provided by
|
478
|
+
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> instead of using <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a>. By default, actions
|
479
|
+
that can be undone or redone are defined as groups of operations between a
|
480
|
+
call to <a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html#gtk-text-buffer-begin-user-action"><code class="function">gtk_text_buffer_begin_user_action()</code></a> and
|
481
|
+
<a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html#gtk-text-buffer-end-user-action"><code class="function">gtk_text_buffer_end_user_action()</code></a>. In general, this happens whenever the user
|
482
|
+
presses any key which modifies the buffer. But the default undo manager will
|
483
|
+
try to merge similar consecutive actions into one undo/redo level. The
|
484
|
+
merging is done word by word, so after writing a new sentence (character by
|
485
|
+
character), each undo will remove the previous word.</p>
|
475
486
|
<p>The default undo manager remembers the "modified" state of the buffer, and
|
476
|
-
|
477
|
-
editor to know whether the file is saved. See <a href="
|
478
|
-
and <a href="
|
487
|
+
restores it when an action is undone or redone. It can be useful in a text
|
488
|
+
editor to know whether the file is saved. See <a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html#gtk-text-buffer-get-modified"><code class="function">gtk_text_buffer_get_modified()</code></a>
|
489
|
+
and <a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html#gtk-text-buffer-set-modified"><code class="function">gtk_text_buffer_set_modified()</code></a>.</p>
|
490
|
+
<p>The default undo manager also restores the selected text (or cursor
|
491
|
+
position), if the selection was related to the action. For example if the
|
492
|
+
user selects some text and deletes it, an undo will restore the selection. On
|
493
|
+
the other hand, if some text is selected but a deletion occurs elsewhere (the
|
494
|
+
deletion was done programmatically), an undo will not restore the selection,
|
495
|
+
it will only moves the cursor (the cursor is moved so that the user sees the
|
496
|
+
undo's effect). Warning: the selection restoring behavior might change in the
|
497
|
+
future.</p>
|
479
498
|
</div>
|
480
499
|
<hr>
|
481
500
|
<div class="refsect2">
|
482
|
-
<a name="id-1.2.2.9.6"></a><h3>Context Classes</h3>
|
501
|
+
<a name="id-1.2.2.2.9.6"></a><h3>Context Classes</h3>
|
483
502
|
<p>It is possible to retrieve some information from the syntax highlighting
|
484
503
|
engine. There are currently three default context classes that are
|
485
504
|
applied to regions of a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>:</p>
|
@@ -498,10 +517,10 @@ a string parameter as the context class.</p>
|
|
498
517
|
<div class="refsect2">
|
499
518
|
<a name="gtk-source-buffer-new"></a><h3>gtk_source_buffer_new ()</h3>
|
500
519
|
<pre class="programlisting"><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *
|
501
|
-
gtk_source_buffer_new (<em class="parameter"><code><a href="
|
520
|
+
gtk_source_buffer_new (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextTagTable.html"><span class="type">GtkTextTagTable</span></a> *table</code></em>);</pre>
|
502
521
|
<p>Creates a new source buffer.</p>
|
503
522
|
<div class="refsect3">
|
504
|
-
<a name="id-1.2.2.10.2.5"></a><h4>Parameters</h4>
|
523
|
+
<a name="id-1.2.2.2.10.2.5"></a><h4>Parameters</h4>
|
505
524
|
<div class="informaltable"><table width="100%" border="0">
|
506
525
|
<colgroup>
|
507
526
|
<col width="150px" class="parameters_name">
|
@@ -510,13 +529,13 @@ gtk_source_buffer_new (<em class="parameter"><code><a href="/opt/gnome/share/gtk
|
|
510
529
|
</colgroup>
|
511
530
|
<tbody><tr>
|
512
531
|
<td class="parameter_name"><p>table</p></td>
|
513
|
-
<td class="parameter_description"><p> a <a href="
|
532
|
+
<td class="parameter_description"><p> a <a href="http://developer.gnome.org/gtk2/GtkTextTagTable.html"><span class="type">GtkTextTagTable</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> to create a new one. </p></td>
|
514
533
|
<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>
|
515
534
|
</tr></tbody>
|
516
535
|
</table></div>
|
517
536
|
</div>
|
518
537
|
<div class="refsect3">
|
519
|
-
<a name="id-1.2.2.10.2.6"></a><h4>Returns</h4>
|
538
|
+
<a name="id-1.2.2.2.10.2.6"></a><h4>Returns</h4>
|
520
539
|
<p> a new source buffer.</p>
|
521
540
|
<p></p>
|
522
541
|
</div>
|
@@ -531,7 +550,7 @@ gtk_source_buffer_new_with_language (<em class="parameter"><code><a class="link"
|
|
531
550
|
. This is equivalent to creating a new source buffer with
|
532
551
|
a new tag table and then calling <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-language" title="gtk_source_buffer_set_language ()"><code class="function">gtk_source_buffer_set_language()</code></a>.</p>
|
533
552
|
<div class="refsect3">
|
534
|
-
<a name="id-1.2.2.10.3.5"></a><h4>Parameters</h4>
|
553
|
+
<a name="id-1.2.2.2.10.3.5"></a><h4>Parameters</h4>
|
535
554
|
<div class="informaltable"><table width="100%" border="0">
|
536
555
|
<colgroup>
|
537
556
|
<col width="150px" class="parameters_name">
|
@@ -546,7 +565,7 @@ a new tag table and then calling <a class="link" href="GtkSourceBuffer.html#gtk-
|
|
546
565
|
</table></div>
|
547
566
|
</div>
|
548
567
|
<div class="refsect3">
|
549
|
-
<a name="id-1.2.2.10.3.6"></a><h4>Returns</h4>
|
568
|
+
<a name="id-1.2.2.2.10.3.6"></a><h4>Returns</h4>
|
550
569
|
<p> a new source buffer which will highlight text
|
551
570
|
according to the highlighting patterns in <em class="parameter"><code>language</code></em>
|
552
571
|
.</p>
|
@@ -569,7 +588,7 @@ patterns specified in the language set with
|
|
569
588
|
is disabled and all the GtkTextTag objects that have been added by the
|
570
589
|
syntax highlighting engine are removed from the buffer.</p>
|
571
590
|
<div class="refsect3">
|
572
|
-
<a name="id-1.2.2.10.4.5"></a><h4>Parameters</h4>
|
591
|
+
<a name="id-1.2.2.2.10.4.5"></a><h4>Parameters</h4>
|
573
592
|
<div class="informaltable"><table width="100%" border="0">
|
574
593
|
<colgroup>
|
575
594
|
<col width="150px" class="parameters_name">
|
@@ -600,7 +619,7 @@ gtk_source_buffer_get_highlight_syntax
|
|
600
619
|
<p>Determines whether syntax highlighting is activated in the source
|
601
620
|
buffer.</p>
|
602
621
|
<div class="refsect3">
|
603
|
-
<a name="id-1.2.2.10.5.5"></a><h4>Parameters</h4>
|
622
|
+
<a name="id-1.2.2.2.10.5.5"></a><h4>Parameters</h4>
|
604
623
|
<div class="informaltable"><table width="100%" border="0">
|
605
624
|
<colgroup>
|
606
625
|
<col width="150px" class="parameters_name">
|
@@ -615,7 +634,7 @@ buffer.</p>
|
|
615
634
|
</table></div>
|
616
635
|
</div>
|
617
636
|
<div class="refsect3">
|
618
|
-
<a name="id-1.2.2.10.5.6"></a><h4>Returns</h4>
|
637
|
+
<a name="id-1.2.2.2.10.5.6"></a><h4>Returns</h4>
|
619
638
|
<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 syntax highlighting is enabled, <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>
|
620
639
|
<p></p>
|
621
640
|
</div>
|
@@ -637,7 +656,7 @@ buffer is not highlighted.</p>
|
|
637
656
|
<p>The buffer holds a reference to <em class="parameter"><code>language</code></em>
|
638
657
|
.</p>
|
639
658
|
<div class="refsect3">
|
640
|
-
<a name="id-1.2.2.10.6.6"></a><h4>Parameters</h4>
|
659
|
+
<a name="id-1.2.2.2.10.6.6"></a><h4>Parameters</h4>
|
641
660
|
<div class="informaltable"><table width="100%" border="0">
|
642
661
|
<colgroup>
|
643
662
|
<col width="150px" class="parameters_name">
|
@@ -668,7 +687,7 @@ gtk_source_buffer_get_language (<em class="parameter"><code><a class="link" href
|
|
668
687
|
see <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-language" title="gtk_source_buffer_set_language ()"><code class="function">gtk_source_buffer_set_language()</code></a>. The returned object should not be
|
669
688
|
unreferenced by the user.</p>
|
670
689
|
<div class="refsect3">
|
671
|
-
<a name="id-1.2.2.10.7.5"></a><h4>Parameters</h4>
|
690
|
+
<a name="id-1.2.2.2.10.7.5"></a><h4>Parameters</h4>
|
672
691
|
<div class="informaltable"><table width="100%" border="0">
|
673
692
|
<colgroup>
|
674
693
|
<col width="150px" class="parameters_name">
|
@@ -683,7 +702,7 @@ unreferenced by the user.</p>
|
|
683
702
|
</table></div>
|
684
703
|
</div>
|
685
704
|
<div class="refsect3">
|
686
|
-
<a name="id-1.2.2.10.7.6"></a><h4>Returns</h4>
|
705
|
+
<a name="id-1.2.2.2.10.7.6"></a><h4>Returns</h4>
|
687
706
|
<p> the <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> associated with the buffer, 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>. </p>
|
688
707
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
689
708
|
</div>
|
@@ -700,7 +719,7 @@ activated, when you position your cursor over a bracket character
|
|
700
719
|
(a parenthesis, a square bracket, etc.) the matching opening or
|
701
720
|
closing bracket character will be highlighted.</p>
|
702
721
|
<div class="refsect3">
|
703
|
-
<a name="id-1.2.2.10.8.5"></a><h4>Parameters</h4>
|
722
|
+
<a name="id-1.2.2.2.10.8.5"></a><h4>Parameters</h4>
|
704
723
|
<div class="informaltable"><table width="100%" border="0">
|
705
724
|
<colgroup>
|
706
725
|
<col width="150px" class="parameters_name">
|
@@ -731,7 +750,7 @@ gtk_source_buffer_get_highlight_matching_brackets
|
|
731
750
|
<p>Determines whether bracket match highlighting is activated for the
|
732
751
|
source buffer.</p>
|
733
752
|
<div class="refsect3">
|
734
|
-
<a name="id-1.2.2.10.9.5"></a><h4>Parameters</h4>
|
753
|
+
<a name="id-1.2.2.2.10.9.5"></a><h4>Parameters</h4>
|
735
754
|
<div class="informaltable"><table width="100%" border="0">
|
736
755
|
<colgroup>
|
737
756
|
<col width="150px" class="parameters_name">
|
@@ -746,7 +765,7 @@ source buffer.</p>
|
|
746
765
|
</table></div>
|
747
766
|
</div>
|
748
767
|
<div class="refsect3">
|
749
|
-
<a name="id-1.2.2.10.9.6"></a><h4>Returns</h4>
|
768
|
+
<a name="id-1.2.2.2.10.9.6"></a><h4>Returns</h4>
|
750
769
|
<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 the source buffer will highlight matching
|
751
770
|
brackets.</p>
|
752
771
|
<p></p>
|
@@ -762,7 +781,7 @@ gtk_source_buffer_set_style_scheme (<em class="parameter"><code><a class="link"
|
|
762
781
|
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> no
|
763
782
|
style scheme is used.</p>
|
764
783
|
<div class="refsect3">
|
765
|
-
<a name="id-1.2.2.10.10.5"></a><h4>Parameters</h4>
|
784
|
+
<a name="id-1.2.2.2.10.10.5"></a><h4>Parameters</h4>
|
766
785
|
<div class="informaltable"><table width="100%" border="0">
|
767
786
|
<colgroup>
|
768
787
|
<col width="150px" class="parameters_name">
|
@@ -793,7 +812,7 @@ gtk_source_buffer_get_style_scheme (<em class="parameter"><code><a class="link"
|
|
793
812
|
see <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-style-scheme" title="gtk_source_buffer_set_style_scheme ()"><code class="function">gtk_source_buffer_set_style_scheme()</code></a>.
|
794
813
|
The returned object should not be unreferenced by the user.</p>
|
795
814
|
<div class="refsect3">
|
796
|
-
<a name="id-1.2.2.10.11.5"></a><h4>Parameters</h4>
|
815
|
+
<a name="id-1.2.2.2.10.11.5"></a><h4>Parameters</h4>
|
797
816
|
<div class="informaltable"><table width="100%" border="0">
|
798
817
|
<colgroup>
|
799
818
|
<col width="150px" class="parameters_name">
|
@@ -808,7 +827,7 @@ The returned object should not be unreferenced by the user.</p>
|
|
808
827
|
</table></div>
|
809
828
|
</div>
|
810
829
|
<div class="refsect3">
|
811
|
-
<a name="id-1.2.2.10.11.6"></a><h4>Returns</h4>
|
830
|
+
<a name="id-1.2.2.2.10.11.6"></a><h4>Returns</h4>
|
812
831
|
<p> the <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> associated
|
813
832
|
with the buffer, 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>. </p>
|
814
833
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
@@ -819,8 +838,8 @@ with the buffer, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/
|
|
819
838
|
<a name="gtk-source-buffer-ensure-highlight"></a><h3>gtk_source_buffer_ensure_highlight ()</h3>
|
820
839
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
821
840
|
gtk_source_buffer_ensure_highlight (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
822
|
-
<em class="parameter"><code>const <a href="
|
823
|
-
<em class="parameter"><code>const <a href="
|
841
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
842
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
824
843
|
<p>Forces buffer to analyze and highlight the given area synchronously.</p>
|
825
844
|
<div class="note"><p>
|
826
845
|
This is a potentially slow operation and should be used only
|
@@ -828,7 +847,7 @@ gtk_source_buffer_ensure_highlight (<em class="parameter"><code><a class="link"
|
|
828
847
|
visible is highlighted, for instance before printing.
|
829
848
|
</p></div>
|
830
849
|
<div class="refsect3">
|
831
|
-
<a name="id-1.2.2.10.12.6"></a><h4>Parameters</h4>
|
850
|
+
<a name="id-1.2.2.2.10.12.6"></a><h4>Parameters</h4>
|
832
851
|
<div class="informaltable"><table width="100%" border="0">
|
833
852
|
<colgroup>
|
834
853
|
<col width="150px" class="parameters_name">
|
@@ -865,7 +884,7 @@ gtk_source_buffer_undo (<em class="parameter"><code><a class="link" href="GtkSou
|
|
865
884
|
function will have any effect.</p>
|
866
885
|
<p>This function emits the <a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-undo" title="The “undo” signal"><span class="type">“undo”</span></a> signal.</p>
|
867
886
|
<div class="refsect3">
|
868
|
-
<a name="id-1.2.2.10.13.6"></a><h4>Parameters</h4>
|
887
|
+
<a name="id-1.2.2.2.10.13.6"></a><h4>Parameters</h4>
|
869
888
|
<div class="informaltable"><table width="100%" border="0">
|
870
889
|
<colgroup>
|
871
890
|
<col width="150px" class="parameters_name">
|
@@ -889,7 +908,7 @@ gtk_source_buffer_redo (<em class="parameter"><code><a class="link" href="GtkSou
|
|
889
908
|
to check whether a call to this function will have any effect.</p>
|
890
909
|
<p>This function emits the <a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-redo" title="The “redo” signal"><span class="type">“redo”</span></a> signal.</p>
|
891
910
|
<div class="refsect3">
|
892
|
-
<a name="id-1.2.2.10.14.6"></a><h4>Parameters</h4>
|
911
|
+
<a name="id-1.2.2.2.10.14.6"></a><h4>Parameters</h4>
|
893
912
|
<div class="informaltable"><table width="100%" border="0">
|
894
913
|
<colgroup>
|
895
914
|
<col width="150px" class="parameters_name">
|
@@ -911,7 +930,7 @@ to check whether a call to this function will have any effect.</p>
|
|
911
930
|
gtk_source_buffer_can_undo (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
912
931
|
<p>Determines whether a source buffer can undo the last action.</p>
|
913
932
|
<div class="refsect3">
|
914
|
-
<a name="id-1.2.2.10.15.5"></a><h4>Parameters</h4>
|
933
|
+
<a name="id-1.2.2.2.10.15.5"></a><h4>Parameters</h4>
|
915
934
|
<div class="informaltable"><table width="100%" border="0">
|
916
935
|
<colgroup>
|
917
936
|
<col width="150px" class="parameters_name">
|
@@ -926,7 +945,7 @@ gtk_source_buffer_can_undo (<em class="parameter"><code><a class="link" href="Gt
|
|
926
945
|
</table></div>
|
927
946
|
</div>
|
928
947
|
<div class="refsect3">
|
929
|
-
<a name="id-1.2.2.10.15.6"></a><h4>Returns</h4>
|
948
|
+
<a name="id-1.2.2.2.10.15.6"></a><h4>Returns</h4>
|
930
949
|
<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 it's possible to undo the last action.</p>
|
931
950
|
<p></p>
|
932
951
|
</div>
|
@@ -939,7 +958,7 @@ gtk_source_buffer_can_redo (<em class="parameter"><code><a class="link" href="Gt
|
|
939
958
|
<p>Determines whether a source buffer can redo the last action
|
940
959
|
(i.e. if the last operation was an undo).</p>
|
941
960
|
<div class="refsect3">
|
942
|
-
<a name="id-1.2.2.10.16.5"></a><h4>Parameters</h4>
|
961
|
+
<a name="id-1.2.2.2.10.16.5"></a><h4>Parameters</h4>
|
943
962
|
<div class="informaltable"><table width="100%" border="0">
|
944
963
|
<colgroup>
|
945
964
|
<col width="150px" class="parameters_name">
|
@@ -954,7 +973,7 @@ gtk_source_buffer_can_redo (<em class="parameter"><code><a class="link" href="Gt
|
|
954
973
|
</table></div>
|
955
974
|
</div>
|
956
975
|
<div class="refsect3">
|
957
|
-
<a name="id-1.2.2.10.16.6"></a><h4>Returns</h4>
|
976
|
+
<a name="id-1.2.2.2.10.16.6"></a><h4>Returns</h4>
|
958
977
|
<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 a redo is possible.</p>
|
959
978
|
<p></p>
|
960
979
|
</div>
|
@@ -972,7 +991,7 @@ loading a file in a text editor).</p>
|
|
972
991
|
<p>You may nest <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-begin-not-undoable-action" title="gtk_source_buffer_begin_not_undoable_action ()"><code class="function">gtk_source_buffer_begin_not_undoable_action()</code></a> /
|
973
992
|
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-end-not-undoable-action" title="gtk_source_buffer_end_not_undoable_action ()"><code class="function">gtk_source_buffer_end_not_undoable_action()</code></a> blocks.</p>
|
974
993
|
<div class="refsect3">
|
975
|
-
<a name="id-1.2.2.10.17.6"></a><h4>Parameters</h4>
|
994
|
+
<a name="id-1.2.2.2.10.17.6"></a><h4>Parameters</h4>
|
976
995
|
<div class="informaltable"><table width="100%" border="0">
|
977
996
|
<colgroup>
|
978
997
|
<col width="150px" class="parameters_name">
|
@@ -998,7 +1017,7 @@ last not undoable block is closed through the call to this
|
|
998
1017
|
function, the list of undo actions is cleared and the undo manager
|
999
1018
|
is re-enabled.</p>
|
1000
1019
|
<div class="refsect3">
|
1001
|
-
<a name="id-1.2.2.10.18.5"></a><h4>Parameters</h4>
|
1020
|
+
<a name="id-1.2.2.2.10.18.5"></a><h4>Parameters</h4>
|
1002
1021
|
<div class="informaltable"><table width="100%" border="0">
|
1003
1022
|
<colgroup>
|
1004
1023
|
<col width="150px" class="parameters_name">
|
@@ -1018,10 +1037,9 @@ is re-enabled.</p>
|
|
1018
1037
|
<a name="gtk-source-buffer-get-max-undo-levels"></a><h3>gtk_source_buffer_get_max_undo_levels ()</h3>
|
1019
1038
|
<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>
|
1020
1039
|
gtk_source_buffer_get_max_undo_levels (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
1021
|
-
<p>Determines the number of undo levels the buffer will track for
|
1022
|
-
buffer edits.</p>
|
1040
|
+
<p>Determines the number of undo levels the buffer will track for buffer edits.</p>
|
1023
1041
|
<div class="refsect3">
|
1024
|
-
<a name="id-1.2.2.10.19.5"></a><h4>Parameters</h4>
|
1042
|
+
<a name="id-1.2.2.2.10.19.5"></a><h4>Parameters</h4>
|
1025
1043
|
<div class="informaltable"><table width="100%" border="0">
|
1026
1044
|
<colgroup>
|
1027
1045
|
<col width="150px" class="parameters_name">
|
@@ -1036,9 +1054,8 @@ buffer edits.</p>
|
|
1036
1054
|
</table></div>
|
1037
1055
|
</div>
|
1038
1056
|
<div class="refsect3">
|
1039
|
-
<a name="id-1.2.2.10.19.6"></a><h4>Returns</h4>
|
1040
|
-
<p> the maximum number of possible undo levels or
|
1041
|
-
-1 if no limit is set.</p>
|
1057
|
+
<a name="id-1.2.2.2.10.19.6"></a><h4>Returns</h4>
|
1058
|
+
<p> the maximum number of possible undo levels or -1 if no limit is set.</p>
|
1042
1059
|
<p></p>
|
1043
1060
|
</div>
|
1044
1061
|
</div>
|
@@ -1054,7 +1071,7 @@ function, older actions will be discarded.</p>
|
|
1054
1071
|
<p>If <em class="parameter"><code>max_undo_levels</code></em>
|
1055
1072
|
is -1, no limit is set.</p>
|
1056
1073
|
<div class="refsect3">
|
1057
|
-
<a name="id-1.2.2.10.20.6"></a><h4>Parameters</h4>
|
1074
|
+
<a name="id-1.2.2.2.10.20.6"></a><h4>Parameters</h4>
|
1058
1075
|
<div class="informaltable"><table width="100%" border="0">
|
1059
1076
|
<colgroup>
|
1060
1077
|
<col width="150px" class="parameters_name">
|
@@ -1085,7 +1102,7 @@ gtk_source_buffer_get_undo_manager (<em class="parameter"><code><a class="link"
|
|
1085
1102
|
see <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-undo-manager" title="gtk_source_buffer_set_undo_manager ()"><code class="function">gtk_source_buffer_set_undo_manager()</code></a>. The returned object should not be
|
1086
1103
|
unreferenced by the user.</p>
|
1087
1104
|
<div class="refsect3">
|
1088
|
-
<a name="id-1.2.2.10.21.5"></a><h4>Parameters</h4>
|
1105
|
+
<a name="id-1.2.2.2.10.21.5"></a><h4>Parameters</h4>
|
1089
1106
|
<div class="informaltable"><table width="100%" border="0">
|
1090
1107
|
<colgroup>
|
1091
1108
|
<col width="150px" class="parameters_name">
|
@@ -1100,7 +1117,7 @@ unreferenced by the user.</p>
|
|
1100
1117
|
</table></div>
|
1101
1118
|
</div>
|
1102
1119
|
<div class="refsect3">
|
1103
|
-
<a name="id-1.2.2.10.21.6"></a><h4>Returns</h4>
|
1120
|
+
<a name="id-1.2.2.2.10.21.6"></a><h4>Returns</h4>
|
1104
1121
|
<p> the <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a> associated
|
1105
1122
|
with the buffer, 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>. </p>
|
1106
1123
|
<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>
|
@@ -1116,7 +1133,7 @@ gtk_source_buffer_set_undo_manager (<em class="parameter"><code><a class="link"
|
|
1116
1133
|
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> the default undo manager
|
1117
1134
|
will be set.</p>
|
1118
1135
|
<div class="refsect3">
|
1119
|
-
<a name="id-1.2.2.10.22.5"></a><h4>Parameters</h4>
|
1136
|
+
<a name="id-1.2.2.2.10.22.5"></a><h4>Parameters</h4>
|
1120
1137
|
<div class="informaltable"><table width="100%" border="0">
|
1121
1138
|
<colgroup>
|
1122
1139
|
<col width="150px" class="parameters_name">
|
@@ -1144,14 +1161,14 @@ will be set.</p>
|
|
1144
1161
|
<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>
|
1145
1162
|
gtk_source_buffer_iter_has_context_class
|
1146
1163
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1147
|
-
<em class="parameter"><code>const <a href="
|
1164
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1148
1165
|
<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> *context_class</code></em>);</pre>
|
1149
1166
|
<p>Check if the class <em class="parameter"><code>context_class</code></em>
|
1150
1167
|
is set on <em class="parameter"><code>iter</code></em>
|
1151
1168
|
.</p>
|
1152
1169
|
<p>See the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> description for the list of default context classes.</p>
|
1153
1170
|
<div class="refsect3">
|
1154
|
-
<a name="id-1.2.2.10.23.6"></a><h4>Parameters</h4>
|
1171
|
+
<a name="id-1.2.2.2.10.23.6"></a><h4>Parameters</h4>
|
1155
1172
|
<div class="informaltable"><table width="100%" border="0">
|
1156
1173
|
<colgroup>
|
1157
1174
|
<col width="150px" class="parameters_name">
|
@@ -1166,7 +1183,7 @@ gtk_source_buffer_iter_has_context_class
|
|
1166
1183
|
</tr>
|
1167
1184
|
<tr>
|
1168
1185
|
<td class="parameter_name"><p>iter</p></td>
|
1169
|
-
<td class="parameter_description"><p>a <a href="
|
1186
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</p></td>
|
1170
1187
|
<td class="parameter_annotations"> </td>
|
1171
1188
|
</tr>
|
1172
1189
|
<tr>
|
@@ -1178,7 +1195,7 @@ gtk_source_buffer_iter_has_context_class
|
|
1178
1195
|
</table></div>
|
1179
1196
|
</div>
|
1180
1197
|
<div class="refsect3">
|
1181
|
-
<a name="id-1.2.2.10.23.7"></a><h4>Returns</h4>
|
1198
|
+
<a name="id-1.2.2.2.10.23.7"></a><h4>Returns</h4>
|
1182
1199
|
<p> whether <em class="parameter"><code>iter</code></em>
|
1183
1200
|
has the context class.</p>
|
1184
1201
|
<p></p>
|
@@ -1191,12 +1208,12 @@ has the context class.</p>
|
|
1191
1208
|
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
1192
1209
|
gtk_source_buffer_get_context_classes_at_iter
|
1193
1210
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1194
|
-
<em class="parameter"><code>const <a href="
|
1211
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
1195
1212
|
<p>Get all defined context classes at <em class="parameter"><code>iter</code></em>
|
1196
1213
|
.</p>
|
1197
1214
|
<p>See the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> description for the list of default context classes.</p>
|
1198
1215
|
<div class="refsect3">
|
1199
|
-
<a name="id-1.2.2.10.24.6"></a><h4>Parameters</h4>
|
1216
|
+
<a name="id-1.2.2.2.10.24.6"></a><h4>Parameters</h4>
|
1200
1217
|
<div class="informaltable"><table width="100%" border="0">
|
1201
1218
|
<colgroup>
|
1202
1219
|
<col width="150px" class="parameters_name">
|
@@ -1211,14 +1228,14 @@ gtk_source_buffer_get_context_classes_at_iter
|
|
1211
1228
|
</tr>
|
1212
1229
|
<tr>
|
1213
1230
|
<td class="parameter_name"><p>iter</p></td>
|
1214
|
-
<td class="parameter_description"><p>a <a href="
|
1231
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</p></td>
|
1215
1232
|
<td class="parameter_annotations"> </td>
|
1216
1233
|
</tr>
|
1217
1234
|
</tbody>
|
1218
1235
|
</table></div>
|
1219
1236
|
</div>
|
1220
1237
|
<div class="refsect3">
|
1221
|
-
<a name="id-1.2.2.10.24.7"></a><h4>Returns</h4>
|
1238
|
+
<a name="id-1.2.2.2.10.24.7"></a><h4>Returns</h4>
|
1222
1239
|
<p> a new <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>
|
1223
1240
|
terminated array of context class names.
|
1224
1241
|
Use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a> to free the array if it is no longer needed. </p>
|
@@ -1232,7 +1249,7 @@ Use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/ht
|
|
1232
1249
|
<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>
|
1233
1250
|
gtk_source_buffer_iter_forward_to_context_class_toggle
|
1234
1251
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1235
|
-
<em class="parameter"><code><a href="
|
1252
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1236
1253
|
<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> *context_class</code></em>);</pre>
|
1237
1254
|
<p>Moves forward to the next toggle (on or off) of the context class. If no
|
1238
1255
|
matching context class toggles are found, 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>, otherwise <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>.
|
@@ -1244,7 +1261,7 @@ Does not return toggles located at <em class="parameter"><code>iter</code></em>
|
|
1244
1261
|
toggle is found.</p>
|
1245
1262
|
<p>See the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> description for the list of default context classes.</p>
|
1246
1263
|
<div class="refsect3">
|
1247
|
-
<a name="id-1.2.2.10.25.6"></a><h4>Parameters</h4>
|
1264
|
+
<a name="id-1.2.2.2.10.25.6"></a><h4>Parameters</h4>
|
1248
1265
|
<div class="informaltable"><table width="100%" border="0">
|
1249
1266
|
<colgroup>
|
1250
1267
|
<col width="150px" class="parameters_name">
|
@@ -1259,7 +1276,7 @@ toggle is found.</p>
|
|
1259
1276
|
</tr>
|
1260
1277
|
<tr>
|
1261
1278
|
<td class="parameter_name"><p>iter</p></td>
|
1262
|
-
<td class="parameter_description"><p> a <a href="
|
1279
|
+
<td class="parameter_description"><p> a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>. </p></td>
|
1263
1280
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td>
|
1264
1281
|
</tr>
|
1265
1282
|
<tr>
|
@@ -1271,7 +1288,7 @@ toggle is found.</p>
|
|
1271
1288
|
</table></div>
|
1272
1289
|
</div>
|
1273
1290
|
<div class="refsect3">
|
1274
|
-
<a name="id-1.2.2.10.25.7"></a><h4>Returns</h4>
|
1291
|
+
<a name="id-1.2.2.2.10.25.7"></a><h4>Returns</h4>
|
1275
1292
|
<p> whether we found a context class toggle after <em class="parameter"><code>iter</code></em>
|
1276
1293
|
</p>
|
1277
1294
|
<p></p>
|
@@ -1284,7 +1301,7 @@ toggle is found.</p>
|
|
1284
1301
|
<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>
|
1285
1302
|
gtk_source_buffer_iter_backward_to_context_class_toggle
|
1286
1303
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1287
|
-
<em class="parameter"><code><a href="
|
1304
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1288
1305
|
<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> *context_class</code></em>);</pre>
|
1289
1306
|
<p>Moves backward to the next toggle (on or off) of the context class. If no
|
1290
1307
|
matching context class toggles are found, 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>, otherwise <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>.
|
@@ -1296,7 +1313,7 @@ Does not return toggles located at <em class="parameter"><code>iter</code></em>
|
|
1296
1313
|
toggle is found.</p>
|
1297
1314
|
<p>See the <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> description for the list of default context classes.</p>
|
1298
1315
|
<div class="refsect3">
|
1299
|
-
<a name="id-1.2.2.10.26.6"></a><h4>Parameters</h4>
|
1316
|
+
<a name="id-1.2.2.2.10.26.6"></a><h4>Parameters</h4>
|
1300
1317
|
<div class="informaltable"><table width="100%" border="0">
|
1301
1318
|
<colgroup>
|
1302
1319
|
<col width="150px" class="parameters_name">
|
@@ -1311,7 +1328,7 @@ toggle is found.</p>
|
|
1311
1328
|
</tr>
|
1312
1329
|
<tr>
|
1313
1330
|
<td class="parameter_name"><p>iter</p></td>
|
1314
|
-
<td class="parameter_description"><p> a <a href="
|
1331
|
+
<td class="parameter_description"><p> a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>. </p></td>
|
1315
1332
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span></td>
|
1316
1333
|
</tr>
|
1317
1334
|
<tr>
|
@@ -1323,7 +1340,7 @@ toggle is found.</p>
|
|
1323
1340
|
</table></div>
|
1324
1341
|
</div>
|
1325
1342
|
<div class="refsect3">
|
1326
|
-
<a name="id-1.2.2.10.26.7"></a><h4>Returns</h4>
|
1343
|
+
<a name="id-1.2.2.2.10.26.7"></a><h4>Returns</h4>
|
1327
1344
|
<p> whether we found a context class toggle before <em class="parameter"><code>iter</code></em>
|
1328
1345
|
</p>
|
1329
1346
|
<p></p>
|
@@ -1337,13 +1354,13 @@ toggle is found.</p>
|
|
1337
1354
|
gtk_source_buffer_create_source_mark (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1338
1355
|
<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>,
|
1339
1356
|
<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> *category</code></em>,
|
1340
|
-
<em class="parameter"><code>const <a href="
|
1357
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *where</code></em>);</pre>
|
1341
1358
|
<p>Creates a source mark in the <em class="parameter"><code>buffer</code></em>
|
1342
1359
|
of category <em class="parameter"><code>category</code></em>
|
1343
1360
|
. A source mark is
|
1344
|
-
a <a href="
|
1361
|
+
a <a href="http://developer.gnome.org/gtk2/GtkTextMark.html"><span class="type">GtkTextMark</span></a> but organised into categories. Depending on the category
|
1345
1362
|
a pixbuf can be specified that will be displayed along the line of the mark.</p>
|
1346
|
-
<p>Like a <a href="
|
1363
|
+
<p>Like a <a href="http://developer.gnome.org/gtk2/GtkTextMark.html"><span class="type">GtkTextMark</span></a>, a <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> can be anonymous if the
|
1347
1364
|
passed <em class="parameter"><code>name</code></em>
|
1348
1365
|
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>. Also, the buffer owns the marks so you
|
1349
1366
|
shouldn't unreference it.</p>
|
@@ -1352,7 +1369,7 @@ the line when the user deletes the line they were in.</p>
|
|
1352
1369
|
<p>Typical uses for a source mark are bookmarks, breakpoints, current
|
1353
1370
|
executing instruction indication in a source file, etc..</p>
|
1354
1371
|
<div class="refsect3">
|
1355
|
-
<a name="id-1.2.2.10.27.8"></a><h4>Parameters</h4>
|
1372
|
+
<a name="id-1.2.2.2.10.27.8"></a><h4>Parameters</h4>
|
1356
1373
|
<div class="informaltable"><table width="100%" border="0">
|
1357
1374
|
<colgroup>
|
1358
1375
|
<col width="150px" class="parameters_name">
|
@@ -1384,7 +1401,7 @@ executing instruction indication in a source file, etc..</p>
|
|
1384
1401
|
</table></div>
|
1385
1402
|
</div>
|
1386
1403
|
<div class="refsect3">
|
1387
|
-
<a name="id-1.2.2.10.27.9"></a><h4>Returns</h4>
|
1404
|
+
<a name="id-1.2.2.2.10.27.9"></a><h4>Returns</h4>
|
1388
1405
|
<p> a new <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a>, owned by the buffer. </p>
|
1389
1406
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1390
1407
|
</div>
|
@@ -1396,7 +1413,7 @@ executing instruction indication in a source file, etc..</p>
|
|
1396
1413
|
<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>
|
1397
1414
|
gtk_source_buffer_forward_iter_to_source_mark
|
1398
1415
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1399
|
-
<em class="parameter"><code><a href="
|
1416
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1400
1417
|
<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> *category</code></em>);</pre>
|
1401
1418
|
<p>Moves <em class="parameter"><code>iter</code></em>
|
1402
1419
|
to the position of the next <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> of the given
|
@@ -1406,7 +1423,7 @@ gtk_source_buffer_forward_iter_to_source_mark
|
|
1406
1423
|
is NULL, the
|
1407
1424
|
next source mark can be of any category.</p>
|
1408
1425
|
<div class="refsect3">
|
1409
|
-
<a name="id-1.2.2.10.28.5"></a><h4>Parameters</h4>
|
1426
|
+
<a name="id-1.2.2.2.10.28.5"></a><h4>Parameters</h4>
|
1410
1427
|
<div class="informaltable"><table width="100%" border="0">
|
1411
1428
|
<colgroup>
|
1412
1429
|
<col width="150px" class="parameters_name">
|
@@ -1433,7 +1450,7 @@ next source mark can be of any category.</p>
|
|
1433
1450
|
</table></div>
|
1434
1451
|
</div>
|
1435
1452
|
<div class="refsect3">
|
1436
|
-
<a name="id-1.2.2.10.28.6"></a><h4>Returns</h4>
|
1453
|
+
<a name="id-1.2.2.2.10.28.6"></a><h4>Returns</h4>
|
1437
1454
|
<p> whether <em class="parameter"><code>iter</code></em>
|
1438
1455
|
was moved.</p>
|
1439
1456
|
<p></p>
|
@@ -1446,7 +1463,7 @@ was moved.</p>
|
|
1446
1463
|
<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>
|
1447
1464
|
gtk_source_buffer_backward_iter_to_source_mark
|
1448
1465
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1449
|
-
<em class="parameter"><code><a href="
|
1466
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1450
1467
|
<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> *category</code></em>);</pre>
|
1451
1468
|
<p>Moves <em class="parameter"><code>iter</code></em>
|
1452
1469
|
to the position of the previous <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> of the given
|
@@ -1455,7 +1472,7 @@ category. Returns <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/sh
|
|
1455
1472
|
is NULL, the
|
1456
1473
|
previous source mark can be of any category.</p>
|
1457
1474
|
<div class="refsect3">
|
1458
|
-
<a name="id-1.2.2.10.29.5"></a><h4>Parameters</h4>
|
1475
|
+
<a name="id-1.2.2.2.10.29.5"></a><h4>Parameters</h4>
|
1459
1476
|
<div class="informaltable"><table width="100%" border="0">
|
1460
1477
|
<colgroup>
|
1461
1478
|
<col width="150px" class="parameters_name">
|
@@ -1482,7 +1499,7 @@ previous source mark can be of any category.</p>
|
|
1482
1499
|
</table></div>
|
1483
1500
|
</div>
|
1484
1501
|
<div class="refsect3">
|
1485
|
-
<a name="id-1.2.2.10.29.6"></a><h4>Returns</h4>
|
1502
|
+
<a name="id-1.2.2.2.10.29.6"></a><h4>Returns</h4>
|
1486
1503
|
<p> whether <em class="parameter"><code>iter</code></em>
|
1487
1504
|
was moved.</p>
|
1488
1505
|
<p></p>
|
@@ -1503,7 +1520,7 @@ If <em class="parameter"><code>category</code></em>
|
|
1503
1520
|
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>, all marks at <em class="parameter"><code>line</code></em>
|
1504
1521
|
are returned.</p>
|
1505
1522
|
<div class="refsect3">
|
1506
|
-
<a name="id-1.2.2.10.30.5"></a><h4>Parameters</h4>
|
1523
|
+
<a name="id-1.2.2.2.10.30.5"></a><h4>Parameters</h4>
|
1507
1524
|
<div class="informaltable"><table width="100%" border="0">
|
1508
1525
|
<colgroup>
|
1509
1526
|
<col width="150px" class="parameters_name">
|
@@ -1530,7 +1547,7 @@ If <em class="parameter"><code>category</code></em>
|
|
1530
1547
|
</table></div>
|
1531
1548
|
</div>
|
1532
1549
|
<div class="refsect3">
|
1533
|
-
<a name="id-1.2.2.10.30.6"></a><h4>Returns</h4>
|
1550
|
+
<a name="id-1.2.2.2.10.30.6"></a><h4>Returns</h4>
|
1534
1551
|
<p>a newly allocated <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>. </p>
|
1535
1552
|
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkSource.Mark][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></p>
|
1536
1553
|
</div>
|
@@ -1542,7 +1559,7 @@ If <em class="parameter"><code>category</code></em>
|
|
1542
1559
|
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
1543
1560
|
gtk_source_buffer_get_source_marks_at_iter
|
1544
1561
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1545
|
-
<em class="parameter"><code><a href="
|
1562
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
1546
1563
|
<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> *category</code></em>);</pre>
|
1547
1564
|
<p>Returns the list of marks of the given category at <em class="parameter"><code>iter</code></em>
|
1548
1565
|
. If <em class="parameter"><code>category</code></em>
|
@@ -1550,7 +1567,7 @@ gtk_source_buffer_get_source_marks_at_iter
|
|
1550
1567
|
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> it returns all marks at <em class="parameter"><code>iter</code></em>
|
1551
1568
|
.</p>
|
1552
1569
|
<div class="refsect3">
|
1553
|
-
<a name="id-1.2.2.10.31.5"></a><h4>Parameters</h4>
|
1570
|
+
<a name="id-1.2.2.2.10.31.5"></a><h4>Parameters</h4>
|
1554
1571
|
<div class="informaltable"><table width="100%" border="0">
|
1555
1572
|
<colgroup>
|
1556
1573
|
<col width="150px" class="parameters_name">
|
@@ -1577,7 +1594,7 @@ is <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/htm
|
|
1577
1594
|
</table></div>
|
1578
1595
|
</div>
|
1579
1596
|
<div class="refsect3">
|
1580
|
-
<a name="id-1.2.2.10.31.6"></a><h4>Returns</h4>
|
1597
|
+
<a name="id-1.2.2.2.10.31.6"></a><h4>Returns</h4>
|
1581
1598
|
<p>a newly allocated <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>. </p>
|
1582
1599
|
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkSource.Mark][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></p>
|
1583
1600
|
</div>
|
@@ -1588,8 +1605,8 @@ is <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/htm
|
|
1588
1605
|
<a name="gtk-source-buffer-remove-source-marks"></a><h3>gtk_source_buffer_remove_source_marks ()</h3>
|
1589
1606
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1590
1607
|
gtk_source_buffer_remove_source_marks (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1591
|
-
<em class="parameter"><code>const <a href="
|
1592
|
-
<em class="parameter"><code>const <a href="
|
1608
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
1609
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *end</code></em>,
|
1593
1610
|
<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> *category</code></em>);</pre>
|
1594
1611
|
<p>Remove all marks of <em class="parameter"><code>category</code></em>
|
1595
1612
|
between <em class="parameter"><code>start</code></em>
|
@@ -1598,7 +1615,7 @@ gtk_source_buffer_remove_source_marks (<em class="parameter"><code><a class="lin
|
|
1598
1615
|
If <em class="parameter"><code>category</code></em>
|
1599
1616
|
is NULL, all marks in the range will be removed.</p>
|
1600
1617
|
<div class="refsect3">
|
1601
|
-
<a name="id-1.2.2.10.32.5"></a><h4>Parameters</h4>
|
1618
|
+
<a name="id-1.2.2.2.10.32.5"></a><h4>Parameters</h4>
|
1602
1619
|
<div class="informaltable"><table width="100%" border="0">
|
1603
1620
|
<colgroup>
|
1604
1621
|
<col width="150px" class="parameters_name">
|
@@ -1613,12 +1630,12 @@ If <em class="parameter"><code>category</code></em>
|
|
1613
1630
|
</tr>
|
1614
1631
|
<tr>
|
1615
1632
|
<td class="parameter_name"><p>start</p></td>
|
1616
|
-
<td class="parameter_description"><p>a <a href="
|
1633
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</p></td>
|
1617
1634
|
<td class="parameter_annotations"> </td>
|
1618
1635
|
</tr>
|
1619
1636
|
<tr>
|
1620
1637
|
<td class="parameter_name"><p>end</p></td>
|
1621
|
-
<td class="parameter_description"><p>a <a href="
|
1638
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</p></td>
|
1622
1639
|
<td class="parameter_annotations"> </td>
|
1623
1640
|
</tr>
|
1624
1641
|
<tr>
|
@@ -1637,11 +1654,11 @@ If <em class="parameter"><code>category</code></em>
|
|
1637
1654
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1638
1655
|
gtk_source_buffer_change_case (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1639
1656
|
<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html#GtkSourceChangeCaseType" title="enum GtkSourceChangeCaseType"><span class="type">GtkSourceChangeCaseType</span></a> case_type</code></em>,
|
1640
|
-
<em class="parameter"><code><a href="
|
1641
|
-
<em class="parameter"><code><a href="
|
1657
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
1658
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
1642
1659
|
<p>Changes the case of the text between the specified iterators.</p>
|
1643
1660
|
<div class="refsect3">
|
1644
|
-
<a name="id-1.2.2.10.33.5"></a><h4>Parameters</h4>
|
1661
|
+
<a name="id-1.2.2.2.10.33.5"></a><h4>Parameters</h4>
|
1645
1662
|
<div class="informaltable"><table width="100%" border="0">
|
1646
1663
|
<colgroup>
|
1647
1664
|
<col width="150px" class="parameters_name">
|
@@ -1661,12 +1678,12 @@ gtk_source_buffer_change_case (<em class="parameter"><code><a class="link" href=
|
|
1661
1678
|
</tr>
|
1662
1679
|
<tr>
|
1663
1680
|
<td class="parameter_name"><p>start</p></td>
|
1664
|
-
<td class="parameter_description"><p>a <a href="
|
1681
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</p></td>
|
1665
1682
|
<td class="parameter_annotations"> </td>
|
1666
1683
|
</tr>
|
1667
1684
|
<tr>
|
1668
1685
|
<td class="parameter_name"><p>end</p></td>
|
1669
|
-
<td class="parameter_description"><p>a <a href="
|
1686
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</p></td>
|
1670
1687
|
<td class="parameter_annotations"> </td>
|
1671
1688
|
</tr>
|
1672
1689
|
</tbody>
|
@@ -1676,6 +1693,43 @@ gtk_source_buffer_change_case (<em class="parameter"><code><a class="link" href=
|
|
1676
1693
|
</div>
|
1677
1694
|
<hr>
|
1678
1695
|
<div class="refsect2">
|
1696
|
+
<a name="gtk-source-buffer-join-lines"></a><h3>gtk_source_buffer_join_lines ()</h3>
|
1697
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1698
|
+
gtk_source_buffer_join_lines (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
|
1699
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
1700
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
1701
|
+
<p>Joins the lines of text between the specified iterators.</p>
|
1702
|
+
<div class="refsect3">
|
1703
|
+
<a name="id-1.2.2.2.10.34.5"></a><h4>Parameters</h4>
|
1704
|
+
<div class="informaltable"><table width="100%" border="0">
|
1705
|
+
<colgroup>
|
1706
|
+
<col width="150px" class="parameters_name">
|
1707
|
+
<col class="parameters_description">
|
1708
|
+
<col width="200px" class="parameters_annotations">
|
1709
|
+
</colgroup>
|
1710
|
+
<tbody>
|
1711
|
+
<tr>
|
1712
|
+
<td class="parameter_name"><p>buffer</p></td>
|
1713
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.</p></td>
|
1714
|
+
<td class="parameter_annotations"> </td>
|
1715
|
+
</tr>
|
1716
|
+
<tr>
|
1717
|
+
<td class="parameter_name"><p>start</p></td>
|
1718
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</p></td>
|
1719
|
+
<td class="parameter_annotations"> </td>
|
1720
|
+
</tr>
|
1721
|
+
<tr>
|
1722
|
+
<td class="parameter_name"><p>end</p></td>
|
1723
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</p></td>
|
1724
|
+
<td class="parameter_annotations"> </td>
|
1725
|
+
</tr>
|
1726
|
+
</tbody>
|
1727
|
+
</table></div>
|
1728
|
+
</div>
|
1729
|
+
<p class="since">Since 3.16</p>
|
1730
|
+
</div>
|
1731
|
+
<hr>
|
1732
|
+
<div class="refsect2">
|
1679
1733
|
<a name="gtk-source-buffer-set-implicit-trailing-newline"></a><h3>gtk_source_buffer_set_implicit_trailing_newline ()</h3>
|
1680
1734
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1681
1735
|
gtk_source_buffer_set_implicit_trailing_newline
|
@@ -1683,7 +1737,7 @@ gtk_source_buffer_set_implicit_trailing_newline
|
|
1683
1737
|
<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> implicit_trailing_newline</code></em>);</pre>
|
1684
1738
|
<p>Sets whether the <em class="parameter"><code>buffer</code></em>
|
1685
1739
|
has an implicit trailing newline.</p>
|
1686
|
-
<p>If an explicit trailing newline is present in a <a href="
|
1740
|
+
<p>If an explicit trailing newline is present in a <a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a>, <a href="http://developer.gnome.org/gtk2/GtkTextView.html"><span class="type">GtkTextView</span></a>
|
1687
1741
|
shows it as an empty line. This is generally not what the user expects.</p>
|
1688
1742
|
<p>If <em class="parameter"><code>implicit_trailing_newline</code></em>
|
1689
1743
|
is <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> (the default value):</p>
|
@@ -1704,7 +1758,7 @@ content is not modified when loaded into the <em class="parameter"><code>buffer<
|
|
1704
1758
|
's
|
1705
1759
|
content is not modified when saved into a file.</p>
|
1706
1760
|
<div class="refsect3">
|
1707
|
-
<a name="id-1.2.2.10.
|
1761
|
+
<a name="id-1.2.2.2.10.35.9"></a><h4>Parameters</h4>
|
1708
1762
|
<div class="informaltable"><table width="100%" border="0">
|
1709
1763
|
<colgroup>
|
1710
1764
|
<col width="150px" class="parameters_name">
|
@@ -1734,7 +1788,7 @@ content is not modified when saved into a file.</p>
|
|
1734
1788
|
gtk_source_buffer_get_implicit_trailing_newline
|
1735
1789
|
(<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
|
1736
1790
|
<div class="refsect3">
|
1737
|
-
<a name="id-1.2.2.10.
|
1791
|
+
<a name="id-1.2.2.2.10.36.4"></a><h4>Parameters</h4>
|
1738
1792
|
<div class="informaltable"><table width="100%" border="0">
|
1739
1793
|
<colgroup>
|
1740
1794
|
<col width="150px" class="parameters_name">
|
@@ -1749,7 +1803,7 @@ gtk_source_buffer_get_implicit_trailing_newline
|
|
1749
1803
|
</table></div>
|
1750
1804
|
</div>
|
1751
1805
|
<div class="refsect3">
|
1752
|
-
<a name="id-1.2.2.10.
|
1806
|
+
<a name="id-1.2.2.2.10.36.5"></a><h4>Returns</h4>
|
1753
1807
|
<p> whether the <em class="parameter"><code>buffer</code></em>
|
1754
1808
|
has an implicit trailing newline.</p>
|
1755
1809
|
<p></p>
|
@@ -1767,7 +1821,7 @@ has an implicit trailing newline.</p>
|
|
1767
1821
|
<div class="refsect2">
|
1768
1822
|
<a name="GtkSourceBracketMatchType"></a><h3>enum GtkSourceBracketMatchType</h3>
|
1769
1823
|
<div class="refsect3">
|
1770
|
-
<a name="id-1.2.2.11.3.3"></a><h4>Members</h4>
|
1824
|
+
<a name="id-1.2.2.2.11.3.3"></a><h4>Members</h4>
|
1771
1825
|
<div class="informaltable"><table width="100%" border="0">
|
1772
1826
|
<colgroup>
|
1773
1827
|
<col width="300px" class="enum_members_name">
|
@@ -1812,7 +1866,7 @@ has an implicit trailing newline.</p>
|
|
1812
1866
|
<div class="refsect2">
|
1813
1867
|
<a name="GtkSourceChangeCaseType"></a><h3>enum GtkSourceChangeCaseType</h3>
|
1814
1868
|
<div class="refsect3">
|
1815
|
-
<a name="id-1.2.2.11.4.3"></a><h4>Members</h4>
|
1869
|
+
<a name="id-1.2.2.2.11.4.3"></a><h4>Members</h4>
|
1816
1870
|
<div class="informaltable"><table width="100%" border="0">
|
1817
1871
|
<colgroup>
|
1818
1872
|
<col width="300px" class="enum_members_name">
|
@@ -1937,7 +1991,7 @@ brackets style.</p>
|
|
1937
1991
|
<a name="GtkSourceBuffer-bracket-matched"></a><h3>The <code class="literal">“bracket-matched”</code> signal</h3>
|
1938
1992
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1939
1993
|
user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
1940
|
-
<a href="
|
1994
|
+
<a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter,
|
1941
1995
|
<a class="link" href="GtkSourceBuffer.html#GtkSourceBracketMatchType" title="enum GtkSourceBracketMatchType"><span class="type">GtkSourceBracketMatchType</span></a> state,
|
1942
1996
|
<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)</pre>
|
1943
1997
|
<p>Sets <em class="parameter"><code>iter</code></em>
|
@@ -1947,7 +2001,7 @@ if <em class="parameter"><code>state</code></em>
|
|
1947
2001
|
is
|
1948
2002
|
meaningless.</p>
|
1949
2003
|
<div class="refsect3">
|
1950
|
-
<a name="id-1.2.2.13.2.5"></a><h4>Parameters</h4>
|
2004
|
+
<a name="id-1.2.2.2.13.2.5"></a><h4>Parameters</h4>
|
1951
2005
|
<div class="informaltable"><table width="100%" border="0">
|
1952
2006
|
<colgroup>
|
1953
2007
|
<col width="150px" class="parameters_name">
|
@@ -1978,7 +2032,7 @@ meaningless.</p>
|
|
1978
2032
|
</tbody>
|
1979
2033
|
</table></div>
|
1980
2034
|
</div>
|
1981
|
-
<p>Flags: Run Last</p>
|
2035
|
+
<p>Flags: <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
1982
2036
|
<p class="since">Since 2.12</p>
|
1983
2037
|
</div>
|
1984
2038
|
<hr>
|
@@ -1986,8 +2040,8 @@ meaningless.</p>
|
|
1986
2040
|
<a name="GtkSourceBuffer-highlight-updated"></a><h3>The <code class="literal">“highlight-updated”</code> signal</h3>
|
1987
2041
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1988
2042
|
user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
1989
|
-
<a href="
|
1990
|
-
<a href="
|
2043
|
+
<a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *start,
|
2044
|
+
<a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *end,
|
1991
2045
|
<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)</pre>
|
1992
2046
|
<p>The ::highlight-updated signal is emitted when the syntax
|
1993
2047
|
highlighting is updated in a certain region of the <em class="parameter"><code>buffer</code></em>
|
@@ -1995,7 +2049,7 @@ highlighting is updated in a certain region of the <em class="parameter"><code>b
|
|
1995
2049
|
signal is useful to be notified when a context class region is
|
1996
2050
|
updated (e.g. the no-spell-check context class).</p>
|
1997
2051
|
<div class="refsect3">
|
1998
|
-
<a name="id-1.2.2.13.3.5"></a><h4>Parameters</h4>
|
2052
|
+
<a name="id-1.2.2.2.13.3.5"></a><h4>Parameters</h4>
|
1999
2053
|
<div class="informaltable"><table width="100%" border="0">
|
2000
2054
|
<colgroup>
|
2001
2055
|
<col width="150px" class="parameters_name">
|
@@ -2026,7 +2080,7 @@ updated (e.g. the no-spell-check context class).</p>
|
|
2026
2080
|
</tbody>
|
2027
2081
|
</table></div>
|
2028
2082
|
</div>
|
2029
|
-
<p>Flags: Run Last</p>
|
2083
|
+
<p>Flags: <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2030
2084
|
</div>
|
2031
2085
|
<hr>
|
2032
2086
|
<div class="refsect2">
|
@@ -2036,7 +2090,7 @@ user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffe
|
|
2036
2090
|
<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)</pre>
|
2037
2091
|
<p>The ::redo signal is emitted to redo the last undo operation.</p>
|
2038
2092
|
<div class="refsect3">
|
2039
|
-
<a name="id-1.2.2.13.4.5"></a><h4>Parameters</h4>
|
2093
|
+
<a name="id-1.2.2.2.13.4.5"></a><h4>Parameters</h4>
|
2040
2094
|
<div class="informaltable"><table width="100%" border="0">
|
2041
2095
|
<colgroup>
|
2042
2096
|
<col width="150px" class="parameters_name">
|
@@ -2057,20 +2111,20 @@ user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffe
|
|
2057
2111
|
</tbody>
|
2058
2112
|
</table></div>
|
2059
2113
|
</div>
|
2060
|
-
<p>Flags: Run Last</p>
|
2114
|
+
<p>Flags: <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2061
2115
|
</div>
|
2062
2116
|
<hr>
|
2063
2117
|
<div class="refsect2">
|
2064
2118
|
<a name="GtkSourceBuffer-source-mark-updated"></a><h3>The <code class="literal">“source-mark-updated”</code> signal</h3>
|
2065
2119
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2066
2120
|
user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
|
2067
|
-
<a href="
|
2121
|
+
<a href="http://developer.gnome.org/gtk2/GtkTextMark.html"><span class="type">GtkTextMark</span></a> *mark,
|
2068
2122
|
<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)</pre>
|
2069
2123
|
<p>The ::source_mark_updated signal is emitted each time
|
2070
2124
|
a mark is added to, moved or removed from the <em class="parameter"><code>buffer</code></em>
|
2071
2125
|
.</p>
|
2072
2126
|
<div class="refsect3">
|
2073
|
-
<a name="id-1.2.2.13.5.5"></a><h4>Parameters</h4>
|
2127
|
+
<a name="id-1.2.2.2.13.5.5"></a><h4>Parameters</h4>
|
2074
2128
|
<div class="informaltable"><table width="100%" border="0">
|
2075
2129
|
<colgroup>
|
2076
2130
|
<col width="150px" class="parameters_name">
|
@@ -2096,7 +2150,7 @@ a mark is added to, moved or removed from the <em class="parameter"><code>buffer
|
|
2096
2150
|
</tbody>
|
2097
2151
|
</table></div>
|
2098
2152
|
</div>
|
2099
|
-
<p>Flags: Run Last</p>
|
2153
|
+
<p>Flags: <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2100
2154
|
</div>
|
2101
2155
|
<hr>
|
2102
2156
|
<div class="refsect2">
|
@@ -2107,7 +2161,7 @@ user_function (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffe
|
|
2107
2161
|
<p>The ::undo signal is emitted to undo the last user action which
|
2108
2162
|
modified the buffer.</p>
|
2109
2163
|
<div class="refsect3">
|
2110
|
-
<a name="id-1.2.2.13.6.5"></a><h4>Parameters</h4>
|
2164
|
+
<a name="id-1.2.2.2.13.6.5"></a><h4>Parameters</h4>
|
2111
2165
|
<div class="informaltable"><table width="100%" border="0">
|
2112
2166
|
<colgroup>
|
2113
2167
|
<col width="150px" class="parameters_name">
|
@@ -2128,12 +2182,12 @@ modified the buffer.</p>
|
|
2128
2182
|
</tbody>
|
2129
2183
|
</table></div>
|
2130
2184
|
</div>
|
2131
|
-
<p>Flags: Run Last</p>
|
2185
|
+
<p>Flags: <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2132
2186
|
</div>
|
2133
2187
|
</div>
|
2134
2188
|
<div class="refsect1">
|
2135
2189
|
<a name="GtkSourceBuffer.see-also"></a><h2>See Also</h2>
|
2136
|
-
<p><a href="
|
2190
|
+
<p><a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a>, <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a></p>
|
2137
2191
|
</div>
|
2138
2192
|
</div>
|
2139
2193
|
<div class="footer">
|