1/* gtksourceview-3.0.vapi generated by vapigen-0.28, do not modify. */
2
3[CCode (cprefix = "Gtk", gir_namespace = "GtkSource", gir_version = "3.0", lower_case_cprefix = "gtk_")]
4namespace Gtk {
5	namespace SourceUtils {
6		[CCode (cheader_filename = "gtksourceview/gtksource.h")]
7		public static string escape_search_text (string text);
8		[CCode (cheader_filename = "gtksourceview/gtksource.h")]
9		public static string unescape_search_text (string text);
10	}
11	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_buffer_get_type ()")]
12	[GIR (name = "Buffer")]
13	public class SourceBuffer : Gtk.TextBuffer {
14		[CCode (has_construct_function = false)]
15		public SourceBuffer (Gtk.TextTagTable? table);
16		public bool backward_iter_to_source_mark (ref Gtk.TextIter iter, string? category);
17		public void begin_not_undoable_action ();
18		public void change_case (Gtk.SourceChangeCaseType case_type, Gtk.TextIter start, Gtk.TextIter end);
19		public unowned Gtk.SourceMark create_source_mark (string? name, string category, Gtk.TextIter where);
20		public void end_not_undoable_action ();
21		public void ensure_highlight (Gtk.TextIter start, Gtk.TextIter end);
22		public bool forward_iter_to_source_mark (ref Gtk.TextIter iter, string? category);
23		[CCode (array_length = false, array_null_terminated = true)]
24		public string[] get_context_classes_at_iter (Gtk.TextIter iter);
25		public bool get_highlight_matching_brackets ();
26		public bool get_highlight_syntax ();
27		public bool get_implicit_trailing_newline ();
28		public unowned Gtk.SourceLanguage? get_language ();
29		public int get_max_undo_levels ();
30		public GLib.SList<weak Gtk.SourceMark> get_source_marks_at_iter (Gtk.TextIter iter, string? category);
31		public GLib.SList<weak Gtk.SourceMark> get_source_marks_at_line (int line, string? category);
32		public unowned Gtk.SourceStyleScheme? get_style_scheme ();
33		public unowned Gtk.SourceUndoManager? get_undo_manager ();
34		public bool iter_backward_to_context_class_toggle (ref Gtk.TextIter iter, string context_class);
35		public bool iter_forward_to_context_class_toggle (ref Gtk.TextIter iter, string context_class);
36		public bool iter_has_context_class (Gtk.TextIter iter, string context_class);
37		public void join_lines (Gtk.TextIter start, Gtk.TextIter end);
38		public void remove_source_marks (Gtk.TextIter start, Gtk.TextIter end, string? category);
39		public void set_highlight_matching_brackets (bool highlight);
40		public void set_highlight_syntax (bool highlight);
41		public void set_implicit_trailing_newline (bool implicit_trailing_newline);
42		public void set_language (Gtk.SourceLanguage? language);
43		public void set_max_undo_levels (int max_undo_levels);
44		public void set_style_scheme (Gtk.SourceStyleScheme? scheme);
45		public void set_undo_manager (Gtk.SourceUndoManager? manager);
46		public void sort_lines (Gtk.TextIter start, Gtk.TextIter end, Gtk.SourceSortFlags flags, int column);
47		[CCode (has_construct_function = false)]
48		public SourceBuffer.with_language (Gtk.SourceLanguage language);
49		[NoAccessorMethod]
50		public bool can_redo { get; }
51		[NoAccessorMethod]
52		public bool can_undo { get; }
53		public bool highlight_matching_brackets { get; set; }
54		public bool highlight_syntax { get; set; }
55		public bool implicit_trailing_newline { get; set construct; }
56		public Gtk.SourceLanguage language { get; set; }
57		public int max_undo_levels { get; set; }
58		public Gtk.SourceStyleScheme style_scheme { get; set; }
59		public Gtk.SourceUndoManager undo_manager { get; set construct; }
60		public virtual signal void bracket_matched (Gtk.TextIter iter, Gtk.SourceBracketMatchType state);
61		public signal void highlight_updated (Gtk.TextIter start, Gtk.TextIter end);
62		[HasEmitter]
63		public virtual signal void redo ();
64		public signal void source_mark_updated (Gtk.TextMark mark);
65		[HasEmitter]
66		public virtual signal void undo ();
67	}
68	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_completion_get_type ()")]
69	[GIR (name = "Completion")]
70	public class SourceCompletion : GLib.Object, Gtk.Buildable {
71		[CCode (has_construct_function = false)]
72		protected SourceCompletion ();
73		public bool add_provider (Gtk.SourceCompletionProvider provider) throws GLib.Error;
74		public void block_interactive ();
75		public unowned Gtk.SourceCompletionContext create_context (Gtk.TextIter? position);
76		public unowned Gtk.SourceCompletionInfo get_info_window ();
77		public unowned GLib.List<Gtk.SourceCompletionProvider> get_providers ();
78		public unowned Gtk.SourceView? get_view ();
79		[Version (deprecated = true, deprecated_since = "3.8")]
80		public void move_window (Gtk.TextIter iter);
81		[NoWrapper]
82		public virtual bool proposal_activated (Gtk.SourceCompletionProvider provider, Gtk.SourceCompletionProposal proposal);
83		public bool remove_provider (Gtk.SourceCompletionProvider provider) throws GLib.Error;
84		[CCode (cname = "gtk_source_completion_show")]
85		public bool start (GLib.List<Gtk.SourceCompletionProvider>? providers, Gtk.SourceCompletionContext context);
86		public void unblock_interactive ();
87		[NoAccessorMethod]
88		public uint accelerators { get; set construct; }
89		[NoAccessorMethod]
90		public uint auto_complete_delay { get; set construct; }
91		[NoAccessorMethod]
92		public uint proposal_page_size { get; set construct; }
93		[NoAccessorMethod]
94		public uint provider_page_size { get; set construct; }
95		[NoAccessorMethod]
96		public bool remember_info_visibility { get; set construct; }
97		[NoAccessorMethod]
98		public bool select_on_show { get; set construct; }
99		[NoAccessorMethod]
100		public bool show_headers { get; set construct; }
101		[NoAccessorMethod]
102		public bool show_icons { get; set construct; }
103		public Gtk.SourceView view { get; construct; }
104		public virtual signal void activate_proposal ();
105		[HasEmitter]
106		public virtual signal void hide ();
107		public virtual signal void move_cursor (Gtk.ScrollStep step, int num);
108		public virtual signal void move_page (Gtk.ScrollStep step, int num);
109		public virtual signal void populate_context (Gtk.SourceCompletionContext context);
110		public virtual signal void show ();
111	}
112	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_completion_context_get_type ()")]
113	[GIR (name = "CompletionContext")]
114	public class SourceCompletionContext : GLib.InitiallyUnowned {
115		[CCode (has_construct_function = false)]
116		protected SourceCompletionContext ();
117		public void add_proposals (Gtk.SourceCompletionProvider provider, GLib.List<Gtk.SourceCompletionProposal>? proposals, bool finished);
118		public Gtk.SourceCompletionActivation get_activation ();
119		public bool get_iter (out Gtk.TextIter iter);
120		[NoAccessorMethod]
121		public Gtk.SourceCompletionActivation activation { get; set construct; }
122		[NoAccessorMethod]
123		public Gtk.SourceCompletion completion { owned get; construct; }
124		[NoAccessorMethod]
125		public Gtk.TextIter iter { get; set; }
126		public virtual signal void cancelled ();
127	}
128	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_completion_info_get_type ()")]
129	[GIR (name = "CompletionInfo")]
130	public class SourceCompletionInfo : Gtk.Window, Atk.Implementor, Gtk.Buildable {
131		[CCode (has_construct_function = false)]
132		public SourceCompletionInfo ();
133		[Version ( deprecated = true, deprecated_since = "3.8" )]
134		public unowned Gtk.Widget get_widget ();
135		public void move_to_iter (Gtk.TextView view, Gtk.TextIter? iter);
136		[Version ( deprecated = true, deprecated_since = "3.8" )]
137		public void set_widget (Gtk.Widget? widget);
138		[Version ( deprecated = true, deprecated_since = "3.10" )]
139		public virtual signal void before_show ();
140	}
141	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_completion_item_get_type ()")]
142	[GIR (name = "CompletionItem")]
143	public class SourceCompletionItem : GLib.Object, Gtk.SourceCompletionProposal {
144		[CCode (has_construct_function = false)]
145		public SourceCompletionItem (string label, string text, Gdk.Pixbuf? icon, string? info);
146		[CCode (has_construct_function = false)]
147		[Version ( deprecated = true, deprecated_since = "3.10" )]
148		public SourceCompletionItem.from_stock (string? label, string text, string stock, string? info);
149		[CCode (has_construct_function = false)]
150		public SourceCompletionItem.with_markup (string markup, string text, Gdk.Pixbuf? icon, string? info);
151		[NoAccessorMethod]
152		public GLib.Icon gicon { owned get; set; }
153		[NoAccessorMethod]
154		public Gdk.Pixbuf icon { owned get; set; }
155		[NoAccessorMethod]
156		public string icon_name { owned get; set; }
157		[NoAccessorMethod]
158		public string info { owned get; set; }
159		[NoAccessorMethod]
160		public string label { owned get; set; }
161		[NoAccessorMethod]
162		public string markup { owned get; set; }
163		[NoAccessorMethod]
164		public string text { owned get; set; }
165	}
166	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_completion_words_get_type ()")]
167	[GIR (name = "CompletionWords")]
168	public class SourceCompletionWords : GLib.Object, Gtk.SourceCompletionProvider {
169		[CCode (has_construct_function = false)]
170		public SourceCompletionWords (string? name, Gdk.Pixbuf? icon);
171		public void register (Gtk.TextBuffer buffer);
172		public void unregister (Gtk.TextBuffer buffer);
173		[NoAccessorMethod]
174		public Gtk.SourceCompletionActivation activation { get; set construct; }
175		[NoAccessorMethod]
176		public Gdk.Pixbuf icon { owned get; set construct; }
177		[NoAccessorMethod]
178		public int interactive_delay { get; set construct; }
179		[NoAccessorMethod]
180		public uint minimum_word_size { get; set construct; }
181		[NoAccessorMethod]
182		public string name { owned get; set construct; }
183		[NoAccessorMethod]
184		public int priority { get; set construct; }
185		[NoAccessorMethod]
186		public uint proposals_batch_size { get; set construct; }
187		[NoAccessorMethod]
188		public uint scan_batch_size { get; set construct; }
189	}
190	[CCode (cheader_filename = "gtksourceview/gtksource.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gtk_source_encoding_get_type ()")]
191	[Compact]
192	[GIR (name = "Encoding")]
193	public class SourceEncoding {
194		public Gtk.SourceEncoding copy ();
195		[CCode (cname = "gtk_source_encoding_get_all")]
196		public static GLib.SList<weak Gtk.SourceEncoding> et_all ();
197		[CCode (cname = "gtk_source_encoding_get_current")]
198		public static unowned Gtk.SourceEncoding et_current ();
199		[CCode (cname = "gtk_source_encoding_get_default_candidates")]
200		public static GLib.SList<weak Gtk.SourceEncoding> et_default_candidates ();
201		[CCode (cname = "gtk_source_encoding_get_from_charset")]
202		public static unowned Gtk.SourceEncoding? et_from_charset (string charset);
203		[CCode (cname = "gtk_source_encoding_get_utf8")]
204		public static unowned Gtk.SourceEncoding et_utf8 ();
205		public void free ();
206		public unowned string get_charset ();
207		public unowned string get_name ();
208		public string to_string ();
209	}
210	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_file_get_type ()")]
211	[GIR (name = "File")]
212	public class SourceFile : GLib.Object {
213		[CCode (has_construct_function = false)]
214		public SourceFile ();
215		public void check_file_on_disk ();
216		public Gtk.SourceCompressionType get_compression_type ();
217		public unowned Gtk.SourceEncoding get_encoding ();
218		public unowned GLib.File get_location ();
219		public Gtk.SourceNewlineType get_newline_type ();
220		public bool is_deleted ();
221		public bool is_externally_modified ();
222		public bool is_local ();
223		public bool is_readonly ();
224		public void set_location (GLib.File? location);
225		public Gtk.SourceCompressionType compression_type { get; }
226		public Gtk.SourceEncoding encoding { get; }
227		public GLib.File location { get; set construct; }
228		public Gtk.SourceNewlineType newline_type { get; }
229		[NoAccessorMethod]
230		public bool read_only { get; }
231	}
232	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_file_loader_get_type ()")]
233	[GIR (name = "FileLoader")]
234	public class SourceFileLoader : GLib.Object {
235		[CCode (has_construct_function = false)]
236		public SourceFileLoader (Gtk.SourceBuffer buffer, Gtk.SourceFile file);
237		[CCode (has_construct_function = false)]
238		public SourceFileLoader.from_stream (Gtk.SourceBuffer buffer, Gtk.SourceFile file, GLib.InputStream stream);
239		public unowned Gtk.SourceBuffer get_buffer ();
240		public Gtk.SourceCompressionType get_compression_type ();
241		public unowned Gtk.SourceEncoding get_encoding ();
242		public unowned Gtk.SourceFile get_file ();
243		public unowned GLib.InputStream? get_input_stream ();
244		public unowned GLib.File? get_location ();
245		public Gtk.SourceNewlineType get_newline_type ();
246		public async bool load_async (int io_priority, GLib.Cancellable? cancellable, owned GLib.FileProgressCallback? progress_callback) throws GLib.Error;
247		public void set_candidate_encodings (GLib.SList<Gtk.SourceEncoding> candidate_encodings);
248		public Gtk.SourceBuffer buffer { get; construct; }
249		public Gtk.SourceFile file { get; construct; }
250		public GLib.InputStream input_stream { get; construct; }
251		public GLib.File location { get; construct; }
252	}
253	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_file_saver_get_type ()")]
254	[GIR (name = "FileSaver")]
255	public class SourceFileSaver : GLib.Object {
256		[CCode (has_construct_function = false)]
257		public SourceFileSaver (Gtk.SourceBuffer buffer, Gtk.SourceFile file);
258		public unowned Gtk.SourceBuffer get_buffer ();
259		public Gtk.SourceCompressionType get_compression_type ();
260		public unowned Gtk.SourceEncoding get_encoding ();
261		public unowned Gtk.SourceFile get_file ();
262		public Gtk.SourceFileSaverFlags get_flags ();
263		public unowned GLib.File get_location ();
264		public Gtk.SourceNewlineType get_newline_type ();
265		public async bool save_async (int io_priority, GLib.Cancellable? cancellable, owned GLib.FileProgressCallback? progress_callback) throws GLib.Error;
266		public void set_compression_type (Gtk.SourceCompressionType compression_type);
267		public void set_encoding (Gtk.SourceEncoding? encoding);
268		public void set_flags (Gtk.SourceFileSaverFlags flags);
269		public void set_newline_type (Gtk.SourceNewlineType newline_type);
270		[CCode (has_construct_function = false)]
271		public SourceFileSaver.with_target (Gtk.SourceBuffer buffer, Gtk.SourceFile file, GLib.File target_location);
272		public Gtk.SourceBuffer buffer { get; construct; }
273		public Gtk.SourceCompressionType compression_type { get; set construct; }
274		public Gtk.SourceEncoding encoding { get; set construct; }
275		public Gtk.SourceFile file { get; construct; }
276		public Gtk.SourceFileSaverFlags flags { get; set construct; }
277		public GLib.File location { get; construct; }
278		public Gtk.SourceNewlineType newline_type { get; set construct; }
279	}
280	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_gutter_get_type ()")]
281	[GIR (name = "Gutter")]
282	public class SourceGutter : GLib.Object {
283		[CCode (has_construct_function = false)]
284		protected SourceGutter ();
285		[Version ( deprecated = true, deprecated_since = "3.12" )]
286		public void get_padding (int xpad, int ypad);
287		public unowned Gtk.SourceGutterRenderer? get_renderer_at_pos (int x, int y);
288		[Version ( deprecated = true, deprecated_since = "3.12" )]
289		public unowned Gdk.Window get_window ();
290		public bool insert (Gtk.SourceGutterRenderer renderer, int position);
291		public void queue_draw ();
292		public void remove (Gtk.SourceGutterRenderer renderer);
293		public void reorder (Gtk.SourceGutterRenderer renderer, int position);
294		[Version ( deprecated = true, deprecated_since = "3.12" )]
295		public void set_padding (int xpad, int ypad);
296		[NoAccessorMethod]
297		public Gtk.SourceView view { owned get; construct; }
298		[NoAccessorMethod]
299		public Gtk.TextWindowType window_type { get; construct; }
300		[Version ( deprecated = true, deprecated_since = "3.12" )]
301		[NoAccessorMethod]
302		public int xpad { get; set construct; }
303		[Version ( deprecated = true, deprecated_since = "3.12" )]
304		[NoAccessorMethod]
305		public int ypad { get; set construct; }
306	}
307	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_gutter_renderer_get_type ()")]
308	[GIR (name = "GutterRenderer")]
309	public abstract class SourceGutterRenderer : GLib.InitiallyUnowned {
310		[CCode (has_construct_function = false)]
311		protected SourceGutterRenderer ();
312		public virtual void begin (Cairo.Context cr, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.TextIter start, Gtk.TextIter end);
313		[NoWrapper]
314		public virtual void change_buffer (Gtk.TextBuffer old_buffer);
315		[NoWrapper]
316		public virtual void change_view (Gtk.TextView? old_view);
317		public virtual void draw (Cairo.Context cr, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.TextIter start, Gtk.TextIter end, Gtk.SourceGutterRendererState state);
318		public virtual void end ();
319		public void get_alignment (out float xalign, out float yalign);
320		public Gtk.SourceGutterRendererAlignmentMode get_alignment_mode ();
321		public bool get_background (out Gdk.RGBA color);
322		public void get_padding (out int xpad, out int ypad);
323		public int get_size ();
324		public unowned Gtk.TextView get_view ();
325		public bool get_visible ();
326		public Gtk.TextWindowType get_window_type ();
327		public void set_alignment (float xalign, float yalign);
328		public void set_alignment_mode (Gtk.SourceGutterRendererAlignmentMode mode);
329		public void set_background (Gdk.RGBA? color);
330		public void set_padding (int xpad, int ypad);
331		public void set_size (int size);
332		public void set_visible (bool visible);
333		public Gtk.SourceGutterRendererAlignmentMode alignment_mode { get; set construct; }
334		[NoAccessorMethod]
335		public Gdk.RGBA background_rgba { get; set; }
336		[NoAccessorMethod]
337		public bool background_set { get; set construct; }
338		public int size { get; set construct; }
339		public Gtk.TextView view { get; }
340		public bool visible { get; set construct; }
341		public Gtk.TextWindowType window_type { get; }
342		[NoAccessorMethod]
343		public float xalign { get; set construct; }
344		[NoAccessorMethod]
345		public int xpad { get; set construct; }
346		[NoAccessorMethod]
347		public float yalign { get; set construct; }
348		[NoAccessorMethod]
349		public int ypad { get; set construct; }
350		[HasEmitter]
351		public virtual signal void activate (Gtk.TextIter iter, Cairo.RectangleInt area, Gdk.Event event);
352		[HasEmitter]
353		public virtual signal bool query_activatable (Gtk.TextIter iter, Cairo.RectangleInt area, Gdk.Event event);
354		[HasEmitter]
355		public virtual signal void query_data (Gtk.TextIter start, Gtk.TextIter end, Gtk.SourceGutterRendererState state);
356		[HasEmitter]
357		public virtual signal bool query_tooltip (Gtk.TextIter iter, Cairo.RectangleInt area, int x, int y, Gtk.Tooltip tooltip);
358		[HasEmitter]
359		public virtual signal void queue_draw ();
360	}
361	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_gutter_renderer_pixbuf_get_type ()")]
362	[GIR (name = "GutterRendererPixbuf")]
363	public class SourceGutterRendererPixbuf : Gtk.SourceGutterRenderer {
364		[CCode (has_construct_function = false, type = "GtkSourceGutterRenderer*")]
365		public SourceGutterRendererPixbuf ();
366		public unowned GLib.Icon get_gicon ();
367		public unowned string get_icon_name ();
368		public unowned Gdk.Pixbuf get_pixbuf ();
369		[Version ( deprecated = true, deprecated_since = "3.10" )]
370		public unowned string get_stock_id ();
371		public void set_gicon (GLib.Icon? icon);
372		public void set_icon_name (string? icon_name);
373		public void set_pixbuf (Gdk.Pixbuf? pixbuf);
374		[Version ( deprecated = true, deprecated_since = "3.10" )]
375		public void set_stock_id (string? stock_id);
376		public GLib.Icon gicon { get; set; }
377		public string icon_name { get; set; }
378		public Gdk.Pixbuf pixbuf { get; set; }
379		[Version ( deprecated = true, deprecated_since = "3.10" )]
380		public string stock_id { get; set; }
381	}
382	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_gutter_renderer_text_get_type ()")]
383	[GIR (name = "GutterRendererText")]
384	public class SourceGutterRendererText : Gtk.SourceGutterRenderer {
385		[CCode (has_construct_function = false, type = "GtkSourceGutterRenderer*")]
386		public SourceGutterRendererText ();
387		public void measure (string text, out int width, out int height);
388		public void measure_markup (string markup, out int width, out int height);
389		public void set_markup (string markup, int length);
390		public void set_text (string text, int length);
391		[NoAccessorMethod]
392		public string markup { owned get; set construct; }
393		[NoAccessorMethod]
394		public string text { owned get; set construct; }
395	}
396	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_language_get_type ()")]
397	[GIR (name = "Language")]
398	public class SourceLanguage : GLib.Object {
399		[CCode (has_construct_function = false)]
400		protected SourceLanguage ();
401		[CCode (array_length = false, array_null_terminated = true)]
402		public string[]? get_globs ();
403		public bool get_hidden ();
404		public unowned string get_id ();
405		public unowned string? get_metadata (string name);
406		[CCode (array_length = false, array_null_terminated = true)]
407		public string[]? get_mime_types ();
408		public unowned string get_name ();
409		public unowned string get_section ();
410		public unowned string? get_style_fallback (string style_id);
411		[CCode (array_length = false, array_null_terminated = true)]
412		public string[]? get_style_ids ();
413		public unowned string? get_style_name (string style_id);
414		public bool hidden { get; }
415		public string id { get; }
416		public string name { get; }
417		public string section { get; }
418	}
419	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_language_manager_get_type ()")]
420	[GIR (name = "LanguageManager")]
421	public class SourceLanguageManager : GLib.Object {
422		[CCode (has_construct_function = false)]
423		public SourceLanguageManager ();
424		public static unowned Gtk.SourceLanguageManager get_default ();
425		public unowned Gtk.SourceLanguage? get_language (string id);
426		[CCode (array_length = false, array_null_terminated = true)]
427		public unowned string[]? get_language_ids ();
428		[CCode (array_length = false, array_null_terminated = true)]
429		public unowned string[] get_search_path ();
430		public unowned Gtk.SourceLanguage? guess_language (string? filename, string? content_type);
431		public void set_search_path ([CCode (array_length = false, array_null_terminated = true)] string[]? dirs);
432		[CCode (array_length = false, array_null_terminated = true)]
433		public string[] language_ids { get; }
434		[CCode (array_length = false, array_null_terminated = true)]
435		public string[] search_path { get; set; }
436	}
437	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_map_get_type ()")]
438	[GIR (name = "Map")]
439	public class SourceMap : Gtk.SourceView, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
440		[CCode (has_construct_function = false, type = "GtkWidget*")]
441		public SourceMap ();
442		public unowned Gtk.SourceView? get_view ();
443		public void set_view (Gtk.SourceView view);
444		[NoAccessorMethod]
445		public Pango.FontDescription font_desc { owned get; set; }
446		public Gtk.SourceView view { get; set; }
447	}
448	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_mark_get_type ()")]
449	[GIR (name = "Mark")]
450	public class SourceMark : Gtk.TextMark {
451		[CCode (has_construct_function = false)]
452		public SourceMark (string name, string category);
453		public unowned string get_category ();
454		public unowned Gtk.SourceMark? next (string? category);
455		public unowned Gtk.SourceMark? prev (string category);
456		public string category { get; construct; }
457	}
458	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_mark_attributes_get_type ()")]
459	[GIR (name = "MarkAttributes")]
460	public class SourceMarkAttributes : GLib.Object {
461		[CCode (has_construct_function = false)]
462		public SourceMarkAttributes ();
463		public bool get_background (out Gdk.RGBA background);
464		public unowned GLib.Icon get_gicon ();
465		public unowned string get_icon_name ();
466		public unowned Gdk.Pixbuf get_pixbuf ();
467		[Version ( deprecated = true, deprecated_since = "3.10" )]
468		public unowned string get_stock_id ();
469		public string get_tooltip_markup (Gtk.SourceMark mark);
470		public string get_tooltip_text (Gtk.SourceMark mark);
471		public unowned Gdk.Pixbuf render_icon (Gtk.Widget widget, int size);
472		public void set_background (Gdk.RGBA background);
473		public void set_gicon (GLib.Icon gicon);
474		public void set_icon_name (string icon_name);
475		public void set_pixbuf (Gdk.Pixbuf pixbuf);
476		[Version ( deprecated = true, deprecated_since = "3.10" )]
477		public void set_stock_id (string stock_id);
478		[NoAccessorMethod]
479		public Gdk.RGBA background { get; set; }
480		public GLib.Icon gicon { get; set; }
481		public string icon_name { get; set; }
482		public Gdk.Pixbuf pixbuf { get; set; }
483		[Version ( deprecated = true, deprecated_since = "3.10" )]
484		public string stock_id { get; set; }
485		public signal string query_tooltip_markup (Gtk.SourceMark mark);
486		public signal string query_tooltip_text (Gtk.SourceMark mark);
487	}
488	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_print_compositor_get_type ()")]
489	[GIR (name = "PrintCompositor")]
490	public class SourcePrintCompositor : GLib.Object {
491		[CCode (has_construct_function = false)]
492		public SourcePrintCompositor (Gtk.SourceBuffer buffer);
493		public void draw_page (Gtk.PrintContext context, int page_nr);
494		[CCode (has_construct_function = false)]
495		public SourcePrintCompositor.from_view (Gtk.SourceView view);
496		public string get_body_font_name ();
497		public double get_bottom_margin (Gtk.Unit unit);
498		public unowned Gtk.SourceBuffer get_buffer ();
499		public string get_footer_font_name ();
500		public string get_header_font_name ();
501		public bool get_highlight_syntax ();
502		public double get_left_margin (Gtk.Unit unit);
503		public string get_line_numbers_font_name ();
504		public int get_n_pages ();
505		public double get_pagination_progress ();
506		public bool get_print_footer ();
507		public bool get_print_header ();
508		public uint get_print_line_numbers ();
509		public double get_right_margin (Gtk.Unit unit);
510		public uint get_tab_width ();
511		public double get_top_margin (Gtk.Unit unit);
512		public Gtk.WrapMode get_wrap_mode ();
513		public bool paginate (Gtk.PrintContext context);
514		public void set_body_font_name (string font_name);
515		public void set_bottom_margin (double margin, Gtk.Unit unit);
516		public void set_footer_font_name (string? font_name);
517		public void set_footer_format (bool separator, string? left, string? center, string? right);
518		public void set_header_font_name (string? font_name);
519		public void set_header_format (bool separator, string? left, string? center, string? right);
520		public void set_highlight_syntax (bool highlight);
521		public void set_left_margin (double margin, Gtk.Unit unit);
522		public void set_line_numbers_font_name (string? font_name);
523		public void set_print_footer (bool print);
524		public void set_print_header (bool print);
525		public void set_print_line_numbers (uint interval);
526		public void set_right_margin (double margin, Gtk.Unit unit);
527		public void set_tab_width (uint width);
528		public void set_top_margin (double margin, Gtk.Unit unit);
529		public void set_wrap_mode (Gtk.WrapMode wrap_mode);
530		public string body_font_name { owned get; set; }
531		public Gtk.SourceBuffer buffer { get; construct; }
532		public string footer_font_name { owned get; set; }
533		public string header_font_name { owned get; set; }
534		public bool highlight_syntax { get; set; }
535		public string line_numbers_font_name { owned get; set; }
536		public int n_pages { get; }
537		public bool print_footer { get; set; }
538		public bool print_header { get; set; }
539		public uint print_line_numbers { get; set; }
540		public uint tab_width { get; set; }
541		public Gtk.WrapMode wrap_mode { get; set; }
542	}
543	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_search_context_get_type ()")]
544	[GIR (name = "SearchContext")]
545	public class SourceSearchContext : GLib.Object {
546		[CCode (has_construct_function = false)]
547		public SourceSearchContext (Gtk.SourceBuffer buffer, Gtk.SourceSearchSettings? settings);
548		public bool backward (Gtk.TextIter iter, out Gtk.TextIter match_start, out Gtk.TextIter match_end);
549		public async bool backward_async (Gtk.TextIter iter, GLib.Cancellable? cancellable, out Gtk.TextIter match_start, out Gtk.TextIter match_end) throws GLib.Error;
550		public bool forward (Gtk.TextIter iter, out Gtk.TextIter match_start, out Gtk.TextIter match_end);
551		public async bool forward_async (Gtk.TextIter iter, GLib.Cancellable? cancellable, out Gtk.TextIter match_start, out Gtk.TextIter match_end) throws GLib.Error;
552		public unowned Gtk.SourceBuffer get_buffer ();
553		public bool get_highlight ();
554		public unowned Gtk.SourceStyle get_match_style ();
555		public int get_occurrence_position (Gtk.TextIter match_start, Gtk.TextIter match_end);
556		public int get_occurrences_count ();
557		public GLib.Error? get_regex_error ();
558		public unowned Gtk.SourceSearchSettings get_settings ();
559		public bool replace (Gtk.TextIter match_start, Gtk.TextIter match_end, string replace, int replace_length) throws GLib.Error;
560		public uint replace_all (string replace, int replace_length) throws GLib.Error;
561		public void set_highlight (bool highlight);
562		public void set_match_style (Gtk.SourceStyle? match_style);
563		public void set_settings (Gtk.SourceSearchSettings? settings);
564		public Gtk.SourceBuffer buffer { get; construct; }
565		public bool highlight { get; set construct; }
566		public Gtk.SourceStyle match_style { get; set construct; }
567		public int occurrences_count { get; }
568		public GLib.Error? regex_error { owned get; }
569		public Gtk.SourceSearchSettings settings { get; set construct; }
570	}
571	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_search_settings_get_type ()")]
572	[GIR (name = "SearchSettings")]
573	public class SourceSearchSettings : GLib.Object {
574		[CCode (has_construct_function = false)]
575		public SourceSearchSettings ();
576		public bool get_at_word_boundaries ();
577		public bool get_case_sensitive ();
578		public bool get_regex_enabled ();
579		public unowned string? get_search_text ();
580		public bool get_wrap_around ();
581		public void set_at_word_boundaries (bool at_word_boundaries);
582		public void set_case_sensitive (bool case_sensitive);
583		public void set_regex_enabled (bool regex_enabled);
584		public void set_search_text (string? search_text);
585		public void set_wrap_around (bool wrap_around);
586		public bool at_word_boundaries { get; set construct; }
587		public bool case_sensitive { get; set construct; }
588		public bool regex_enabled { get; set construct; }
589		public string search_text { get; set construct; }
590		public bool wrap_around { get; set construct; }
591	}
592	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_style_get_type ()")]
593	[GIR (name = "Style")]
594	public class SourceStyle : GLib.Object {
595		[CCode (has_construct_function = false)]
596		protected SourceStyle ();
597		public Gtk.SourceStyle copy ();
598		[NoAccessorMethod]
599		public string background { owned get; construct; }
600		[NoAccessorMethod]
601		public bool background_set { get; construct; }
602		[NoAccessorMethod]
603		public bool bold { get; construct; }
604		[NoAccessorMethod]
605		public bool bold_set { get; construct; }
606		[NoAccessorMethod]
607		public string foreground { owned get; construct; }
608		[NoAccessorMethod]
609		public bool foreground_set { get; construct; }
610		[NoAccessorMethod]
611		public bool italic { get; construct; }
612		[NoAccessorMethod]
613		public bool italic_set { get; construct; }
614		[NoAccessorMethod]
615		public string line_background { owned get; construct; }
616		[NoAccessorMethod]
617		public bool line_background_set { get; construct; }
618		[NoAccessorMethod]
619		public Pango.Underline pango_underline { get; construct; }
620		[NoAccessorMethod]
621		public string scale { owned get; construct; }
622		[NoAccessorMethod]
623		public bool scale_set { get; construct; }
624		[NoAccessorMethod]
625		public bool strikethrough { get; construct; }
626		[NoAccessorMethod]
627		public bool strikethrough_set { get; construct; }
628		[Version ( deprecated = true, deprecated_since = "3.18" )]
629		[NoAccessorMethod]
630		public bool underline { get; construct; }
631		[NoAccessorMethod]
632		public string underline_color { owned get; construct; }
633		[NoAccessorMethod]
634		public bool underline_color_set { get; construct; }
635		[NoAccessorMethod]
636		public bool underline_set { get; construct; }
637	}
638	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_style_scheme_get_type ()")]
639	[GIR (name = "StyleScheme")]
640	public class SourceStyleScheme : GLib.Object {
641		[CCode (has_construct_function = false)]
642		protected SourceStyleScheme ();
643		[CCode (array_length = false, array_null_terminated = true)]
644		public unowned string[]? get_authors ();
645		public unowned string? get_description ();
646		public unowned string? get_filename ();
647		public unowned string get_id ();
648		public unowned string get_name ();
649		public unowned Gtk.SourceStyle? get_style (string style_id);
650		public string description { get; }
651		public string filename { get; }
652		public string id { get; construct; }
653		public string name { get; }
654	}
655	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_style_scheme_chooser_button_get_type ()")]
656	[GIR (name = "StyleSchemeChooserButton")]
657	public class SourceStyleSchemeChooserButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable, Gtk.SourceStyleSchemeChooser {
658		[CCode (has_construct_function = false, type = "GtkWidget*")]
659		public SourceStyleSchemeChooserButton ();
660	}
661	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_style_scheme_chooser_widget_get_type ()")]
662	[GIR (name = "StyleSchemeChooserWidget")]
663	public class SourceStyleSchemeChooserWidget : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.SourceStyleSchemeChooser {
664		[CCode (has_construct_function = false, type = "GtkWidget*")]
665		public SourceStyleSchemeChooserWidget ();
666	}
667	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_style_scheme_manager_get_type ()")]
668	[GIR (name = "StyleSchemeManager")]
669	public class SourceStyleSchemeManager : GLib.Object {
670		[CCode (has_construct_function = false)]
671		public SourceStyleSchemeManager ();
672		public void append_search_path (string path);
673		public void force_rescan ();
674		public static unowned Gtk.SourceStyleSchemeManager get_default ();
675		public unowned Gtk.SourceStyleScheme get_scheme (string scheme_id);
676		[CCode (array_length = false, array_null_terminated = true)]
677		public unowned string[]? get_scheme_ids ();
678		[CCode (array_length = false, array_null_terminated = true)]
679		public unowned string[] get_search_path ();
680		public void prepend_search_path (string path);
681		public void set_search_path ([CCode (array_length = false, array_null_terminated = true)] string[]? path);
682		[CCode (array_length = false, array_null_terminated = true)]
683		public string[] scheme_ids { get; }
684		[CCode (array_length = false, array_null_terminated = true)]
685		public string[] search_path { get; set; }
686	}
687	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_view_get_type ()")]
688	[GIR (name = "View")]
689	public class SourceView : Gtk.TextView, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
690		[CCode (has_construct_function = false, type = "GtkWidget*")]
691		public SourceView ();
692		public bool get_auto_indent ();
693		public Gtk.SourceBackgroundPatternType get_background_pattern ();
694		public unowned Gtk.SourceCompletion get_completion ();
695		public Gtk.SourceDrawSpacesFlags get_draw_spaces ();
696		public unowned Gtk.SourceGutter get_gutter (Gtk.TextWindowType window_type);
697		public bool get_highlight_current_line ();
698		public bool get_indent_on_tab ();
699		public int get_indent_width ();
700		public bool get_insert_spaces_instead_of_tabs ();
701		public unowned Gtk.SourceMarkAttributes get_mark_attributes (string category, int priority);
702		public uint get_right_margin_position ();
703		public bool get_show_line_marks ();
704		public bool get_show_line_numbers ();
705		public bool get_show_right_margin ();
706		public bool get_smart_backspace ();
707		public Gtk.SourceSmartHomeEndType get_smart_home_end ();
708		public uint get_tab_width ();
709		public uint get_visual_column (Gtk.TextIter iter);
710		public void indent_lines (Gtk.TextIter start, Gtk.TextIter end);
711		public void set_auto_indent (bool enable);
712		public void set_background_pattern (Gtk.SourceBackgroundPatternType background_pattern);
713		public void set_draw_spaces (Gtk.SourceDrawSpacesFlags flags);
714		public void set_highlight_current_line (bool highlight);
715		public void set_indent_on_tab (bool enable);
716		public void set_indent_width (int width);
717		public void set_insert_spaces_instead_of_tabs (bool enable);
718		public void set_mark_attributes (string category, Gtk.SourceMarkAttributes attributes, int priority);
719		public void set_right_margin_position (uint pos);
720		public void set_show_line_marks (bool show);
721		public void set_show_line_numbers (bool show);
722		public void set_show_right_margin (bool show);
723		public void set_smart_backspace (bool smart_backspace);
724		public void set_smart_home_end (Gtk.SourceSmartHomeEndType smart_home_end);
725		public void set_tab_width (uint width);
726		public void unindent_lines (Gtk.TextIter start, Gtk.TextIter end);
727		[CCode (has_construct_function = false, type = "GtkWidget*")]
728		public SourceView.with_buffer (Gtk.SourceBuffer buffer);
729		public bool auto_indent { get; set; }
730		public Gtk.SourceBackgroundPatternType background_pattern { get; set; }
731		public Gtk.SourceCompletion completion { get; }
732		public Gtk.SourceDrawSpacesFlags draw_spaces { get; set; }
733		public bool highlight_current_line { get; set; }
734		public bool indent_on_tab { get; set; }
735		public int indent_width { get; set; }
736		public bool insert_spaces_instead_of_tabs { get; set; }
737		public uint right_margin_position { get; set; }
738		public bool show_line_marks { get; set; }
739		public bool show_line_numbers { get; set; }
740		public bool show_right_margin { get; set; }
741		public bool smart_backspace { get; set; }
742		public Gtk.SourceSmartHomeEndType smart_home_end { get; set; }
743		public uint tab_width { get; set; }
744		public signal void change_case (Gtk.SourceChangeCaseType case_type);
745		public signal void change_number (int count);
746		public signal void join_lines ();
747		public virtual signal void line_mark_activated (Gtk.TextIter iter, Gdk.Event event);
748		public virtual signal void move_lines (bool copy, int step);
749		public signal void move_to_matching_bracket (bool extend_selection);
750		public virtual signal void move_words (int step);
751		public virtual signal void redo ();
752		public virtual signal void show_completion ();
753		public virtual signal void undo ();
754	}
755	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_completion_proposal_get_type ()")]
756	[GIR (name = "CompletionProposal")]
757	public interface SourceCompletionProposal : GLib.Object {
758		public virtual bool equal (Gtk.SourceCompletionProposal other);
759		public abstract unowned GLib.Icon? get_gicon ();
760		public virtual unowned Gdk.Pixbuf? get_icon ();
761		public abstract unowned string? get_icon_name ();
762		public abstract string? get_info ();
763		public abstract string get_label ();
764		public abstract string get_markup ();
765		public abstract string get_text ();
766		public virtual uint hash ();
767		[HasEmitter]
768		public virtual signal void changed ();
769	}
770	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_completion_provider_get_type ()")]
771	[GIR (name = "CompletionProvider")]
772	public interface SourceCompletionProvider : GLib.Object {
773		public virtual bool activate_proposal (Gtk.SourceCompletionProposal proposal, Gtk.TextIter iter);
774		public virtual Gtk.SourceCompletionActivation get_activation ();
775		public virtual unowned GLib.Icon? get_gicon ();
776		public virtual unowned Gdk.Pixbuf? get_icon ();
777		public virtual unowned string? get_icon_name ();
778		public virtual unowned Gtk.Widget? get_info_widget (Gtk.SourceCompletionProposal proposal);
779		public virtual int get_interactive_delay ();
780		public virtual string get_name ();
781		public virtual int get_priority ();
782		public virtual bool get_start_iter (Gtk.SourceCompletionContext context, Gtk.SourceCompletionProposal proposal, out Gtk.TextIter iter);
783		public virtual bool match (Gtk.SourceCompletionContext context);
784		public virtual void populate (Gtk.SourceCompletionContext context);
785		public virtual void update_info (Gtk.SourceCompletionProposal proposal, Gtk.SourceCompletionInfo info);
786	}
787	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_style_scheme_chooser_get_type ()")]
788	[GIR (name = "StyleSchemeChooser")]
789	public interface SourceStyleSchemeChooser : GLib.Object {
790		public abstract unowned Gtk.SourceStyleScheme get_style_scheme ();
791		public abstract void set_style_scheme (Gtk.SourceStyleScheme scheme);
792		public abstract Gtk.SourceStyleScheme style_scheme { get; set; }
793	}
794	[CCode (cheader_filename = "gtksourceview/gtksource.h", type_id = "gtk_source_undo_manager_get_type ()")]
795	[GIR (name = "UndoManager")]
796	public interface SourceUndoManager : GLib.Object {
797		public abstract void begin_not_undoable_action ();
798		public abstract bool can_redo ();
799		public abstract bool can_undo ();
800		public abstract void end_not_undoable_action ();
801		public abstract void redo ();
802		public abstract void undo ();
803		[HasEmitter]
804		public virtual signal void can_redo_changed ();
805		[HasEmitter]
806		public virtual signal void can_undo_changed ();
807	}
808	[CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_BACKGROUND_PATTERN_TYPE_", type_id = "gtk_source_background_pattern_type_get_type ()")]
809	[GIR (name = "BackgroundPatternType")]
810	public enum SourceBackgroundPatternType {
811		NONE,
812		GRID
813	}
814	[CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_BRACKET_MATCH_", type_id = "gtk_source_bracket_match_type_get_type ()")]
815	[GIR (name = "BracketMatchType")]
816	public enum SourceBracketMatchType {
817		NONE,
818		OUT_OF_RANGE,
819		NOT_FOUND,
820		FOUND
821	}
822	[CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_CHANGE_CASE_", type_id = "gtk_source_change_case_type_get_type ()")]
823	[GIR (name = "ChangeCaseType")]
824	public enum SourceChangeCaseType {
825		LOWER,
826		UPPER,
827		TOGGLE,
828		TITLE
829	}
830	[CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_COMPLETION_ACTIVATION_", type_id = "gtk_source_completion_activation_get_type ()")]
831	[Flags]
832	[GIR (name = "CompletionActivation")]
833	public enum SourceCompletionActivation {
834		NONE,
835		INTERACTIVE,
836		USER_REQUESTED
837	}
838	[CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_COMPRESSION_TYPE_", type_id = "gtk_source_compression_type_get_type ()")]
839	[GIR (name = "CompressionType")]
840	public enum SourceCompressionType {
841		NONE,
842		GZIP
843	}
844	[CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_DRAW_SPACES_", type_id = "gtk_source_draw_spaces_flags_get_type ()")]
845	[Flags]
846	[GIR (name = "DrawSpacesFlags")]
847	public enum SourceDrawSpacesFlags {
848		SPACE,
849		TAB,
850		NEWLINE,
851		NBSP,
852		LEADING,
853		TEXT,
854		TRAILING,
855		ALL
856	}
857	[CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_FILE_SAVER_FLAGS_", type_id = "gtk_source_file_saver_flags_get_type ()")]
858	[Flags]
859	[GIR (name = "FileSaverFlags")]
860	public enum SourceFileSaverFlags {
861		NONE,
862		IGNORE_INVALID_CHARS,
863		IGNORE_MODIFICATION_TIME,
864		CREATE_BACKUP
865	}
866	[CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_", type_id = "gtk_source_gutter_renderer_alignment_mode_get_type ()")]
867	[GIR (name = "GutterRendererAlignmentMode")]
868	public enum SourceGutterRendererAlignmentMode {
869		CELL,
870		FIRST,
871		LAST
872	}
873	[CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_GUTTER_RENDERER_STATE_", type_id = "gtk_source_gutter_renderer_state_get_type ()")]
874	[Flags]
875	[GIR (name = "GutterRendererState")]
876	public enum SourceGutterRendererState {
877		NORMAL,
878		CURSOR,
879		PRELIT,
880		SELECTED
881	}
882	[CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_NEWLINE_TYPE_", type_id = "gtk_source_newline_type_get_type ()")]
883	[GIR (name = "NewlineType")]
884	public enum SourceNewlineType {
885		LF,
886		CR,
887		CR_LF
888	}
889	[CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_SMART_HOME_END_", type_id = "gtk_source_smart_home_end_type_get_type ()")]
890	[GIR (name = "SmartHomeEndType")]
891	public enum SourceSmartHomeEndType {
892		DISABLED,
893		BEFORE,
894		AFTER,
895		ALWAYS
896	}
897	[CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_SORT_FLAGS_", type_id = "gtk_source_sort_flags_get_type ()")]
898	[Flags]
899	[GIR (name = "SortFlags")]
900	public enum SourceSortFlags {
901		NONE,
902		CASE_SENSITIVE,
903		REVERSE_ORDER,
904		REMOVE_DUPLICATES
905	}
906	[CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_VIEW_GUTTER_POSITION_", type_id = "gtk_source_view_gutter_position_get_type ()")]
907	[GIR (name = "ViewGutterPosition")]
908	public enum SourceViewGutterPosition {
909		LINES,
910		MARKS
911	}
912	[CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_COMPLETION_ERROR_")]
913	[GIR (name = "CompletionError")]
914	public errordomain SourceCompletionError {
915		ALREADY_BOUND,
916		NOT_BOUND;
917		[CCode (cname = "gtk_source_completion_error_quark")]
918		public static GLib.Quark uark ();
919	}
920	[CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_FILE_LOADER_ERROR_")]
921	[GIR (name = "FileLoaderError")]
922	public errordomain SourceFileLoaderError {
923		TOO_BIG,
924		ENCODING_AUTO_DETECTION_FAILED,
925		CONVERSION_FALLBACK;
926		[CCode (cname = "gtk_source_file_loader_error_quark")]
927		public static GLib.Quark uark ();
928	}
929	[CCode (cheader_filename = "gtksourceview/gtksource.h", cprefix = "GTK_SOURCE_FILE_SAVER_ERROR_")]
930	[GIR (name = "FileSaverError")]
931	public errordomain SourceFileSaverError {
932		INVALID_CHARS,
933		EXTERNALLY_MODIFIED;
934		[CCode (cname = "gtk_source_file_saver_error_quark")]
935		public static GLib.Quark uark ();
936	}
937}
938