gtksourceview3 3.1.1-x86-mingw32 → 3.1.2-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 +1 -1
- data/dependency-check/Rakefile +43 -0
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +1 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceautocleanups.h +8 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +35 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +8 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemap.h +2 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +1 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcespacedrawer.h +149 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooser.h +0 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserbutton.h +1 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserwidget.h +1 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +12 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceversion.h +30 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-enumtypes.h +13 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +11 -2
- 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 +2 -2
- data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +1 -1
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +573 -20
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +4 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +4 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +298 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +70 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +170 -170
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMap.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceRegion.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +9 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSpaceDrawer.html +671 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserButton.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserWidget.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceTag.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +173 -91
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +2 -4
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-0.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-2-8.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-16.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-20.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-22.html +4 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-24.html +129 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +30 -2
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +109 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch03.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch04.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch05.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch06.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch07.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch08.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch09.html +6 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-Version-Information.html +17 -4
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +62 -22
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +10 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +8 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt01.html +29 -141
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt02.html +136 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt03.html +21 -25
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt04.html +54 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +6 -6
- data/vendor/local/share/gtksourceview-3.0/language-specs/abnf.lang +110 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +64 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/dtl.lang +297 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/haxe.lang +238 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ini.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +3 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/meson.lang +29 -2
- data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +1 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/rust.lang +10 -2
- data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- metadata +16 -7
@@ -91,6 +91,19 @@ GTK_SOURCE_ENUM_EXTERN
|
|
91
91
|
GType gtk_source_gutter_renderer_alignment_mode_get_type (void);
|
92
92
|
G_END_DECLS
|
93
93
|
|
94
|
+
#include <gtksourceview/gtksourcespacedrawer.h>
|
95
|
+
G_BEGIN_DECLS
|
96
|
+
#define GTK_SOURCE_TYPE_SPACE_TYPE_FLAGS gtk_source_space_type_flags_get_type()
|
97
|
+
GTK_SOURCE_ENUM_EXTERN
|
98
|
+
GType gtk_source_space_type_flags_get_type (void);
|
99
|
+
G_END_DECLS
|
100
|
+
|
101
|
+
G_BEGIN_DECLS
|
102
|
+
#define GTK_SOURCE_TYPE_SPACE_LOCATION_FLAGS gtk_source_space_location_flags_get_type()
|
103
|
+
GTK_SOURCE_ENUM_EXTERN
|
104
|
+
GType gtk_source_space_location_flags_get_type (void);
|
105
|
+
G_END_DECLS
|
106
|
+
|
94
107
|
#include <gtksourceview/gtksourceview.h>
|
95
108
|
G_BEGIN_DECLS
|
96
109
|
#define GTK_SOURCE_TYPE_VIEW_GUTTER_POSITION gtk_source_view_gutter_position_get_type()
|
@@ -97,7 +97,11 @@ typedef enum _GtkSourceSmartHomeEndType
|
|
97
97
|
* of GTK_SOURCE_DRAW_SPACES_LEADING, GTK_SOURCE_DRAW_SPACES_TEXT or
|
98
98
|
* GTK_SOURCE_DRAW_SPACES_TRAILING is specified, whitespaces at any position in
|
99
99
|
* the line will be drawn (i.e. it has the same effect as specifying all of them).
|
100
|
+
*
|
101
|
+
* Deprecated: 3.24: Use #GtkSourceSpaceTypeFlags and
|
102
|
+
* #GtkSourceSpaceLocationFlags instead.
|
100
103
|
*/
|
104
|
+
#ifndef GTKSOURCEVIEW_DISABLE_DEPRECATED
|
101
105
|
typedef enum _GtkSourceDrawSpacesFlags
|
102
106
|
{
|
103
107
|
GTK_SOURCE_DRAW_SPACES_SPACE = 1 << 0,
|
@@ -109,6 +113,7 @@ typedef enum _GtkSourceDrawSpacesFlags
|
|
109
113
|
GTK_SOURCE_DRAW_SPACES_TRAILING = 1 << 6,
|
110
114
|
GTK_SOURCE_DRAW_SPACES_ALL = 0x7f
|
111
115
|
} GtkSourceDrawSpacesFlags;
|
116
|
+
#endif
|
112
117
|
|
113
118
|
/**
|
114
119
|
* GtkSourceBackgroundPatternType:
|
@@ -272,11 +277,11 @@ GTK_SOURCE_AVAILABLE_IN_ALL
|
|
272
277
|
GtkSourceSmartHomeEndType
|
273
278
|
gtk_source_view_get_smart_home_end (GtkSourceView *view);
|
274
279
|
|
275
|
-
|
280
|
+
GTK_SOURCE_DEPRECATED_IN_3_24_FOR (gtk_source_space_drawer_set_types_for_locations)
|
276
281
|
void gtk_source_view_set_draw_spaces (GtkSourceView *view,
|
277
282
|
GtkSourceDrawSpacesFlags flags);
|
278
283
|
|
279
|
-
|
284
|
+
GTK_SOURCE_DEPRECATED_IN_3_24_FOR (gtk_source_space_drawer_get_types_for_locations)
|
280
285
|
GtkSourceDrawSpacesFlags
|
281
286
|
gtk_source_view_get_draw_spaces (GtkSourceView *view);
|
282
287
|
|
@@ -300,6 +305,10 @@ GTK_SOURCE_AVAILABLE_IN_3_16
|
|
300
305
|
GtkSourceBackgroundPatternType
|
301
306
|
gtk_source_view_get_background_pattern (GtkSourceView *view);
|
302
307
|
|
308
|
+
GTK_SOURCE_AVAILABLE_IN_3_24
|
309
|
+
GtkSourceSpaceDrawer *
|
310
|
+
gtk_source_view_get_space_drawer (GtkSourceView *view);
|
311
|
+
|
303
312
|
G_END_DECLS
|
304
313
|
|
305
314
|
#endif /* end of GTK_SOURCE_VIEW_H */
|
Binary file
|
Binary file
|
@@ -23,8 +23,8 @@ dependency_libs=' -R/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib -L/ho
|
|
23
23
|
weak_library_names=''
|
24
24
|
|
25
25
|
# Version information for libgtksourceview-3.0.
|
26
|
-
current=
|
27
|
-
age=
|
26
|
+
current=9
|
27
|
+
age=8
|
28
28
|
revision=0
|
29
29
|
|
30
30
|
# Is this an already installed library?
|
@@ -5,7 +5,7 @@ includedir=${prefix}/include
|
|
5
5
|
|
6
6
|
Name: gtksourceview
|
7
7
|
Description: Source code editing widget
|
8
|
-
Version: 3.
|
8
|
+
Version: 3.24.1
|
9
9
|
Requires: glib-2.0 >= 2.48 gio-2.0 >= 2.48 gtk+-3.0 >= 3.20
|
10
10
|
Requires.private: libxml-2.0 >= 2.6
|
11
11
|
Libs: -L${libdir} -lgtksourceview-3.0
|
@@ -1060,9 +1060,8 @@ A use-case for this signal is to show messages in a #GtkStatusbar.</doc>
|
|
1060
1060
|
</glib:signal>
|
1061
1061
|
<glib:signal name="highlight-updated" when="last">
|
1062
1062
|
<doc xml:space="preserve">The ::highlight-updated signal is emitted when the syntax
|
1063
|
-
highlighting
|
1064
|
-
|
1065
|
-
updated (e.g. the no-spell-check context class).</doc>
|
1063
|
+
highlighting and [context classes][context-classes] are updated in a
|
1064
|
+
certain region of the @buffer.</doc>
|
1066
1065
|
<return-value transfer-ownership="none">
|
1067
1066
|
<type name="none" c:type="void"/>
|
1068
1067
|
</return-value>
|
@@ -1420,8 +1419,8 @@ list of #GtkSourceCompletionProvider.</doc>
|
|
1420
1419
|
<doc xml:space="preserve">The #GtkSourceView associated with @completion, or %NULL if the view has been
|
1421
1420
|
destroyed.</doc>
|
1422
1421
|
<return-value transfer-ownership="none" nullable="1">
|
1423
|
-
<doc xml:space="preserve">
|
1424
|
-
|
1422
|
+
<doc xml:space="preserve">The #GtkSourceView associated with
|
1423
|
+
@completion, or %NULL.</doc>
|
1425
1424
|
<type name="View" c:type="GtkSourceView*"/>
|
1426
1425
|
</return-value>
|
1427
1426
|
<parameters>
|
@@ -2217,10 +2216,14 @@ before the real "show".</doc>
|
|
2217
2216
|
glib:get-type="gtk_source_completion_item_get_type"
|
2218
2217
|
glib:type-struct="CompletionItemClass">
|
2219
2218
|
<implements name="CompletionProposal"/>
|
2220
|
-
<constructor name="new"
|
2219
|
+
<constructor name="new"
|
2220
|
+
c:identifier="gtk_source_completion_item_new"
|
2221
|
+
deprecated="1"
|
2222
|
+
deprecated-version="3.24">
|
2221
2223
|
<doc xml:space="preserve">Create a new #GtkSourceCompletionItem with label @label, icon @icon and
|
2222
2224
|
extra information @info. Both @icon and @info can be %NULL in which case
|
2223
2225
|
there will be no icon shown and no extra information available.</doc>
|
2226
|
+
<doc-deprecated xml:space="preserve">Use gtk_source_completion_item_new2() instead.</doc-deprecated>
|
2224
2227
|
<return-value transfer-ownership="full">
|
2225
2228
|
<doc xml:space="preserve">a new #GtkSourceCompletionItem.</doc>
|
2226
2229
|
<type name="CompletionItem" c:type="GtkSourceCompletionItem*"/>
|
@@ -2256,7 +2259,7 @@ there will be no icon shown and no extra information available.</doc>
|
|
2256
2259
|
deprecated-version="3.10">
|
2257
2260
|
<doc xml:space="preserve">Creates a new #GtkSourceCompletionItem from a stock item. If @label is %NULL,
|
2258
2261
|
the stock label will be used.</doc>
|
2259
|
-
<doc-deprecated xml:space="preserve">Use
|
2262
|
+
<doc-deprecated xml:space="preserve">Use gtk_source_completion_item_new2() instead.</doc-deprecated>
|
2260
2263
|
<return-value transfer-ownership="full">
|
2261
2264
|
<doc xml:space="preserve">a new #GtkSourceCompletionItem.</doc>
|
2262
2265
|
<type name="CompletionItem" c:type="GtkSourceCompletionItem*"/>
|
@@ -2287,10 +2290,13 @@ the stock label will be used.</doc>
|
|
2287
2290
|
</parameters>
|
2288
2291
|
</constructor>
|
2289
2292
|
<constructor name="new_with_markup"
|
2290
|
-
c:identifier="gtk_source_completion_item_new_with_markup"
|
2293
|
+
c:identifier="gtk_source_completion_item_new_with_markup"
|
2294
|
+
deprecated="1"
|
2295
|
+
deprecated-version="3.24">
|
2291
2296
|
<doc xml:space="preserve">Create a new #GtkSourceCompletionItem with markup label @markup, icon
|
2292
2297
|
@icon and extra information @info. Both @icon and @info can be %NULL in
|
2293
2298
|
which case there will be no icon shown and no extra information available.</doc>
|
2299
|
+
<doc-deprecated xml:space="preserve">Use gtk_source_completion_item_new2() instead.</doc-deprecated>
|
2294
2300
|
<return-value transfer-ownership="full">
|
2295
2301
|
<doc xml:space="preserve">a new #GtkSourceCompletionItem.</doc>
|
2296
2302
|
<type name="CompletionItem" c:type="GtkSourceCompletionItem*"/>
|
@@ -2320,6 +2326,156 @@ which case there will be no icon shown and no extra information available.</doc>
|
|
2320
2326
|
</parameter>
|
2321
2327
|
</parameters>
|
2322
2328
|
</constructor>
|
2329
|
+
<function name="new2"
|
2330
|
+
c:identifier="gtk_source_completion_item_new2"
|
2331
|
+
version="3.24">
|
2332
|
+
<doc xml:space="preserve">Creates a new #GtkSourceCompletionItem. The desired properties need to be set
|
2333
|
+
afterwards.</doc>
|
2334
|
+
<return-value transfer-ownership="full">
|
2335
|
+
<doc xml:space="preserve">a new #GtkSourceCompletionItem.</doc>
|
2336
|
+
<type name="CompletionItem" c:type="GtkSourceCompletionItem*"/>
|
2337
|
+
</return-value>
|
2338
|
+
</function>
|
2339
|
+
<method name="set_gicon"
|
2340
|
+
c:identifier="gtk_source_completion_item_set_gicon"
|
2341
|
+
version="3.24">
|
2342
|
+
<return-value transfer-ownership="none">
|
2343
|
+
<type name="none" c:type="void"/>
|
2344
|
+
</return-value>
|
2345
|
+
<parameters>
|
2346
|
+
<instance-parameter name="item" transfer-ownership="none">
|
2347
|
+
<doc xml:space="preserve">a #GtkSourceCompletionItem.</doc>
|
2348
|
+
<type name="CompletionItem" c:type="GtkSourceCompletionItem*"/>
|
2349
|
+
</instance-parameter>
|
2350
|
+
<parameter name="gicon"
|
2351
|
+
transfer-ownership="none"
|
2352
|
+
nullable="1"
|
2353
|
+
allow-none="1">
|
2354
|
+
<doc xml:space="preserve">the #GIcon, or %NULL.</doc>
|
2355
|
+
<type name="Gio.Icon" c:type="GIcon*"/>
|
2356
|
+
</parameter>
|
2357
|
+
</parameters>
|
2358
|
+
</method>
|
2359
|
+
<method name="set_icon"
|
2360
|
+
c:identifier="gtk_source_completion_item_set_icon"
|
2361
|
+
version="3.24">
|
2362
|
+
<return-value transfer-ownership="none">
|
2363
|
+
<type name="none" c:type="void"/>
|
2364
|
+
</return-value>
|
2365
|
+
<parameters>
|
2366
|
+
<instance-parameter name="item" transfer-ownership="none">
|
2367
|
+
<doc xml:space="preserve">a #GtkSourceCompletionItem.</doc>
|
2368
|
+
<type name="CompletionItem" c:type="GtkSourceCompletionItem*"/>
|
2369
|
+
</instance-parameter>
|
2370
|
+
<parameter name="icon"
|
2371
|
+
transfer-ownership="none"
|
2372
|
+
nullable="1"
|
2373
|
+
allow-none="1">
|
2374
|
+
<doc xml:space="preserve">the #GdkPixbuf, or %NULL.</doc>
|
2375
|
+
<type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
|
2376
|
+
</parameter>
|
2377
|
+
</parameters>
|
2378
|
+
</method>
|
2379
|
+
<method name="set_icon_name"
|
2380
|
+
c:identifier="gtk_source_completion_item_set_icon_name"
|
2381
|
+
version="3.24">
|
2382
|
+
<return-value transfer-ownership="none">
|
2383
|
+
<type name="none" c:type="void"/>
|
2384
|
+
</return-value>
|
2385
|
+
<parameters>
|
2386
|
+
<instance-parameter name="item" transfer-ownership="none">
|
2387
|
+
<doc xml:space="preserve">a #GtkSourceCompletionItem.</doc>
|
2388
|
+
<type name="CompletionItem" c:type="GtkSourceCompletionItem*"/>
|
2389
|
+
</instance-parameter>
|
2390
|
+
<parameter name="icon_name"
|
2391
|
+
transfer-ownership="none"
|
2392
|
+
nullable="1"
|
2393
|
+
allow-none="1">
|
2394
|
+
<doc xml:space="preserve">the icon name, or %NULL.</doc>
|
2395
|
+
<type name="utf8" c:type="const gchar*"/>
|
2396
|
+
</parameter>
|
2397
|
+
</parameters>
|
2398
|
+
</method>
|
2399
|
+
<method name="set_info"
|
2400
|
+
c:identifier="gtk_source_completion_item_set_info"
|
2401
|
+
version="3.24">
|
2402
|
+
<return-value transfer-ownership="none">
|
2403
|
+
<type name="none" c:type="void"/>
|
2404
|
+
</return-value>
|
2405
|
+
<parameters>
|
2406
|
+
<instance-parameter name="item" transfer-ownership="none">
|
2407
|
+
<doc xml:space="preserve">a #GtkSourceCompletionItem.</doc>
|
2408
|
+
<type name="CompletionItem" c:type="GtkSourceCompletionItem*"/>
|
2409
|
+
</instance-parameter>
|
2410
|
+
<parameter name="info"
|
2411
|
+
transfer-ownership="none"
|
2412
|
+
nullable="1"
|
2413
|
+
allow-none="1">
|
2414
|
+
<doc xml:space="preserve">the info, or %NULL.</doc>
|
2415
|
+
<type name="utf8" c:type="const gchar*"/>
|
2416
|
+
</parameter>
|
2417
|
+
</parameters>
|
2418
|
+
</method>
|
2419
|
+
<method name="set_label"
|
2420
|
+
c:identifier="gtk_source_completion_item_set_label"
|
2421
|
+
version="3.24">
|
2422
|
+
<return-value transfer-ownership="none">
|
2423
|
+
<type name="none" c:type="void"/>
|
2424
|
+
</return-value>
|
2425
|
+
<parameters>
|
2426
|
+
<instance-parameter name="item" transfer-ownership="none">
|
2427
|
+
<doc xml:space="preserve">a #GtkSourceCompletionItem.</doc>
|
2428
|
+
<type name="CompletionItem" c:type="GtkSourceCompletionItem*"/>
|
2429
|
+
</instance-parameter>
|
2430
|
+
<parameter name="label"
|
2431
|
+
transfer-ownership="none"
|
2432
|
+
nullable="1"
|
2433
|
+
allow-none="1">
|
2434
|
+
<doc xml:space="preserve">the label, or %NULL.</doc>
|
2435
|
+
<type name="utf8" c:type="const gchar*"/>
|
2436
|
+
</parameter>
|
2437
|
+
</parameters>
|
2438
|
+
</method>
|
2439
|
+
<method name="set_markup"
|
2440
|
+
c:identifier="gtk_source_completion_item_set_markup"
|
2441
|
+
version="3.24">
|
2442
|
+
<return-value transfer-ownership="none">
|
2443
|
+
<type name="none" c:type="void"/>
|
2444
|
+
</return-value>
|
2445
|
+
<parameters>
|
2446
|
+
<instance-parameter name="item" transfer-ownership="none">
|
2447
|
+
<doc xml:space="preserve">a #GtkSourceCompletionItem.</doc>
|
2448
|
+
<type name="CompletionItem" c:type="GtkSourceCompletionItem*"/>
|
2449
|
+
</instance-parameter>
|
2450
|
+
<parameter name="markup"
|
2451
|
+
transfer-ownership="none"
|
2452
|
+
nullable="1"
|
2453
|
+
allow-none="1">
|
2454
|
+
<doc xml:space="preserve">the markup, or %NULL.</doc>
|
2455
|
+
<type name="utf8" c:type="const gchar*"/>
|
2456
|
+
</parameter>
|
2457
|
+
</parameters>
|
2458
|
+
</method>
|
2459
|
+
<method name="set_text"
|
2460
|
+
c:identifier="gtk_source_completion_item_set_text"
|
2461
|
+
version="3.24">
|
2462
|
+
<return-value transfer-ownership="none">
|
2463
|
+
<type name="none" c:type="void"/>
|
2464
|
+
</return-value>
|
2465
|
+
<parameters>
|
2466
|
+
<instance-parameter name="item" transfer-ownership="none">
|
2467
|
+
<doc xml:space="preserve">a #GtkSourceCompletionItem.</doc>
|
2468
|
+
<type name="CompletionItem" c:type="GtkSourceCompletionItem*"/>
|
2469
|
+
</instance-parameter>
|
2470
|
+
<parameter name="text"
|
2471
|
+
transfer-ownership="none"
|
2472
|
+
nullable="1"
|
2473
|
+
allow-none="1">
|
2474
|
+
<doc xml:space="preserve">the text, or %NULL.</doc>
|
2475
|
+
<type name="utf8" c:type="const gchar*"/>
|
2476
|
+
</parameter>
|
2477
|
+
</parameters>
|
2478
|
+
</method>
|
2323
2479
|
<property name="gicon"
|
2324
2480
|
version="3.18"
|
2325
2481
|
writable="1"
|
@@ -3905,6 +4061,8 @@ info widget.</doc>
|
|
3905
4061
|
</member>
|
3906
4062
|
</enumeration>
|
3907
4063
|
<bitfield name="DrawSpacesFlags"
|
4064
|
+
deprecated="1"
|
4065
|
+
deprecated-version="3.24"
|
3908
4066
|
glib:type-name="GtkSourceDrawSpacesFlags"
|
3909
4067
|
glib:get-type="gtk_source_draw_spaces_flags_get_type"
|
3910
4068
|
c:type="GtkSourceDrawSpacesFlags">
|
@@ -3912,6 +4070,8 @@ info widget.</doc>
|
|
3912
4070
|
of GTK_SOURCE_DRAW_SPACES_LEADING, GTK_SOURCE_DRAW_SPACES_TEXT or
|
3913
4071
|
GTK_SOURCE_DRAW_SPACES_TRAILING is specified, whitespaces at any position in
|
3914
4072
|
the line will be drawn (i.e. it has the same effect as specifying all of them).</doc>
|
4073
|
+
<doc-deprecated xml:space="preserve">Use #GtkSourceSpaceTypeFlags and
|
4074
|
+
#GtkSourceSpaceLocationFlags instead.</doc-deprecated>
|
3915
4075
|
<member name="space"
|
3916
4076
|
value="1"
|
3917
4077
|
c:identifier="GTK_SOURCE_DRAW_SPACES_SPACE"
|
@@ -5287,6 +5447,20 @@ from the #GtkSourceFile at construction time.</doc>
|
|
5287
5447
|
</parameter>
|
5288
5448
|
</parameters>
|
5289
5449
|
</method>
|
5450
|
+
<method name="get_view"
|
5451
|
+
c:identifier="gtk_source_gutter_get_view"
|
5452
|
+
version="3.24">
|
5453
|
+
<return-value transfer-ownership="none">
|
5454
|
+
<doc xml:space="preserve">the associated #GtkSourceView.</doc>
|
5455
|
+
<type name="View" c:type="GtkSourceView*"/>
|
5456
|
+
</return-value>
|
5457
|
+
<parameters>
|
5458
|
+
<instance-parameter name="gutter" transfer-ownership="none">
|
5459
|
+
<doc xml:space="preserve">a #GtkSourceGutter.</doc>
|
5460
|
+
<type name="Gutter" c:type="GtkSourceGutter*"/>
|
5461
|
+
</instance-parameter>
|
5462
|
+
</parameters>
|
5463
|
+
</method>
|
5290
5464
|
<method name="get_window"
|
5291
5465
|
c:identifier="gtk_source_gutter_get_window"
|
5292
5466
|
version="2.8"
|
@@ -5307,6 +5481,20 @@ if the gutter has no window.</doc>
|
|
5307
5481
|
</instance-parameter>
|
5308
5482
|
</parameters>
|
5309
5483
|
</method>
|
5484
|
+
<method name="get_window_type"
|
5485
|
+
c:identifier="gtk_source_gutter_get_window_type"
|
5486
|
+
version="3.24">
|
5487
|
+
<return-value transfer-ownership="none">
|
5488
|
+
<doc xml:space="preserve">the #GtkTextWindowType of @gutter.</doc>
|
5489
|
+
<type name="Gtk.TextWindowType" c:type="GtkTextWindowType"/>
|
5490
|
+
</return-value>
|
5491
|
+
<parameters>
|
5492
|
+
<instance-parameter name="gutter" transfer-ownership="none">
|
5493
|
+
<doc xml:space="preserve">a #GtkSourceGutter.</doc>
|
5494
|
+
<type name="Gutter" c:type="GtkSourceGutter*"/>
|
5495
|
+
</instance-parameter>
|
5496
|
+
</parameters>
|
5497
|
+
</method>
|
5310
5498
|
<method name="insert"
|
5311
5499
|
c:identifier="gtk_source_gutter_insert"
|
5312
5500
|
version="3.0">
|
@@ -10410,11 +10598,19 @@ gtk_source_search_context_set_highlight().</doc>
|
|
10410
10598
|
</method>
|
10411
10599
|
<method name="set_settings"
|
10412
10600
|
c:identifier="gtk_source_search_context_set_settings"
|
10413
|
-
version="3.10"
|
10601
|
+
version="3.10"
|
10602
|
+
deprecated="1"
|
10603
|
+
deprecated-version="3.24">
|
10414
10604
|
<doc xml:space="preserve">Associate a #GtkSourceSearchSettings with the search context. If @settings is
|
10415
10605
|
%NULL, a new one will be created.
|
10416
10606
|
|
10417
10607
|
The search context holds a reference to @settings.</doc>
|
10608
|
+
<doc-deprecated xml:space="preserve">The #GtkSourceSearchContext:settings property will become a
|
10609
|
+
construct-only property in a future version. Create a new
|
10610
|
+
#GtkSourceSearchContext instead, or change the #GtkSourceSearchSettings
|
10611
|
+
properties. When the #GtkSourceSearchContext:settings property will become
|
10612
|
+
construct-only, it will be possible to simplify some code that needed to
|
10613
|
+
listen to the notify::settings signal.</doc-deprecated>
|
10418
10614
|
<return-value transfer-ownership="none">
|
10419
10615
|
<type name="none" c:type="void"/>
|
10420
10616
|
</return-value>
|
@@ -10837,6 +11033,324 @@ non-whitespace character when the HOME/END keys are pressed.</doc>
|
|
10837
11033
|
<doc xml:space="preserve">remove duplicates</doc>
|
10838
11034
|
</member>
|
10839
11035
|
</bitfield>
|
11036
|
+
<class name="SpaceDrawer"
|
11037
|
+
c:symbol-prefix="space_drawer"
|
11038
|
+
c:type="GtkSourceSpaceDrawer"
|
11039
|
+
parent="GObject.Object"
|
11040
|
+
glib:type-name="GtkSourceSpaceDrawer"
|
11041
|
+
glib:get-type="gtk_source_space_drawer_get_type"
|
11042
|
+
glib:type-struct="SpaceDrawerClass">
|
11043
|
+
<constructor name="new"
|
11044
|
+
c:identifier="gtk_source_space_drawer_new"
|
11045
|
+
version="3.24">
|
11046
|
+
<doc xml:space="preserve">Creates a new #GtkSourceSpaceDrawer object. Useful for storing space drawing
|
11047
|
+
settings independently of a #GtkSourceView.</doc>
|
11048
|
+
<return-value transfer-ownership="full">
|
11049
|
+
<doc xml:space="preserve">a new #GtkSourceSpaceDrawer.</doc>
|
11050
|
+
<type name="SpaceDrawer" c:type="GtkSourceSpaceDrawer*"/>
|
11051
|
+
</return-value>
|
11052
|
+
</constructor>
|
11053
|
+
<method name="bind_matrix_setting"
|
11054
|
+
c:identifier="gtk_source_space_drawer_bind_matrix_setting"
|
11055
|
+
version="3.24">
|
11056
|
+
<doc xml:space="preserve">Binds the #GtkSourceSpaceDrawer:matrix property to a #GSettings key.
|
11057
|
+
|
11058
|
+
The #GSettings key must be of the same type as the
|
11059
|
+
#GtkSourceSpaceDrawer:matrix property, that is, `"au"`.
|
11060
|
+
|
11061
|
+
The g_settings_bind() function cannot be used, because the default GIO
|
11062
|
+
mapping functions don't support #GVariant properties (maybe it will be
|
11063
|
+
supported by a future GIO version, in which case this function can be
|
11064
|
+
deprecated).</doc>
|
11065
|
+
<return-value transfer-ownership="none">
|
11066
|
+
<type name="none" c:type="void"/>
|
11067
|
+
</return-value>
|
11068
|
+
<parameters>
|
11069
|
+
<instance-parameter name="drawer" transfer-ownership="none">
|
11070
|
+
<doc xml:space="preserve">a #GtkSourceSpaceDrawer object.</doc>
|
11071
|
+
<type name="SpaceDrawer" c:type="GtkSourceSpaceDrawer*"/>
|
11072
|
+
</instance-parameter>
|
11073
|
+
<parameter name="settings" transfer-ownership="none">
|
11074
|
+
<doc xml:space="preserve">a #GSettings object.</doc>
|
11075
|
+
<type name="Gio.Settings" c:type="GSettings*"/>
|
11076
|
+
</parameter>
|
11077
|
+
<parameter name="key" transfer-ownership="none">
|
11078
|
+
<doc xml:space="preserve">the @settings key to bind.</doc>
|
11079
|
+
<type name="utf8" c:type="const gchar*"/>
|
11080
|
+
</parameter>
|
11081
|
+
<parameter name="flags" transfer-ownership="none">
|
11082
|
+
<doc xml:space="preserve">flags for the binding.</doc>
|
11083
|
+
<type name="Gio.SettingsBindFlags" c:type="GSettingsBindFlags"/>
|
11084
|
+
</parameter>
|
11085
|
+
</parameters>
|
11086
|
+
</method>
|
11087
|
+
<method name="get_enable_matrix"
|
11088
|
+
c:identifier="gtk_source_space_drawer_get_enable_matrix"
|
11089
|
+
version="3.24">
|
11090
|
+
<return-value transfer-ownership="none">
|
11091
|
+
<doc xml:space="preserve">whether the #GtkSourceSpaceDrawer:matrix property is enabled.</doc>
|
11092
|
+
<type name="gboolean" c:type="gboolean"/>
|
11093
|
+
</return-value>
|
11094
|
+
<parameters>
|
11095
|
+
<instance-parameter name="drawer" transfer-ownership="none">
|
11096
|
+
<doc xml:space="preserve">a #GtkSourceSpaceDrawer.</doc>
|
11097
|
+
<type name="SpaceDrawer" c:type="GtkSourceSpaceDrawer*"/>
|
11098
|
+
</instance-parameter>
|
11099
|
+
</parameters>
|
11100
|
+
</method>
|
11101
|
+
<method name="get_matrix"
|
11102
|
+
c:identifier="gtk_source_space_drawer_get_matrix"
|
11103
|
+
version="3.24">
|
11104
|
+
<doc xml:space="preserve">Gets the value of the #GtkSourceSpaceDrawer:matrix property, as a #GVariant.
|
11105
|
+
An empty array can be returned in case the matrix is a zero matrix.
|
11106
|
+
|
11107
|
+
The gtk_source_space_drawer_get_types_for_locations() function may be more
|
11108
|
+
convenient to use.</doc>
|
11109
|
+
<return-value transfer-ownership="full">
|
11110
|
+
<doc xml:space="preserve">the #GtkSourceSpaceDrawer:matrix value as a new floating #GVariant
|
11111
|
+
instance.</doc>
|
11112
|
+
<type name="GLib.Variant" c:type="GVariant*"/>
|
11113
|
+
</return-value>
|
11114
|
+
<parameters>
|
11115
|
+
<instance-parameter name="drawer" transfer-ownership="none">
|
11116
|
+
<doc xml:space="preserve">a #GtkSourceSpaceDrawer.</doc>
|
11117
|
+
<type name="SpaceDrawer" c:type="GtkSourceSpaceDrawer*"/>
|
11118
|
+
</instance-parameter>
|
11119
|
+
</parameters>
|
11120
|
+
</method>
|
11121
|
+
<method name="get_types_for_locations"
|
11122
|
+
c:identifier="gtk_source_space_drawer_get_types_for_locations"
|
11123
|
+
version="3.24">
|
11124
|
+
<doc xml:space="preserve">If only one location is specified, this function returns what kind of
|
11125
|
+
white spaces are drawn at that location. The value is retrieved from the
|
11126
|
+
#GtkSourceSpaceDrawer:matrix property.
|
11127
|
+
|
11128
|
+
If several locations are specified, this function returns the logical AND for
|
11129
|
+
those locations. Which means that if a certain kind of white space is present
|
11130
|
+
in the return value, then that kind of white space is drawn at all the
|
11131
|
+
specified @locations.</doc>
|
11132
|
+
<return-value transfer-ownership="none">
|
11133
|
+
<doc xml:space="preserve">a combination of #GtkSourceSpaceTypeFlags.</doc>
|
11134
|
+
<type name="SpaceTypeFlags" c:type="GtkSourceSpaceTypeFlags"/>
|
11135
|
+
</return-value>
|
11136
|
+
<parameters>
|
11137
|
+
<instance-parameter name="drawer" transfer-ownership="none">
|
11138
|
+
<doc xml:space="preserve">a #GtkSourceSpaceDrawer.</doc>
|
11139
|
+
<type name="SpaceDrawer" c:type="GtkSourceSpaceDrawer*"/>
|
11140
|
+
</instance-parameter>
|
11141
|
+
<parameter name="locations" transfer-ownership="none">
|
11142
|
+
<doc xml:space="preserve">one or several #GtkSourceSpaceLocationFlags.</doc>
|
11143
|
+
<type name="SpaceLocationFlags"
|
11144
|
+
c:type="GtkSourceSpaceLocationFlags"/>
|
11145
|
+
</parameter>
|
11146
|
+
</parameters>
|
11147
|
+
</method>
|
11148
|
+
<method name="set_enable_matrix"
|
11149
|
+
c:identifier="gtk_source_space_drawer_set_enable_matrix"
|
11150
|
+
version="3.24">
|
11151
|
+
<doc xml:space="preserve">Sets whether the #GtkSourceSpaceDrawer:matrix property is enabled.</doc>
|
11152
|
+
<return-value transfer-ownership="none">
|
11153
|
+
<type name="none" c:type="void"/>
|
11154
|
+
</return-value>
|
11155
|
+
<parameters>
|
11156
|
+
<instance-parameter name="drawer" transfer-ownership="none">
|
11157
|
+
<doc xml:space="preserve">a #GtkSourceSpaceDrawer.</doc>
|
11158
|
+
<type name="SpaceDrawer" c:type="GtkSourceSpaceDrawer*"/>
|
11159
|
+
</instance-parameter>
|
11160
|
+
<parameter name="enable_matrix" transfer-ownership="none">
|
11161
|
+
<doc xml:space="preserve">the new value.</doc>
|
11162
|
+
<type name="gboolean" c:type="gboolean"/>
|
11163
|
+
</parameter>
|
11164
|
+
</parameters>
|
11165
|
+
</method>
|
11166
|
+
<method name="set_matrix"
|
11167
|
+
c:identifier="gtk_source_space_drawer_set_matrix"
|
11168
|
+
version="3.24">
|
11169
|
+
<doc xml:space="preserve">Sets a new value to the #GtkSourceSpaceDrawer:matrix property, as a
|
11170
|
+
#GVariant. If @matrix is %NULL, then an empty array is set.
|
11171
|
+
|
11172
|
+
If @matrix is floating, it is consumed.
|
11173
|
+
|
11174
|
+
The gtk_source_space_drawer_set_types_for_locations() function may be more
|
11175
|
+
convenient to use.</doc>
|
11176
|
+
<return-value transfer-ownership="none">
|
11177
|
+
<type name="none" c:type="void"/>
|
11178
|
+
</return-value>
|
11179
|
+
<parameters>
|
11180
|
+
<instance-parameter name="drawer" transfer-ownership="none">
|
11181
|
+
<doc xml:space="preserve">a #GtkSourceSpaceDrawer.</doc>
|
11182
|
+
<type name="SpaceDrawer" c:type="GtkSourceSpaceDrawer*"/>
|
11183
|
+
</instance-parameter>
|
11184
|
+
<parameter name="matrix"
|
11185
|
+
transfer-ownership="none"
|
11186
|
+
nullable="1"
|
11187
|
+
allow-none="1">
|
11188
|
+
<doc xml:space="preserve">the new matrix value, or %NULL.</doc>
|
11189
|
+
<type name="GLib.Variant" c:type="GVariant*"/>
|
11190
|
+
</parameter>
|
11191
|
+
</parameters>
|
11192
|
+
</method>
|
11193
|
+
<method name="set_types_for_locations"
|
11194
|
+
c:identifier="gtk_source_space_drawer_set_types_for_locations"
|
11195
|
+
version="3.24">
|
11196
|
+
<doc xml:space="preserve">Modifies the #GtkSourceSpaceDrawer:matrix property at the specified
|
11197
|
+
@locations.</doc>
|
11198
|
+
<return-value transfer-ownership="none">
|
11199
|
+
<type name="none" c:type="void"/>
|
11200
|
+
</return-value>
|
11201
|
+
<parameters>
|
11202
|
+
<instance-parameter name="drawer" transfer-ownership="none">
|
11203
|
+
<doc xml:space="preserve">a #GtkSourceSpaceDrawer.</doc>
|
11204
|
+
<type name="SpaceDrawer" c:type="GtkSourceSpaceDrawer*"/>
|
11205
|
+
</instance-parameter>
|
11206
|
+
<parameter name="locations" transfer-ownership="none">
|
11207
|
+
<doc xml:space="preserve">one or several #GtkSourceSpaceLocationFlags.</doc>
|
11208
|
+
<type name="SpaceLocationFlags"
|
11209
|
+
c:type="GtkSourceSpaceLocationFlags"/>
|
11210
|
+
</parameter>
|
11211
|
+
<parameter name="types" transfer-ownership="none">
|
11212
|
+
<doc xml:space="preserve">a combination of #GtkSourceSpaceTypeFlags.</doc>
|
11213
|
+
<type name="SpaceTypeFlags" c:type="GtkSourceSpaceTypeFlags"/>
|
11214
|
+
</parameter>
|
11215
|
+
</parameters>
|
11216
|
+
</method>
|
11217
|
+
<property name="enable-matrix"
|
11218
|
+
version="3.24"
|
11219
|
+
writable="1"
|
11220
|
+
construct="1"
|
11221
|
+
transfer-ownership="none">
|
11222
|
+
<doc xml:space="preserve">Whether the #GtkSourceSpaceDrawer:matrix property is enabled.</doc>
|
11223
|
+
<type name="gboolean" c:type="gboolean"/>
|
11224
|
+
</property>
|
11225
|
+
<property name="matrix"
|
11226
|
+
version="3.24"
|
11227
|
+
writable="1"
|
11228
|
+
construct="1"
|
11229
|
+
transfer-ownership="none">
|
11230
|
+
<doc xml:space="preserve">The :matrix property is a #GVariant property to specify where and
|
11231
|
+
what kind of white spaces to draw.
|
11232
|
+
|
11233
|
+
The #GVariant is of type `"au"`, an array of unsigned integers. Each
|
11234
|
+
integer is a combination of #GtkSourceSpaceTypeFlags. There is one
|
11235
|
+
integer for each #GtkSourceSpaceLocationFlags, in the same order as
|
11236
|
+
they are defined in the enum (%GTK_SOURCE_SPACE_LOCATION_NONE and
|
11237
|
+
%GTK_SOURCE_SPACE_LOCATION_ALL are not taken into account).
|
11238
|
+
|
11239
|
+
If the array is shorter than the number of locations, then the value
|
11240
|
+
for the missing locations will be %GTK_SOURCE_SPACE_TYPE_NONE.
|
11241
|
+
|
11242
|
+
By default, %GTK_SOURCE_SPACE_TYPE_ALL is set for all locations.</doc>
|
11243
|
+
<type name="GLib.Variant"/>
|
11244
|
+
</property>
|
11245
|
+
<field name="parent">
|
11246
|
+
<type name="GObject.Object" c:type="GObject"/>
|
11247
|
+
</field>
|
11248
|
+
<field name="priv">
|
11249
|
+
<type name="SpaceDrawerPrivate" c:type="GtkSourceSpaceDrawerPrivate*"/>
|
11250
|
+
</field>
|
11251
|
+
</class>
|
11252
|
+
<record name="SpaceDrawerClass"
|
11253
|
+
c:type="GtkSourceSpaceDrawerClass"
|
11254
|
+
glib:is-gtype-struct-for="SpaceDrawer">
|
11255
|
+
<field name="parent_class">
|
11256
|
+
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
|
11257
|
+
</field>
|
11258
|
+
<field name="padding">
|
11259
|
+
<array zero-terminated="0" c:type="gpointer" fixed-size="20">
|
11260
|
+
<type name="gpointer" c:type="gpointer"/>
|
11261
|
+
</array>
|
11262
|
+
</field>
|
11263
|
+
</record>
|
11264
|
+
<record name="SpaceDrawerPrivate"
|
11265
|
+
c:type="GtkSourceSpaceDrawerPrivate"
|
11266
|
+
disguised="1">
|
11267
|
+
</record>
|
11268
|
+
<bitfield name="SpaceLocationFlags"
|
11269
|
+
version="3.24"
|
11270
|
+
glib:type-name="GtkSourceSpaceLocationFlags"
|
11271
|
+
glib:get-type="gtk_source_space_location_flags_get_type"
|
11272
|
+
c:type="GtkSourceSpaceLocationFlags">
|
11273
|
+
<doc xml:space="preserve">#GtkSourceSpaceLocationFlags contains flags for white space locations.
|
11274
|
+
|
11275
|
+
If a line contains only white spaces (no text), the white spaces match both
|
11276
|
+
%GTK_SOURCE_SPACE_LOCATION_LEADING and %GTK_SOURCE_SPACE_LOCATION_TRAILING.</doc>
|
11277
|
+
<member name="none"
|
11278
|
+
value="0"
|
11279
|
+
c:identifier="GTK_SOURCE_SPACE_LOCATION_NONE"
|
11280
|
+
glib:nick="none">
|
11281
|
+
<doc xml:space="preserve">No flags.</doc>
|
11282
|
+
</member>
|
11283
|
+
<member name="leading"
|
11284
|
+
value="1"
|
11285
|
+
c:identifier="GTK_SOURCE_SPACE_LOCATION_LEADING"
|
11286
|
+
glib:nick="leading">
|
11287
|
+
<doc xml:space="preserve">Leading white spaces on a line, i.e. the
|
11288
|
+
indentation.</doc>
|
11289
|
+
</member>
|
11290
|
+
<member name="inside_text"
|
11291
|
+
value="2"
|
11292
|
+
c:identifier="GTK_SOURCE_SPACE_LOCATION_INSIDE_TEXT"
|
11293
|
+
glib:nick="inside-text">
|
11294
|
+
<doc xml:space="preserve">White spaces inside a line of text.</doc>
|
11295
|
+
</member>
|
11296
|
+
<member name="trailing"
|
11297
|
+
value="4"
|
11298
|
+
c:identifier="GTK_SOURCE_SPACE_LOCATION_TRAILING"
|
11299
|
+
glib:nick="trailing">
|
11300
|
+
<doc xml:space="preserve">Trailing white spaces on a line.</doc>
|
11301
|
+
</member>
|
11302
|
+
<member name="all"
|
11303
|
+
value="7"
|
11304
|
+
c:identifier="GTK_SOURCE_SPACE_LOCATION_ALL"
|
11305
|
+
glib:nick="all">
|
11306
|
+
<doc xml:space="preserve">White spaces anywhere.</doc>
|
11307
|
+
</member>
|
11308
|
+
</bitfield>
|
11309
|
+
<bitfield name="SpaceTypeFlags"
|
11310
|
+
version="3.24"
|
11311
|
+
glib:type-name="GtkSourceSpaceTypeFlags"
|
11312
|
+
glib:get-type="gtk_source_space_type_flags_get_type"
|
11313
|
+
c:type="GtkSourceSpaceTypeFlags">
|
11314
|
+
<doc xml:space="preserve">#GtkSourceSpaceTypeFlags contains flags for white space types.</doc>
|
11315
|
+
<member name="none"
|
11316
|
+
value="0"
|
11317
|
+
c:identifier="GTK_SOURCE_SPACE_TYPE_NONE"
|
11318
|
+
glib:nick="none">
|
11319
|
+
<doc xml:space="preserve">No flags.</doc>
|
11320
|
+
</member>
|
11321
|
+
<member name="space"
|
11322
|
+
value="1"
|
11323
|
+
c:identifier="GTK_SOURCE_SPACE_TYPE_SPACE"
|
11324
|
+
glib:nick="space">
|
11325
|
+
<doc xml:space="preserve">Space character.</doc>
|
11326
|
+
</member>
|
11327
|
+
<member name="tab"
|
11328
|
+
value="2"
|
11329
|
+
c:identifier="GTK_SOURCE_SPACE_TYPE_TAB"
|
11330
|
+
glib:nick="tab">
|
11331
|
+
<doc xml:space="preserve">Tab character.</doc>
|
11332
|
+
</member>
|
11333
|
+
<member name="newline"
|
11334
|
+
value="4"
|
11335
|
+
c:identifier="GTK_SOURCE_SPACE_TYPE_NEWLINE"
|
11336
|
+
glib:nick="newline">
|
11337
|
+
<doc xml:space="preserve">Line break character. If the
|
11338
|
+
#GtkSourceBuffer:implicit-trailing-newline property is %TRUE,
|
11339
|
+
#GtkSourceSpaceDrawer also draws a line break at the end of the buffer.</doc>
|
11340
|
+
</member>
|
11341
|
+
<member name="nbsp"
|
11342
|
+
value="8"
|
11343
|
+
c:identifier="GTK_SOURCE_SPACE_TYPE_NBSP"
|
11344
|
+
glib:nick="nbsp">
|
11345
|
+
<doc xml:space="preserve">Non-breaking space character.</doc>
|
11346
|
+
</member>
|
11347
|
+
<member name="all"
|
11348
|
+
value="15"
|
11349
|
+
c:identifier="GTK_SOURCE_SPACE_TYPE_ALL"
|
11350
|
+
glib:nick="all">
|
11351
|
+
<doc xml:space="preserve">All white spaces.</doc>
|
11352
|
+
</member>
|
11353
|
+
</bitfield>
|
10840
11354
|
<class name="Style"
|
10841
11355
|
c:symbol-prefix="style"
|
10842
11356
|
c:type="GtkSourceStyle"
|
@@ -11614,8 +12128,8 @@ use.</doc>
|
|
11614
12128
|
version="3.20"
|
11615
12129
|
writable="1"
|
11616
12130
|
transfer-ownership="none">
|
11617
|
-
<doc xml:space="preserve">Whether to draw spaces. This property takes precedence over the value
|
11618
|
-
defined by the
|
12131
|
+
<doc xml:space="preserve">Whether to draw white spaces. This property takes precedence over the value
|
12132
|
+
defined by the GtkSourceSpaceDrawer's #GtkSourceSpaceDrawer:matrix property
|
11619
12133
|
(only where the tag is applied).
|
11620
12134
|
|
11621
12135
|
Setting this property also changes #GtkSourceTag:draw-spaces-set to
|
@@ -12163,10 +12677,11 @@ the background pattern should be displayed for this @view.</doc>
|
|
12163
12677
|
</method>
|
12164
12678
|
<method name="get_completion"
|
12165
12679
|
c:identifier="gtk_source_view_get_completion">
|
12166
|
-
<doc xml:space="preserve">Gets the #GtkSourceCompletion associated with @view
|
12680
|
+
<doc xml:space="preserve">Gets the #GtkSourceCompletion associated with @view. The returned object is
|
12681
|
+
guaranteed to be the same for the lifetime of @view. Each #GtkSourceView
|
12682
|
+
object has a different #GtkSourceCompletion.</doc>
|
12167
12683
|
<return-value transfer-ownership="none">
|
12168
|
-
<doc xml:space="preserve">
|
12169
|
-
the #GtkSourceCompletion associated with @view.</doc>
|
12684
|
+
<doc xml:space="preserve">the #GtkSourceCompletion associated with @view.</doc>
|
12170
12685
|
<type name="Completion" c:type="GtkSourceCompletion*"/>
|
12171
12686
|
</return-value>
|
12172
12687
|
<parameters>
|
@@ -12177,9 +12692,13 @@ the #GtkSourceCompletion associated with @view.</doc>
|
|
12177
12692
|
</parameters>
|
12178
12693
|
</method>
|
12179
12694
|
<method name="get_draw_spaces"
|
12180
|
-
c:identifier="gtk_source_view_get_draw_spaces"
|
12695
|
+
c:identifier="gtk_source_view_get_draw_spaces"
|
12696
|
+
deprecated="1"
|
12697
|
+
deprecated-version="3.24">
|
12181
12698
|
<doc xml:space="preserve">Returns the #GtkSourceDrawSpacesFlags specifying if and how spaces
|
12182
12699
|
should be displayed for this @view.</doc>
|
12700
|
+
<doc-deprecated xml:space="preserve">Use gtk_source_space_drawer_get_types_for_locations()
|
12701
|
+
instead.</doc-deprecated>
|
12183
12702
|
<return-value transfer-ownership="none">
|
12184
12703
|
<doc xml:space="preserve">the #GtkSourceDrawSpacesFlags, 0 if no spaces should be drawn.</doc>
|
12185
12704
|
<type name="DrawSpacesFlags" c:type="GtkSourceDrawSpacesFlags"/>
|
@@ -12383,6 +12902,23 @@ how the cursor will move when HOME and END keys are pressed.</doc>
|
|
12383
12902
|
</instance-parameter>
|
12384
12903
|
</parameters>
|
12385
12904
|
</method>
|
12905
|
+
<method name="get_space_drawer"
|
12906
|
+
c:identifier="gtk_source_view_get_space_drawer"
|
12907
|
+
version="3.24">
|
12908
|
+
<doc xml:space="preserve">Gets the #GtkSourceSpaceDrawer associated with @view. The returned object is
|
12909
|
+
guaranteed to be the same for the lifetime of @view. Each #GtkSourceView
|
12910
|
+
object has a different #GtkSourceSpaceDrawer.</doc>
|
12911
|
+
<return-value transfer-ownership="none">
|
12912
|
+
<doc xml:space="preserve">the #GtkSourceSpaceDrawer associated with @view.</doc>
|
12913
|
+
<type name="SpaceDrawer" c:type="GtkSourceSpaceDrawer*"/>
|
12914
|
+
</return-value>
|
12915
|
+
<parameters>
|
12916
|
+
<instance-parameter name="view" transfer-ownership="none">
|
12917
|
+
<doc xml:space="preserve">a #GtkSourceView.</doc>
|
12918
|
+
<type name="View" c:type="GtkSourceView*"/>
|
12919
|
+
</instance-parameter>
|
12920
|
+
</parameters>
|
12921
|
+
</method>
|
12386
12922
|
<method name="get_tab_width"
|
12387
12923
|
c:identifier="gtk_source_view_get_tab_width">
|
12388
12924
|
<doc xml:space="preserve">Returns the width of tabulation in characters.</doc>
|
@@ -12481,12 +13017,16 @@ on the context.</doc>
|
|
12481
13017
|
</parameters>
|
12482
13018
|
</method>
|
12483
13019
|
<method name="set_draw_spaces"
|
12484
|
-
c:identifier="gtk_source_view_set_draw_spaces"
|
13020
|
+
c:identifier="gtk_source_view_set_draw_spaces"
|
13021
|
+
deprecated="1"
|
13022
|
+
deprecated-version="3.24">
|
12485
13023
|
<doc xml:space="preserve">Set if and how the spaces should be visualized. Specifying @flags as 0 will
|
12486
13024
|
disable display of spaces.
|
12487
13025
|
|
12488
13026
|
For a finer-grained method, there is also the GtkSourceTag's
|
12489
13027
|
#GtkSourceTag:draw-spaces property.</doc>
|
13028
|
+
<doc-deprecated xml:space="preserve">Use gtk_source_space_drawer_set_types_for_locations()
|
13029
|
+
instead.</doc-deprecated>
|
12490
13030
|
<return-value transfer-ownership="none">
|
12491
13031
|
<type name="none" c:type="void"/>
|
12492
13032
|
</return-value>
|
@@ -12788,12 +13328,16 @@ specified lines.</doc>
|
|
12788
13328
|
</property>
|
12789
13329
|
<property name="draw-spaces"
|
12790
13330
|
version="2.4"
|
13331
|
+
deprecated="1"
|
13332
|
+
deprecated-version="3.24"
|
12791
13333
|
writable="1"
|
12792
13334
|
transfer-ownership="none">
|
12793
13335
|
<doc xml:space="preserve">Set if and how the spaces should be visualized.
|
12794
13336
|
|
12795
13337
|
For a finer-grained method, there is also the GtkSourceTag's
|
12796
13338
|
#GtkSourceTag:draw-spaces property.</doc>
|
13339
|
+
<doc-deprecated xml:space="preserve">Use the #GtkSourceSpaceDrawer:matrix property
|
13340
|
+
instead.</doc-deprecated>
|
12797
13341
|
<type name="DrawSpacesFlags"/>
|
12798
13342
|
</property>
|
12799
13343
|
<property name="highlight-current-line"
|
@@ -12849,6 +13393,10 @@ For a finer-grained method, there is also the GtkSourceTag's
|
|
12849
13393
|
<doc xml:space="preserve">Set the behavior of the HOME and END keys.</doc>
|
12850
13394
|
<type name="SmartHomeEndType"/>
|
12851
13395
|
</property>
|
13396
|
+
<property name="space-drawer" version="3.24" transfer-ownership="none">
|
13397
|
+
<doc xml:space="preserve">The #GtkSourceSpaceDrawer object associated with the view.</doc>
|
13398
|
+
<type name="SpaceDrawer"/>
|
13399
|
+
</property>
|
12852
13400
|
<property name="tab-width" writable="1" transfer-ownership="none">
|
12853
13401
|
<doc xml:space="preserve">Width of a tab character expressed in number of spaces.</doc>
|
12854
13402
|
<type name="guint" c:type="guint"/>
|
@@ -12912,18 +13460,23 @@ determine on which line the activation took place.</doc>
|
|
12912
13460
|
when the user initiates moving a line. The default binding key
|
12913
13461
|
is Alt+Up/Down arrow. And moves the currently selected lines,
|
12914
13462
|
or the current line by @count. For the moment, only
|
12915
|
-
@count of -1 or 1 is valid
|
13463
|
+
@count of -1 or 1 is valid.
|
13464
|
+
|
13465
|
+
The @copy parameter is deprecated, it has never been used by
|
13466
|
+
GtkSourceView (the value is always %FALSE) and was buggy.</doc>
|
12916
13467
|
<return-value transfer-ownership="none">
|
12917
13468
|
<type name="none" c:type="void"/>
|
12918
13469
|
</return-value>
|
12919
13470
|
<parameters>
|
12920
13471
|
<parameter name="copy" transfer-ownership="none">
|
12921
|
-
<doc xml:space="preserve">%TRUE if the line should be copied,
|
12922
|
-
|
13472
|
+
<doc xml:space="preserve">%TRUE if the line should be copied, %FALSE if it should be
|
13473
|
+
moved. This parameter is deprecated and will be removed in a later
|
13474
|
+
version, it should be always %FALSE.</doc>
|
12923
13475
|
<type name="gboolean" c:type="gboolean"/>
|
12924
13476
|
</parameter>
|
12925
13477
|
<parameter name="count" transfer-ownership="none">
|
12926
|
-
<doc xml:space="preserve">the number of lines to move over
|
13478
|
+
<doc xml:space="preserve">the number of lines to move over. Only 1 and -1 are
|
13479
|
+
supported.</doc>
|
12927
13480
|
<type name="gint" c:type="gint"/>
|
12928
13481
|
</parameter>
|
12929
13482
|
</parameters>
|