gtksourceview3 2.2.5-x86-mingw32 → 3.0.0-x86-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
@@ -15,6 +15,24 @@ and/or use gtk-doc annotations. -->
|
|
15
15
|
shared-library="libgtksourceview-3.0-1.dll"
|
16
16
|
c:identifier-prefixes="GtkSource"
|
17
17
|
c:symbol-prefixes="gtk_source">
|
18
|
+
<enumeration name="BackgroundPatternType"
|
19
|
+
version="3.16"
|
20
|
+
glib:type-name="GtkSourceBackgroundPatternType"
|
21
|
+
glib:get-type="gtk_source_background_pattern_type_get_type"
|
22
|
+
c:type="GtkSourceBackgroundPatternType">
|
23
|
+
<member name="none"
|
24
|
+
value="0"
|
25
|
+
c:identifier="GTK_SOURCE_BACKGROUND_PATTERN_TYPE_NONE"
|
26
|
+
glib:nick="none">
|
27
|
+
<doc xml:space="preserve">no pattern</doc>
|
28
|
+
</member>
|
29
|
+
<member name="grid"
|
30
|
+
value="1"
|
31
|
+
c:identifier="GTK_SOURCE_BACKGROUND_PATTERN_TYPE_GRID"
|
32
|
+
glib:nick="grid">
|
33
|
+
<doc xml:space="preserve">grid pattern</doc>
|
34
|
+
</member>
|
35
|
+
</enumeration>
|
18
36
|
<enumeration name="BracketMatchType"
|
19
37
|
glib:type-name="GtkSourceBracketMatchType"
|
20
38
|
glib:get-type="gtk_source_bracket_match_type_get_type"
|
@@ -435,11 +453,9 @@ unreferenced by the user.</doc>
|
|
435
453
|
</method>
|
436
454
|
<method name="get_max_undo_levels"
|
437
455
|
c:identifier="gtk_source_buffer_get_max_undo_levels">
|
438
|
-
<doc xml:space="preserve">Determines the number of undo levels the buffer will track for
|
439
|
-
buffer edits.</doc>
|
456
|
+
<doc xml:space="preserve">Determines the number of undo levels the buffer will track for buffer edits.</doc>
|
440
457
|
<return-value transfer-ownership="none">
|
441
|
-
<doc xml:space="preserve">the maximum number of possible undo levels or
|
442
|
-
-1 if no limit is set.</doc>
|
458
|
+
<doc xml:space="preserve">the maximum number of possible undo levels or -1 if no limit is set.</doc>
|
443
459
|
<type name="gint" c:type="gint"/>
|
444
460
|
</return-value>
|
445
461
|
<parameters>
|
@@ -632,6 +648,28 @@ See the #GtkSourceBuffer description for the list of default context classes.</d
|
|
632
648
|
</parameter>
|
633
649
|
</parameters>
|
634
650
|
</method>
|
651
|
+
<method name="join_lines"
|
652
|
+
c:identifier="gtk_source_buffer_join_lines"
|
653
|
+
version="3.16">
|
654
|
+
<doc xml:space="preserve">Joins the lines of text between the specified iterators.</doc>
|
655
|
+
<return-value transfer-ownership="none">
|
656
|
+
<type name="none" c:type="void"/>
|
657
|
+
</return-value>
|
658
|
+
<parameters>
|
659
|
+
<instance-parameter name="buffer" transfer-ownership="none">
|
660
|
+
<doc xml:space="preserve">a #GtkSourceBuffer.</doc>
|
661
|
+
<type name="Buffer" c:type="GtkSourceBuffer*"/>
|
662
|
+
</instance-parameter>
|
663
|
+
<parameter name="start" transfer-ownership="none">
|
664
|
+
<doc xml:space="preserve">a #GtkTextIter.</doc>
|
665
|
+
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
666
|
+
</parameter>
|
667
|
+
<parameter name="end" transfer-ownership="none">
|
668
|
+
<doc xml:space="preserve">a #GtkTextIter.</doc>
|
669
|
+
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
670
|
+
</parameter>
|
671
|
+
</parameters>
|
672
|
+
</method>
|
635
673
|
<method name="redo" c:identifier="gtk_source_buffer_redo">
|
636
674
|
<doc xml:space="preserve">Redoes the last undo operation. Use gtk_source_buffer_can_redo()
|
637
675
|
to check whether a call to this function will have any effect.
|
@@ -1813,7 +1851,8 @@ function is called.</doc>
|
|
1813
1851
|
<doc xml:space="preserve">Get the iter at which the completion was invoked. Providers can use this
|
1814
1852
|
to determine how and if to match proposals.</doc>
|
1815
1853
|
<return-value transfer-ownership="none">
|
1816
|
-
<
|
1854
|
+
<doc xml:space="preserve">%TRUE if @iter is correctly set, %FALSE otherwise.</doc>
|
1855
|
+
<type name="gboolean" c:type="gboolean"/>
|
1817
1856
|
</return-value>
|
1818
1857
|
<parameters>
|
1819
1858
|
<instance-parameter name="context" transfer-ownership="none">
|
@@ -2842,7 +2881,10 @@ gtk_source_completion_provider_activate_proposal() for more information.</doc>
|
|
2842
2881
|
<type name="CompletionProposal"
|
2843
2882
|
c:type="GtkSourceCompletionProposal*"/>
|
2844
2883
|
</parameter>
|
2845
|
-
<parameter name="iter"
|
2884
|
+
<parameter name="iter"
|
2885
|
+
direction="out"
|
2886
|
+
caller-allocates="1"
|
2887
|
+
transfer-ownership="none">
|
2846
2888
|
<doc xml:space="preserve">a #GtkTextIter.</doc>
|
2847
2889
|
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
2848
2890
|
</parameter>
|
@@ -3103,7 +3145,10 @@ gtk_source_completion_provider_activate_proposal() for more information.</doc>
|
|
3103
3145
|
<type name="CompletionProposal"
|
3104
3146
|
c:type="GtkSourceCompletionProposal*"/>
|
3105
3147
|
</parameter>
|
3106
|
-
<parameter name="iter"
|
3148
|
+
<parameter name="iter"
|
3149
|
+
direction="out"
|
3150
|
+
caller-allocates="1"
|
3151
|
+
transfer-ownership="none">
|
3107
3152
|
<doc xml:space="preserve">a #GtkTextIter.</doc>
|
3108
3153
|
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
3109
3154
|
</parameter>
|
@@ -3341,7 +3386,10 @@ info widget.</doc>
|
|
3341
3386
|
<type name="CompletionProposal"
|
3342
3387
|
c:type="GtkSourceCompletionProposal*"/>
|
3343
3388
|
</parameter>
|
3344
|
-
<parameter name="iter"
|
3389
|
+
<parameter name="iter"
|
3390
|
+
direction="out"
|
3391
|
+
caller-allocates="1"
|
3392
|
+
transfer-ownership="none">
|
3345
3393
|
<doc xml:space="preserve">a #GtkTextIter.</doc>
|
3346
3394
|
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
3347
3395
|
</parameter>
|
@@ -4941,8 +4989,8 @@ redraw of the gutter if something has changed and needs to be redrawn.</doc>
|
|
4941
4989
|
construct="1"
|
4942
4990
|
transfer-ownership="none">
|
4943
4991
|
<doc xml:space="preserve">The x-padding.</doc>
|
4944
|
-
<doc-deprecated xml:space="preserve">Use the #GtkSourceGutterRenderer
|
4945
|
-
instead.</doc-deprecated>
|
4992
|
+
<doc-deprecated xml:space="preserve">Use the #GtkSourceGutterRenderer's
|
4993
|
+
#GtkSourceGutterRenderer:xpad property instead.</doc-deprecated>
|
4946
4994
|
<type name="gint" c:type="gint"/>
|
4947
4995
|
</property>
|
4948
4996
|
<property name="ypad"
|
@@ -4952,8 +5000,8 @@ instead.</doc-deprecated>
|
|
4952
5000
|
construct="1"
|
4953
5001
|
transfer-ownership="none">
|
4954
5002
|
<doc xml:space="preserve">The y-padding.</doc>
|
4955
|
-
<doc-deprecated xml:space="preserve">Use the #GtkSourceGutterRenderer
|
4956
|
-
instead.</doc-deprecated>
|
5003
|
+
<doc-deprecated xml:space="preserve">Use the #GtkSourceGutterRenderer's
|
5004
|
+
#GtkSourceGutterRenderer:ypad property instead.</doc-deprecated>
|
4957
5005
|
<type name="gint" c:type="gint"/>
|
4958
5006
|
</property>
|
4959
5007
|
<field name="parent">
|
@@ -5066,10 +5114,15 @@ some state before the draw method is called for each cell.</doc>
|
|
5066
5114
|
</parameters>
|
5067
5115
|
</virtual-method>
|
5068
5116
|
<virtual-method name="draw" invoker="draw">
|
5069
|
-
<doc xml:space="preserve">Main renderering method. Implementations should implement this method to
|
5070
|
-
|
5071
|
-
|
5072
|
-
|
5117
|
+
<doc xml:space="preserve">Main renderering method. Implementations should implement this method to draw
|
5118
|
+
onto the cairo context. The @background_area indicates the total area of the
|
5119
|
+
cell to be drawn. The @cell_area indicates the area where content can be
|
5120
|
+
drawn (text, images, etc).
|
5121
|
+
|
5122
|
+
The @background_area is the @cell_area plus the padding on each side (two
|
5123
|
+
times the #GtkSourceGutterRenderer:xpad horizontally and two times the
|
5124
|
+
#GtkSourceGutterRenderer:ypad vertically, so that the @cell_area is centered
|
5125
|
+
inside @background_area).
|
5073
5126
|
|
5074
5127
|
The @state argument indicates the current state of the renderer and should
|
5075
5128
|
be taken into account to properly draw the different possible states
|
@@ -5287,10 +5340,15 @@ some state before the draw method is called for each cell.</doc>
|
|
5287
5340
|
</parameters>
|
5288
5341
|
</method>
|
5289
5342
|
<method name="draw" c:identifier="gtk_source_gutter_renderer_draw">
|
5290
|
-
<doc xml:space="preserve">Main renderering method. Implementations should implement this method to
|
5291
|
-
|
5292
|
-
|
5293
|
-
|
5343
|
+
<doc xml:space="preserve">Main renderering method. Implementations should implement this method to draw
|
5344
|
+
onto the cairo context. The @background_area indicates the total area of the
|
5345
|
+
cell to be drawn. The @cell_area indicates the area where content can be
|
5346
|
+
drawn (text, images, etc).
|
5347
|
+
|
5348
|
+
The @background_area is the @cell_area plus the padding on each side (two
|
5349
|
+
times the #GtkSourceGutterRenderer:xpad horizontally and two times the
|
5350
|
+
#GtkSourceGutterRenderer:ypad vertically, so that the @cell_area is centered
|
5351
|
+
inside @background_area).
|
5294
5352
|
|
5295
5353
|
The @state argument indicates the current state of the renderer and should
|
5296
5354
|
be taken into account to properly draw the different possible states
|
@@ -8922,6 +8980,20 @@ gtk_source_search_context_forward_async().</doc>
|
|
8922
8980
|
</instance-parameter>
|
8923
8981
|
</parameters>
|
8924
8982
|
</method>
|
8983
|
+
<method name="get_match_style"
|
8984
|
+
c:identifier="gtk_source_search_context_get_match_style"
|
8985
|
+
version="3.16">
|
8986
|
+
<return-value transfer-ownership="none">
|
8987
|
+
<doc xml:space="preserve">the #GtkSourceStyle to apply on search matches.</doc>
|
8988
|
+
<type name="Style" c:type="GtkSourceStyle*"/>
|
8989
|
+
</return-value>
|
8990
|
+
<parameters>
|
8991
|
+
<instance-parameter name="search" transfer-ownership="none">
|
8992
|
+
<doc xml:space="preserve">a #GtkSourceSearchContext.</doc>
|
8993
|
+
<type name="SearchContext" c:type="GtkSourceSearchContext*"/>
|
8994
|
+
</instance-parameter>
|
8995
|
+
</parameters>
|
8996
|
+
</method>
|
8925
8997
|
<method name="get_occurrence_position"
|
8926
8998
|
c:identifier="gtk_source_search_context_get_occurrence_position"
|
8927
8999
|
version="3.10">
|
@@ -9084,6 +9156,30 @@ backreferences; read the g_regex_replace() documentation for more details.</doc>
|
|
9084
9156
|
</parameter>
|
9085
9157
|
</parameters>
|
9086
9158
|
</method>
|
9159
|
+
<method name="set_match_style"
|
9160
|
+
c:identifier="gtk_source_search_context_set_match_style"
|
9161
|
+
version="3.16">
|
9162
|
+
<doc xml:space="preserve">Set the style to apply on search matches. If @match_style is %NULL, default
|
9163
|
+
theme's scheme 'match-style' will be used.
|
9164
|
+
To enable or disable the search highlighting, use
|
9165
|
+
gtk_source_search_context_set_highlight().</doc>
|
9166
|
+
<return-value transfer-ownership="none">
|
9167
|
+
<type name="none" c:type="void"/>
|
9168
|
+
</return-value>
|
9169
|
+
<parameters>
|
9170
|
+
<instance-parameter name="search" transfer-ownership="none">
|
9171
|
+
<doc xml:space="preserve">a #GtkSourceSearchContext.</doc>
|
9172
|
+
<type name="SearchContext" c:type="GtkSourceSearchContext*"/>
|
9173
|
+
</instance-parameter>
|
9174
|
+
<parameter name="match_style"
|
9175
|
+
transfer-ownership="none"
|
9176
|
+
nullable="1"
|
9177
|
+
allow-none="1">
|
9178
|
+
<doc xml:space="preserve">a #GtkSourceStyle.</doc>
|
9179
|
+
<type name="Style" c:type="GtkSourceStyle*"/>
|
9180
|
+
</parameter>
|
9181
|
+
</parameters>
|
9182
|
+
</method>
|
9087
9183
|
<method name="set_settings"
|
9088
9184
|
c:identifier="gtk_source_search_context_set_settings"
|
9089
9185
|
version="3.10">
|
@@ -9124,6 +9220,14 @@ The search context holds a reference to @settings.</doc>
|
|
9124
9220
|
<doc xml:space="preserve">Highlight the search occurrences.</doc>
|
9125
9221
|
<type name="gboolean" c:type="gboolean"/>
|
9126
9222
|
</property>
|
9223
|
+
<property name="match-style"
|
9224
|
+
version="3.16"
|
9225
|
+
writable="1"
|
9226
|
+
construct="1"
|
9227
|
+
transfer-ownership="none">
|
9228
|
+
<doc xml:space="preserve">A #GtkSourceStyle, or %NULL for theme's scheme default style.</doc>
|
9229
|
+
<type name="Style"/>
|
9230
|
+
</property>
|
9127
9231
|
<property name="occurrences-count"
|
9128
9232
|
version="3.10"
|
9129
9233
|
transfer-ownership="none">
|
@@ -9724,6 +9828,199 @@ in #GtkSourceStyleSchemeManager.</doc>
|
|
9724
9828
|
<type name="StyleSchemePrivate" c:type="GtkSourceStyleSchemePrivate*"/>
|
9725
9829
|
</field>
|
9726
9830
|
</class>
|
9831
|
+
<interface name="StyleSchemeChooser"
|
9832
|
+
c:symbol-prefix="style_scheme_chooser"
|
9833
|
+
c:type="GtkSourceStyleSchemeChooser"
|
9834
|
+
glib:type-name="GtkSourceStyleSchemeChooser"
|
9835
|
+
glib:get-type="gtk_source_style_scheme_chooser_get_type"
|
9836
|
+
glib:type-struct="StyleSchemeChooserInterface">
|
9837
|
+
<virtual-method name="get_style_scheme"
|
9838
|
+
invoker="get_style_scheme"
|
9839
|
+
version="3.16">
|
9840
|
+
<doc xml:space="preserve">Gets the currently-selected scheme.</doc>
|
9841
|
+
<return-value transfer-ownership="none">
|
9842
|
+
<doc xml:space="preserve">the currently-selected scheme.</doc>
|
9843
|
+
<type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
|
9844
|
+
</return-value>
|
9845
|
+
<parameters>
|
9846
|
+
<instance-parameter name="chooser" transfer-ownership="none">
|
9847
|
+
<doc xml:space="preserve">a #GtkSourceStyleSchemeChooser</doc>
|
9848
|
+
<type name="StyleSchemeChooser"
|
9849
|
+
c:type="GtkSourceStyleSchemeChooser*"/>
|
9850
|
+
</instance-parameter>
|
9851
|
+
</parameters>
|
9852
|
+
</virtual-method>
|
9853
|
+
<virtual-method name="set_style_scheme"
|
9854
|
+
invoker="set_style_scheme"
|
9855
|
+
version="3.16">
|
9856
|
+
<doc xml:space="preserve">Sets the scheme.</doc>
|
9857
|
+
<return-value transfer-ownership="none">
|
9858
|
+
<type name="none" c:type="void"/>
|
9859
|
+
</return-value>
|
9860
|
+
<parameters>
|
9861
|
+
<instance-parameter name="chooser" transfer-ownership="none">
|
9862
|
+
<doc xml:space="preserve">a #GtkSourceStyleSchemeChooser</doc>
|
9863
|
+
<type name="StyleSchemeChooser"
|
9864
|
+
c:type="GtkSourceStyleSchemeChooser*"/>
|
9865
|
+
</instance-parameter>
|
9866
|
+
<parameter name="scheme" transfer-ownership="none">
|
9867
|
+
<doc xml:space="preserve">a #GtkSourceStyleScheme</doc>
|
9868
|
+
<type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
|
9869
|
+
</parameter>
|
9870
|
+
</parameters>
|
9871
|
+
</virtual-method>
|
9872
|
+
<method name="get_style_scheme"
|
9873
|
+
c:identifier="gtk_source_style_scheme_chooser_get_style_scheme"
|
9874
|
+
version="3.16">
|
9875
|
+
<doc xml:space="preserve">Gets the currently-selected scheme.</doc>
|
9876
|
+
<return-value transfer-ownership="none">
|
9877
|
+
<doc xml:space="preserve">the currently-selected scheme.</doc>
|
9878
|
+
<type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
|
9879
|
+
</return-value>
|
9880
|
+
<parameters>
|
9881
|
+
<instance-parameter name="chooser" transfer-ownership="none">
|
9882
|
+
<doc xml:space="preserve">a #GtkSourceStyleSchemeChooser</doc>
|
9883
|
+
<type name="StyleSchemeChooser"
|
9884
|
+
c:type="GtkSourceStyleSchemeChooser*"/>
|
9885
|
+
</instance-parameter>
|
9886
|
+
</parameters>
|
9887
|
+
</method>
|
9888
|
+
<method name="set_style_scheme"
|
9889
|
+
c:identifier="gtk_source_style_scheme_chooser_set_style_scheme"
|
9890
|
+
version="3.16">
|
9891
|
+
<doc xml:space="preserve">Sets the scheme.</doc>
|
9892
|
+
<return-value transfer-ownership="none">
|
9893
|
+
<type name="none" c:type="void"/>
|
9894
|
+
</return-value>
|
9895
|
+
<parameters>
|
9896
|
+
<instance-parameter name="chooser" transfer-ownership="none">
|
9897
|
+
<doc xml:space="preserve">a #GtkSourceStyleSchemeChooser</doc>
|
9898
|
+
<type name="StyleSchemeChooser"
|
9899
|
+
c:type="GtkSourceStyleSchemeChooser*"/>
|
9900
|
+
</instance-parameter>
|
9901
|
+
<parameter name="scheme" transfer-ownership="none">
|
9902
|
+
<doc xml:space="preserve">a #GtkSourceStyleScheme</doc>
|
9903
|
+
<type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
|
9904
|
+
</parameter>
|
9905
|
+
</parameters>
|
9906
|
+
</method>
|
9907
|
+
<property name="style-scheme"
|
9908
|
+
version="3.16"
|
9909
|
+
writable="1"
|
9910
|
+
transfer-ownership="none">
|
9911
|
+
<doc xml:space="preserve">The :style-scheme property contains the currently selected style
|
9912
|
+
scheme. The property can be set to change
|
9913
|
+
the current selection programmatically.</doc>
|
9914
|
+
<type name="StyleScheme"/>
|
9915
|
+
</property>
|
9916
|
+
</interface>
|
9917
|
+
<class name="StyleSchemeChooserButton"
|
9918
|
+
c:symbol-prefix="style_scheme_chooser_button"
|
9919
|
+
c:type="GtkSourceStyleSchemeChooserButton"
|
9920
|
+
parent="Gtk.Button"
|
9921
|
+
glib:type-name="GtkSourceStyleSchemeChooserButton"
|
9922
|
+
glib:get-type="gtk_source_style_scheme_chooser_button_get_type"
|
9923
|
+
glib:type-struct="StyleSchemeChooserButtonClass">
|
9924
|
+
<implements name="Atk.ImplementorIface"/>
|
9925
|
+
<implements name="Gtk.Actionable"/>
|
9926
|
+
<implements name="Gtk.Activatable"/>
|
9927
|
+
<implements name="Gtk.Buildable"/>
|
9928
|
+
<implements name="StyleSchemeChooser"/>
|
9929
|
+
<constructor name="new"
|
9930
|
+
c:identifier="gtk_source_style_scheme_chooser_button_new"
|
9931
|
+
version="3.16">
|
9932
|
+
<doc xml:space="preserve">Creates a new #GtkSourceStyleSchemeChooserButton.</doc>
|
9933
|
+
<return-value transfer-ownership="none">
|
9934
|
+
<doc xml:space="preserve">a new #GtkSourceStyleSchemeChooserButton.</doc>
|
9935
|
+
<type name="Gtk.Widget" c:type="GtkWidget*"/>
|
9936
|
+
</return-value>
|
9937
|
+
</constructor>
|
9938
|
+
<field name="parent">
|
9939
|
+
<type name="Gtk.Button" c:type="GtkButton"/>
|
9940
|
+
</field>
|
9941
|
+
</class>
|
9942
|
+
<record name="StyleSchemeChooserButtonClass"
|
9943
|
+
c:type="GtkSourceStyleSchemeChooserButtonClass"
|
9944
|
+
glib:is-gtype-struct-for="StyleSchemeChooserButton">
|
9945
|
+
<field name="parent">
|
9946
|
+
<type name="Gtk.ButtonClass" c:type="GtkButtonClass"/>
|
9947
|
+
</field>
|
9948
|
+
</record>
|
9949
|
+
<record name="StyleSchemeChooserInterface"
|
9950
|
+
c:type="GtkSourceStyleSchemeChooserInterface"
|
9951
|
+
glib:is-gtype-struct-for="StyleSchemeChooser">
|
9952
|
+
<field name="base_interface">
|
9953
|
+
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
|
9954
|
+
</field>
|
9955
|
+
<field name="get_style_scheme">
|
9956
|
+
<callback name="get_style_scheme">
|
9957
|
+
<return-value transfer-ownership="none">
|
9958
|
+
<doc xml:space="preserve">the currently-selected scheme.</doc>
|
9959
|
+
<type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
|
9960
|
+
</return-value>
|
9961
|
+
<parameters>
|
9962
|
+
<parameter name="chooser" transfer-ownership="none">
|
9963
|
+
<doc xml:space="preserve">a #GtkSourceStyleSchemeChooser</doc>
|
9964
|
+
<type name="StyleSchemeChooser"
|
9965
|
+
c:type="GtkSourceStyleSchemeChooser*"/>
|
9966
|
+
</parameter>
|
9967
|
+
</parameters>
|
9968
|
+
</callback>
|
9969
|
+
</field>
|
9970
|
+
<field name="set_style_scheme">
|
9971
|
+
<callback name="set_style_scheme">
|
9972
|
+
<return-value transfer-ownership="none">
|
9973
|
+
<type name="none" c:type="void"/>
|
9974
|
+
</return-value>
|
9975
|
+
<parameters>
|
9976
|
+
<parameter name="chooser" transfer-ownership="none">
|
9977
|
+
<doc xml:space="preserve">a #GtkSourceStyleSchemeChooser</doc>
|
9978
|
+
<type name="StyleSchemeChooser"
|
9979
|
+
c:type="GtkSourceStyleSchemeChooser*"/>
|
9980
|
+
</parameter>
|
9981
|
+
<parameter name="scheme" transfer-ownership="none">
|
9982
|
+
<doc xml:space="preserve">a #GtkSourceStyleScheme</doc>
|
9983
|
+
<type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
|
9984
|
+
</parameter>
|
9985
|
+
</parameters>
|
9986
|
+
</callback>
|
9987
|
+
</field>
|
9988
|
+
<field name="padding">
|
9989
|
+
<array zero-terminated="0" c:type="gpointer" fixed-size="12">
|
9990
|
+
<type name="gpointer" c:type="gpointer"/>
|
9991
|
+
</array>
|
9992
|
+
</field>
|
9993
|
+
</record>
|
9994
|
+
<class name="StyleSchemeChooserWidget"
|
9995
|
+
c:symbol-prefix="style_scheme_chooser_widget"
|
9996
|
+
c:type="GtkSourceStyleSchemeChooserWidget"
|
9997
|
+
parent="Gtk.Bin"
|
9998
|
+
glib:type-name="GtkSourceStyleSchemeChooserWidget"
|
9999
|
+
glib:get-type="gtk_source_style_scheme_chooser_widget_get_type"
|
10000
|
+
glib:type-struct="StyleSchemeChooserWidgetClass">
|
10001
|
+
<implements name="Atk.ImplementorIface"/>
|
10002
|
+
<implements name="Gtk.Buildable"/>
|
10003
|
+
<implements name="StyleSchemeChooser"/>
|
10004
|
+
<constructor name="new"
|
10005
|
+
c:identifier="gtk_source_style_scheme_chooser_widget_new"
|
10006
|
+
version="3.16">
|
10007
|
+
<doc xml:space="preserve">Creates a new #GtkSourceStyleSchemeChooserWidget.</doc>
|
10008
|
+
<return-value transfer-ownership="none">
|
10009
|
+
<doc xml:space="preserve">a new #GtkSourceStyleSchemeChooserWidget.</doc>
|
10010
|
+
<type name="Gtk.Widget" c:type="GtkWidget*"/>
|
10011
|
+
</return-value>
|
10012
|
+
</constructor>
|
10013
|
+
<field name="parent">
|
10014
|
+
<type name="Gtk.Bin" c:type="GtkBin"/>
|
10015
|
+
</field>
|
10016
|
+
</class>
|
10017
|
+
<record name="StyleSchemeChooserWidgetClass"
|
10018
|
+
c:type="GtkSourceStyleSchemeChooserWidgetClass"
|
10019
|
+
glib:is-gtype-struct-for="StyleSchemeChooserWidget">
|
10020
|
+
<field name="parent">
|
10021
|
+
<type name="Gtk.BinClass" c:type="GtkBinClass"/>
|
10022
|
+
</field>
|
10023
|
+
</record>
|
9727
10024
|
<record name="StyleSchemeClass"
|
9728
10025
|
c:type="GtkSourceStyleSchemeClass"
|
9729
10026
|
glib:is-gtype-struct-for="StyleScheme">
|
@@ -10357,9 +10654,9 @@ if there are undo operations available.</doc>
|
|
10357
10654
|
<implements name="Gtk.Buildable"/>
|
10358
10655
|
<implements name="Gtk.Scrollable"/>
|
10359
10656
|
<constructor name="new" c:identifier="gtk_source_view_new">
|
10360
|
-
<doc xml:space="preserve">Creates a new #GtkSourceView. An empty default
|
10361
|
-
created for you
|
10362
|
-
gtk_source_view_new_with_buffer().</doc>
|
10657
|
+
<doc xml:space="preserve">Creates a new #GtkSourceView. An empty default #GtkSourceBuffer will be
|
10658
|
+
created for you and can be retrieved with gtk_text_view_get_buffer(). If you
|
10659
|
+
want to specify your own buffer, consider gtk_source_view_new_with_buffer().</doc>
|
10363
10660
|
<return-value transfer-ownership="none">
|
10364
10661
|
<doc xml:space="preserve">a new #GtkSourceView.</doc>
|
10365
10662
|
<type name="Gtk.Widget" c:type="GtkWidget*"/>
|
@@ -10457,7 +10754,7 @@ gtk_source_view_new_with_buffer().</doc>
|
|
10457
10754
|
</virtual-method>
|
10458
10755
|
<method name="get_auto_indent"
|
10459
10756
|
c:identifier="gtk_source_view_get_auto_indent">
|
10460
|
-
<doc xml:space="preserve">Returns whether auto
|
10757
|
+
<doc xml:space="preserve">Returns whether auto-indentation of text is enabled.</doc>
|
10461
10758
|
<return-value transfer-ownership="none">
|
10462
10759
|
<doc xml:space="preserve">%TRUE if auto indentation is enabled.</doc>
|
10463
10760
|
<type name="gboolean" c:type="gboolean"/>
|
@@ -10469,6 +10766,23 @@ gtk_source_view_new_with_buffer().</doc>
|
|
10469
10766
|
</instance-parameter>
|
10470
10767
|
</parameters>
|
10471
10768
|
</method>
|
10769
|
+
<method name="get_background_pattern"
|
10770
|
+
c:identifier="gtk_source_view_get_background_pattern"
|
10771
|
+
version="3.16">
|
10772
|
+
<doc xml:space="preserve">Returns the #GtkSourceBackgroundPatternType specifying if and how
|
10773
|
+
the background pattern should be displayed for this @view.</doc>
|
10774
|
+
<return-value transfer-ownership="none">
|
10775
|
+
<doc xml:space="preserve">the #GtkSourceBackgroundPatternType.</doc>
|
10776
|
+
<type name="BackgroundPatternType"
|
10777
|
+
c:type="GtkSourceBackgroundPatternType"/>
|
10778
|
+
</return-value>
|
10779
|
+
<parameters>
|
10780
|
+
<instance-parameter name="view" transfer-ownership="none">
|
10781
|
+
<doc xml:space="preserve">a #GtkSourceView</doc>
|
10782
|
+
<type name="View" c:type="GtkSourceView*"/>
|
10783
|
+
</instance-parameter>
|
10784
|
+
</parameters>
|
10785
|
+
</method>
|
10472
10786
|
<method name="get_completion"
|
10473
10787
|
c:identifier="gtk_source_view_get_completion">
|
10474
10788
|
<doc xml:space="preserve">Gets the #GtkSourceCompletion associated with @view.</doc>
|
@@ -10692,8 +11006,8 @@ how the cursor will move when HOME and END keys are pressed.</doc>
|
|
10692
11006
|
</method>
|
10693
11007
|
<method name="get_visual_column"
|
10694
11008
|
c:identifier="gtk_source_view_get_visual_column">
|
10695
|
-
<doc xml:space="preserve">Determines the visual column at @iter taking into
|
10696
|
-
|
11009
|
+
<doc xml:space="preserve">Determines the visual column at @iter taking into consideration the
|
11010
|
+
#GtkSourceView:tab-width of @view.</doc>
|
10697
11011
|
<return-value transfer-ownership="none">
|
10698
11012
|
<doc xml:space="preserve">the visual column at @iter.</doc>
|
10699
11013
|
<type name="guint" c:type="guint"/>
|
@@ -10709,9 +11023,37 @@ consideration the indent width of @view.</doc>
|
|
10709
11023
|
</parameter>
|
10710
11024
|
</parameters>
|
10711
11025
|
</method>
|
11026
|
+
<method name="indent_lines"
|
11027
|
+
c:identifier="gtk_source_view_indent_lines"
|
11028
|
+
version="3.16">
|
11029
|
+
<doc xml:space="preserve">Insert one indentation level at the beginning of the
|
11030
|
+
specified lines.</doc>
|
11031
|
+
<return-value transfer-ownership="none">
|
11032
|
+
<type name="none" c:type="void"/>
|
11033
|
+
</return-value>
|
11034
|
+
<parameters>
|
11035
|
+
<instance-parameter name="view" transfer-ownership="none">
|
11036
|
+
<doc xml:space="preserve">a #GtkSourceView.</doc>
|
11037
|
+
<type name="View" c:type="GtkSourceView*"/>
|
11038
|
+
</instance-parameter>
|
11039
|
+
<parameter name="start" transfer-ownership="none">
|
11040
|
+
<doc xml:space="preserve">#GtkTextIter of the first line to indent</doc>
|
11041
|
+
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
11042
|
+
</parameter>
|
11043
|
+
<parameter name="end" transfer-ownership="none">
|
11044
|
+
<doc xml:space="preserve">#GtkTextIter of the last line to indent</doc>
|
11045
|
+
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
11046
|
+
</parameter>
|
11047
|
+
</parameters>
|
11048
|
+
</method>
|
10712
11049
|
<method name="set_auto_indent"
|
10713
11050
|
c:identifier="gtk_source_view_set_auto_indent">
|
10714
|
-
<doc xml:space="preserve">If %TRUE auto
|
11051
|
+
<doc xml:space="preserve">If %TRUE auto-indentation of text is enabled.
|
11052
|
+
|
11053
|
+
When Enter is pressed to create a new line, the auto-indentation inserts the
|
11054
|
+
same indentation as the previous line. This is <emphasis>not</emphasis> a
|
11055
|
+
"smart indentation" where an indentation level is added or removed depending
|
11056
|
+
on the context.</doc>
|
10715
11057
|
<return-value transfer-ownership="none">
|
10716
11058
|
<type name="none" c:type="void"/>
|
10717
11059
|
</return-value>
|
@@ -10726,6 +11068,25 @@ consideration the indent width of @view.</doc>
|
|
10726
11068
|
</parameter>
|
10727
11069
|
</parameters>
|
10728
11070
|
</method>
|
11071
|
+
<method name="set_background_pattern"
|
11072
|
+
c:identifier="gtk_source_view_set_background_pattern"
|
11073
|
+
version="3.16">
|
11074
|
+
<doc xml:space="preserve">Set if and how the background pattern should be displayed.</doc>
|
11075
|
+
<return-value transfer-ownership="none">
|
11076
|
+
<type name="none" c:type="void"/>
|
11077
|
+
</return-value>
|
11078
|
+
<parameters>
|
11079
|
+
<instance-parameter name="view" transfer-ownership="none">
|
11080
|
+
<doc xml:space="preserve">a #GtkSourceView.</doc>
|
11081
|
+
<type name="View" c:type="GtkSourceView*"/>
|
11082
|
+
</instance-parameter>
|
11083
|
+
<parameter name="background_pattern" transfer-ownership="none">
|
11084
|
+
<doc xml:space="preserve">the #GtkSourceBackgroundPatternType.</doc>
|
11085
|
+
<type name="BackgroundPatternType"
|
11086
|
+
c:type="GtkSourceBackgroundPatternType"/>
|
11087
|
+
</parameter>
|
11088
|
+
</parameters>
|
11089
|
+
</method>
|
10729
11090
|
<method name="set_draw_spaces"
|
10730
11091
|
c:identifier="gtk_source_view_set_draw_spaces">
|
10731
11092
|
<doc xml:space="preserve">Set if and how the spaces should be visualized. Specifying @flags as 0 will
|
@@ -10747,7 +11108,7 @@ be displayed</doc>
|
|
10747
11108
|
</method>
|
10748
11109
|
<method name="set_highlight_current_line"
|
10749
11110
|
c:identifier="gtk_source_view_set_highlight_current_line">
|
10750
|
-
<doc xml:space="preserve">If @
|
11111
|
+
<doc xml:space="preserve">If @highlight is %TRUE the current line will be highlighted.</doc>
|
10751
11112
|
<return-value transfer-ownership="none">
|
10752
11113
|
<type name="none" c:type="void"/>
|
10753
11114
|
</return-value>
|
@@ -10756,7 +11117,7 @@ be displayed</doc>
|
|
10756
11117
|
<doc xml:space="preserve">a #GtkSourceView.</doc>
|
10757
11118
|
<type name="View" c:type="GtkSourceView*"/>
|
10758
11119
|
</instance-parameter>
|
10759
|
-
<parameter name="
|
11120
|
+
<parameter name="highlight" transfer-ownership="none">
|
10760
11121
|
<doc xml:space="preserve">whether to highlight the current line.</doc>
|
10761
11122
|
<type name="gboolean" c:type="gboolean"/>
|
10762
11123
|
</parameter>
|
@@ -10765,9 +11126,15 @@ be displayed</doc>
|
|
10765
11126
|
<method name="set_indent_on_tab"
|
10766
11127
|
c:identifier="gtk_source_view_set_indent_on_tab"
|
10767
11128
|
version="1.8">
|
10768
|
-
<doc xml:space="preserve">If %TRUE, when the tab key is pressed
|
10769
|
-
selected
|
10770
|
-
|
11129
|
+
<doc xml:space="preserve">If %TRUE, when the tab key is pressed when several lines are selected, the
|
11130
|
+
selected lines are indented of one level instead of being replaced with a \t
|
11131
|
+
character. Shift+Tab unindents the selection.
|
11132
|
+
|
11133
|
+
If the first or last line is not selected completely, it is also indented or
|
11134
|
+
unindented.
|
11135
|
+
|
11136
|
+
When the selection doesn't span several lines, the tab key always replaces
|
11137
|
+
the selection with a normal \t character.</doc>
|
10771
11138
|
<return-value transfer-ownership="none">
|
10772
11139
|
<type name="none" c:type="void"/>
|
10773
11140
|
</return-value>
|
@@ -10784,9 +11151,26 @@ the \t characters. Shift+Tab unindents the selection.</doc>
|
|
10784
11151
|
</method>
|
10785
11152
|
<method name="set_indent_width"
|
10786
11153
|
c:identifier="gtk_source_view_set_indent_width">
|
10787
|
-
<doc xml:space="preserve">Sets the number of spaces to use for each step of indent
|
10788
|
-
If @width is -1, the value of the #GtkSourceView:tab-width property
|
10789
|
-
will be used
|
11154
|
+
<doc xml:space="preserve">Sets the number of spaces to use for each step of indent when the tab key is
|
11155
|
+
pressed. If @width is -1, the value of the #GtkSourceView:tab-width property
|
11156
|
+
will be used.
|
11157
|
+
|
11158
|
+
The #GtkSourceView:indent-width interacts with the
|
11159
|
+
#GtkSourceView:insert-spaces-instead-of-tabs property and
|
11160
|
+
#GtkSourceView:tab-width. An example will be clearer: if the
|
11161
|
+
#GtkSourceView:indent-width is 4 and
|
11162
|
+
#GtkSourceView:tab-width is 8 and
|
11163
|
+
#GtkSourceView:insert-spaces-instead-of-tabs is %FALSE, then pressing the tab
|
11164
|
+
key at the beginning of a line will insert 4 spaces. So far so good. Pressing
|
11165
|
+
the tab key a second time will remove the 4 spaces and insert a \t character
|
11166
|
+
instead (since #GtkSourceView:tab-width is 8). On the other hand, if
|
11167
|
+
#GtkSourceView:insert-spaces-instead-of-tabs is %TRUE, the second tab key
|
11168
|
+
pressed will insert 4 more spaces for a total of 8 spaces in the
|
11169
|
+
#GtkTextBuffer.
|
11170
|
+
|
11171
|
+
The test-widget program (available in the GtkSourceView repository) may be
|
11172
|
+
useful to better understand the indentation settings (enable the space
|
11173
|
+
drawing!).</doc>
|
10790
11174
|
<return-value transfer-ownership="none">
|
10791
11175
|
<type name="none" c:type="void"/>
|
10792
11176
|
</return-value>
|
@@ -10803,8 +11187,9 @@ will be used.</doc>
|
|
10803
11187
|
</method>
|
10804
11188
|
<method name="set_insert_spaces_instead_of_tabs"
|
10805
11189
|
c:identifier="gtk_source_view_set_insert_spaces_instead_of_tabs">
|
10806
|
-
<doc xml:space="preserve">If %TRUE
|
10807
|
-
|
11190
|
+
<doc xml:space="preserve">If %TRUE a tab key pressed is replaced by a group of space characters. Of
|
11191
|
+
course it is still possible to insert a real \t programmatically with the
|
11192
|
+
#GtkTextBuffer API.</doc>
|
10808
11193
|
<return-value transfer-ownership="none">
|
10809
11194
|
<type name="none" c:type="void"/>
|
10810
11195
|
</return-value>
|
@@ -10925,7 +11310,7 @@ are pressed.</doc>
|
|
10925
11310
|
<doc xml:space="preserve">a #GtkSourceView.</doc>
|
10926
11311
|
<type name="View" c:type="GtkSourceView*"/>
|
10927
11312
|
</instance-parameter>
|
10928
|
-
<parameter name="
|
11313
|
+
<parameter name="smart_home_end" transfer-ownership="none">
|
10929
11314
|
<doc xml:space="preserve">the desired behavior among #GtkSourceSmartHomeEndType.</doc>
|
10930
11315
|
<type name="SmartHomeEndType" c:type="GtkSourceSmartHomeEndType"/>
|
10931
11316
|
</parameter>
|
@@ -10933,7 +11318,9 @@ are pressed.</doc>
|
|
10933
11318
|
</method>
|
10934
11319
|
<method name="set_tab_width"
|
10935
11320
|
c:identifier="gtk_source_view_set_tab_width">
|
10936
|
-
<doc xml:space="preserve">Sets the width of tabulation in characters
|
11321
|
+
<doc xml:space="preserve">Sets the width of tabulation in characters. The #GtkTextBuffer still contains
|
11322
|
+
\t characters, but they can take a different visual width in a #GtkSourceView
|
11323
|
+
widget.</doc>
|
10937
11324
|
<return-value transfer-ownership="none">
|
10938
11325
|
<type name="none" c:type="void"/>
|
10939
11326
|
</return-value>
|
@@ -10948,9 +11335,39 @@ are pressed.</doc>
|
|
10948
11335
|
</parameter>
|
10949
11336
|
</parameters>
|
10950
11337
|
</method>
|
11338
|
+
<method name="unindent_lines"
|
11339
|
+
c:identifier="gtk_source_view_unindent_lines"
|
11340
|
+
version="3.16">
|
11341
|
+
<doc xml:space="preserve">Removes one indentation level at the beginning of the
|
11342
|
+
specified lines.</doc>
|
11343
|
+
<return-value transfer-ownership="none">
|
11344
|
+
<type name="none" c:type="void"/>
|
11345
|
+
</return-value>
|
11346
|
+
<parameters>
|
11347
|
+
<instance-parameter name="view" transfer-ownership="none">
|
11348
|
+
<doc xml:space="preserve">a #GtkSourceView.</doc>
|
11349
|
+
<type name="View" c:type="GtkSourceView*"/>
|
11350
|
+
</instance-parameter>
|
11351
|
+
<parameter name="start" transfer-ownership="none">
|
11352
|
+
<doc xml:space="preserve">#GtkTextIter of the first line to indent</doc>
|
11353
|
+
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
11354
|
+
</parameter>
|
11355
|
+
<parameter name="end" transfer-ownership="none">
|
11356
|
+
<doc xml:space="preserve">#GtkTextIter of the last line to indent</doc>
|
11357
|
+
<type name="Gtk.TextIter" c:type="GtkTextIter*"/>
|
11358
|
+
</parameter>
|
11359
|
+
</parameters>
|
11360
|
+
</method>
|
10951
11361
|
<property name="auto-indent" writable="1" transfer-ownership="none">
|
10952
11362
|
<type name="gboolean" c:type="gboolean"/>
|
10953
11363
|
</property>
|
11364
|
+
<property name="background-pattern"
|
11365
|
+
version="3.16"
|
11366
|
+
writable="1"
|
11367
|
+
transfer-ownership="none">
|
11368
|
+
<doc xml:space="preserve">Draw a specific background pattern on the view.</doc>
|
11369
|
+
<type name="BackgroundPatternType"/>
|
11370
|
+
</property>
|
10954
11371
|
<property name="completion" transfer-ownership="none">
|
10955
11372
|
<doc xml:space="preserve">The completion object associated with the view</doc>
|
10956
11373
|
<type name="Completion"/>
|
@@ -11018,6 +11435,36 @@ are pressed.</doc>
|
|
11018
11435
|
<field name="priv">
|
11019
11436
|
<type name="ViewPrivate" c:type="GtkSourceViewPrivate*"/>
|
11020
11437
|
</field>
|
11438
|
+
<glib:signal name="change-case" when="last" action="1" version="3.16">
|
11439
|
+
<doc xml:space="preserve">Keybinding signal to change case of the text at the current cursor position.</doc>
|
11440
|
+
<return-value transfer-ownership="none">
|
11441
|
+
<type name="none" c:type="void"/>
|
11442
|
+
</return-value>
|
11443
|
+
<parameters>
|
11444
|
+
<parameter name="case_type" transfer-ownership="none">
|
11445
|
+
<doc xml:space="preserve">the case to use</doc>
|
11446
|
+
<type name="ChangeCaseType"/>
|
11447
|
+
</parameter>
|
11448
|
+
</parameters>
|
11449
|
+
</glib:signal>
|
11450
|
+
<glib:signal name="change-number" when="last" action="1" version="3.16">
|
11451
|
+
<doc xml:space="preserve">Keybinding signal to edit a number at the current cursor position.</doc>
|
11452
|
+
<return-value transfer-ownership="none">
|
11453
|
+
<type name="none" c:type="void"/>
|
11454
|
+
</return-value>
|
11455
|
+
<parameters>
|
11456
|
+
<parameter name="count" transfer-ownership="none">
|
11457
|
+
<doc xml:space="preserve">the number to add to the number at the current position</doc>
|
11458
|
+
<type name="gint" c:type="gint"/>
|
11459
|
+
</parameter>
|
11460
|
+
</parameters>
|
11461
|
+
</glib:signal>
|
11462
|
+
<glib:signal name="join-lines" when="last" action="1" version="3.16">
|
11463
|
+
<doc xml:space="preserve">Keybinding signal to join the lines currently selected.</doc>
|
11464
|
+
<return-value transfer-ownership="none">
|
11465
|
+
<type name="none" c:type="void"/>
|
11466
|
+
</return-value>
|
11467
|
+
</glib:signal>
|
11021
11468
|
<glib:signal name="line-mark-activated" when="last">
|
11022
11469
|
<doc xml:space="preserve">Emitted when a line mark has been activated (for instance when there
|
11023
11470
|
was a button press in the line marks gutter). You can use @iter to
|
@@ -11057,6 +11504,21 @@ or the current line by @count. For the moment, only
|
|
11057
11504
|
</parameter>
|
11058
11505
|
</parameters>
|
11059
11506
|
</glib:signal>
|
11507
|
+
<glib:signal name="move-to-matching-bracket"
|
11508
|
+
when="last"
|
11509
|
+
action="1"
|
11510
|
+
version="3.16">
|
11511
|
+
<doc xml:space="preserve">Keybinding signal to move the cursor to the matching bracket.</doc>
|
11512
|
+
<return-value transfer-ownership="none">
|
11513
|
+
<type name="none" c:type="void"/>
|
11514
|
+
</return-value>
|
11515
|
+
<parameters>
|
11516
|
+
<parameter name="extend_selection" transfer-ownership="none">
|
11517
|
+
<doc xml:space="preserve">%TRUE if the move should extend the selection</doc>
|
11518
|
+
<type name="gboolean" c:type="gboolean"/>
|
11519
|
+
</parameter>
|
11520
|
+
</parameters>
|
11521
|
+
</glib:signal>
|
11060
11522
|
<glib:signal name="move-words" when="last" action="1" version="3.0">
|
11061
11523
|
<doc xml:space="preserve">The ::move-words signal is a keybinding which gets emitted
|
11062
11524
|
when the user initiates moving a word. The default binding key
|