[vala] gtksourceview-2.0: update to 2.10.0



commit 02db9ef2bafc87c1506e91457ed4e8368e94a76f
Author: Evan Nemerson <evan coeus-group com>
Date:   Tue Apr 6 15:07:02 2010 -0700

    gtksourceview-2.0: update to 2.10.0

 vapi/gtksourceview-2.0.vapi                        |  218 +++++-
 .../gtksourceview-2.0/gtksourceview-2.0.gi         |  889 +++++++++++++++++++-
 .../gtksourceview-2.0/gtksourceview-2.0.metadata   |   10 +-
 3 files changed, 1112 insertions(+), 5 deletions(-)
---
diff --git a/vapi/gtksourceview-2.0.vapi b/vapi/gtksourceview-2.0.vapi
index 3452795..1e6f70c 100644
--- a/vapi/gtksourceview-2.0.vapi
+++ b/vapi/gtksourceview-2.0.vapi
@@ -12,6 +12,7 @@ namespace Gtk {
 		public void end_not_undoable_action ();
 		public void ensure_highlight (Gtk.TextIter start, Gtk.TextIter end);
 		public bool forward_iter_to_source_mark (Gtk.TextIter iter, string category);
+		public unowned string get_context_classes_at_iter (Gtk.TextIter iter);
 		public bool get_highlight_matching_brackets ();
 		public bool get_highlight_syntax ();
 		public unowned Gtk.SourceLanguage get_language ();
@@ -19,14 +20,17 @@ namespace Gtk {
 		public unowned GLib.SList get_source_marks_at_iter (Gtk.TextIter iter, string category);
 		public unowned GLib.SList get_source_marks_at_line (int line, string category);
 		public unowned Gtk.SourceStyleScheme get_style_scheme ();
-		public void redo ();
+		public unowned Gtk.SourceUndoManager get_undo_manager ();
+		public bool iter_backward_to_context_class_toggle (Gtk.TextIter iter, string context_class);
+		public bool iter_forward_to_context_class_toggle (Gtk.TextIter iter, string context_class);
+		public bool iter_has_context_class (Gtk.TextIter iter, string context_class);
 		public void remove_source_marks (Gtk.TextIter start, Gtk.TextIter end, string category);
 		public void set_highlight_matching_brackets (bool highlight);
 		public void set_highlight_syntax (bool highlight);
 		public void set_language (Gtk.SourceLanguage language);
 		public void set_max_undo_levels (int max_undo_levels);
 		public void set_style_scheme (Gtk.SourceStyleScheme scheme);
-		public void undo ();
+		public void set_undo_manager (Gtk.SourceUndoManager manager);
 		[CCode (has_construct_function = false)]
 		public SourceBuffer.with_language (Gtk.SourceLanguage language);
 		[NoAccessorMethod]
@@ -38,7 +42,141 @@ namespace Gtk {
 		public Gtk.SourceLanguage language { get; set; }
 		public int max_undo_levels { get; set; }
 		public Gtk.SourceStyleScheme style_scheme { get; set; }
+		public Gtk.SourceUndoManager undo_manager { get; set construct; }
+		public virtual signal void highlight_updated (Gtk.TextIter p0, Gtk.TextIter p1);
+		[HasEmitter]
+		public virtual signal void redo ();
 		public virtual signal void source_mark_updated (Gtk.TextMark p0);
+		[HasEmitter]
+		public virtual signal void undo ();
+	}
+	[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+	public class SourceCompletion : Gtk.Object {
+		public bool add_provider (Gtk.SourceCompletionProvider provider) throws GLib.Error;
+		public void block_interactive ();
+		public unowned Gtk.SourceCompletionContext create_context (Gtk.TextIter position);
+		public static GLib.Quark error_quark ();
+		public unowned Gtk.SourceCompletionInfo get_info_window ();
+		public unowned GLib.List get_providers ();
+		public void* get_view ();
+		public void move_window (Gtk.TextIter iter);
+		[NoWrapper]
+		public virtual bool proposal_activated (Gtk.SourceCompletionProvider provider, Gtk.SourceCompletionProposal proposal);
+		public bool remove_provider (Gtk.SourceCompletionProvider provider) throws GLib.Error;
+		public void unblock_interactive ();
+		[NoAccessorMethod]
+		public uint accelerators { get; set construct; }
+		[NoAccessorMethod]
+		public uint auto_complete_delay { get; set construct; }
+		[NoAccessorMethod]
+		public uint proposal_page_size { get; set construct; }
+		[NoAccessorMethod]
+		public uint provider_page_size { get; set construct; }
+		[NoAccessorMethod]
+		public bool remember_info_visibility { get; set construct; }
+		[NoAccessorMethod]
+		public bool select_on_show { get; set construct; }
+		[NoAccessorMethod]
+		public bool show_headers { get; set construct; }
+		[NoAccessorMethod]
+		public bool show_icons { get; set construct; }
+		public Gtk.SourceView view { get; construct; }
+		public virtual signal void activate_proposal ();
+		[HasEmitter]
+		public virtual signal void hide ();
+		public virtual signal void move_cursor (Gtk.ScrollStep step, int num);
+		public virtual signal void move_page (Gtk.ScrollStep step, int num);
+		public virtual signal void populate_context (Gtk.SourceCompletionContext context);
+		[HasEmitter]
+		public virtual signal void show ();
+	}
+	[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+	public class SourceCompletionContext : GLib.InitiallyUnowned {
+		public void add_proposals (void* provider, GLib.List proposals, bool finished);
+		public Gtk.SourceCompletionActivation get_activation ();
+		public void get_iter (Gtk.TextIter iter);
+		[NoAccessorMethod]
+		public Gtk.SourceCompletionActivation activation { get; set; }
+		[NoAccessorMethod]
+		public Gtk.SourceCompletion completion { owned get; construct; }
+		[NoAccessorMethod]
+		public Gtk.TextIter iter { get; set; }
+		public virtual signal void cancelled ();
+	}
+	[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+	public class SourceCompletionInfo : Gtk.Window, Atk.Implementor, Gtk.Buildable {
+		[CCode (has_construct_function = false)]
+		public SourceCompletionInfo ();
+		public unowned Gtk.Widget get_widget ();
+		public void move_to_iter (Gtk.TextView view, Gtk.TextIter iter);
+		public void process_resize ();
+		public void set_sizing (int width, int height, bool shrink_width, bool shrink_height);
+		public void set_widget (Gtk.Widget widget);
+		[NoAccessorMethod]
+		public int max_height { get; set construct; }
+		[NoAccessorMethod]
+		public int max_width { get; set construct; }
+		[NoAccessorMethod]
+		public bool shrink_height { get; set construct; }
+		[NoAccessorMethod]
+		public bool shrink_width { get; set construct; }
+		public virtual signal void before_show ();
+	}
+	[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+	public class SourceCompletionItem : GLib.Object, Gtk.SourceCompletionProposal {
+		[CCode (has_construct_function = false)]
+		public SourceCompletionItem (string label, string text, Gdk.Pixbuf icon, string info);
+		[CCode (has_construct_function = false)]
+		public SourceCompletionItem.from_stock (string label, string text, string stock, string info);
+		[CCode (has_construct_function = false)]
+		public SourceCompletionItem.with_markup (string markup, string text, Gdk.Pixbuf icon, string info);
+		[NoAccessorMethod]
+		public Gdk.Pixbuf icon { owned get; set; }
+		[NoAccessorMethod]
+		public string info { owned get; set; }
+		[NoAccessorMethod]
+		public string label { owned get; set; }
+		[NoAccessorMethod]
+		public string markup { owned get; set; }
+		[NoAccessorMethod]
+		public string text { owned get; set; }
+	}
+	[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+	public class SourceCompletionWords : GLib.Object, Gtk.SourceCompletionProvider {
+		[CCode (has_construct_function = false)]
+		public SourceCompletionWords (string name, Gdk.Pixbuf icon);
+		public void register (Gtk.TextBuffer buffer);
+		public void unregister (Gtk.TextBuffer buffer);
+		[NoAccessorMethod]
+		public Gdk.Pixbuf icon { owned get; set construct; }
+		[NoAccessorMethod]
+		public int interactive_delay { get; set construct; }
+		[NoAccessorMethod]
+		public uint minimum_word_size { get; set construct; }
+		[NoAccessorMethod]
+		public string name { owned get; set construct; }
+		[NoAccessorMethod]
+		public int priority { get; set construct; }
+		[NoAccessorMethod]
+		public uint proposals_batch_size { get; set construct; }
+		[NoAccessorMethod]
+		public uint scan_batch_size { get; set construct; }
+	}
+	[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+	public class SourceGutter : GLib.Object {
+		public unowned Gdk.Window get_window ();
+		public void insert (Gtk.CellRenderer renderer, int position);
+		public void queue_draw ();
+		public void remove (Gtk.CellRenderer renderer);
+		public void reorder (Gtk.CellRenderer renderer, int position);
+		public void set_cell_data_func (Gtk.CellRenderer renderer, Gtk.SourceGutterDataFunc func, void* func_data, GLib.DestroyNotify destroy);
+		public void set_cell_size_func (Gtk.CellRenderer renderer, Gtk.SourceGutterSizeFunc func, void* func_data, GLib.DestroyNotify destroy);
+		[NoAccessorMethod]
+		public Gtk.SourceView view { owned get; construct; }
+		[NoAccessorMethod]
+		public Gtk.TextWindowType window_type { get; construct; }
+		public virtual signal void cell_activated (Gtk.CellRenderer renderer, Gtk.TextIter iter, Gdk.Event event);
+		public virtual signal bool query_tooltip (Gtk.CellRenderer renderer, Gtk.TextIter iter, Gtk.Tooltip tooltip);
 	}
 	[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
 	public class SourceLanguage : GLib.Object {
@@ -205,7 +343,9 @@ namespace Gtk {
 		[CCode (type = "GtkWidget*", has_construct_function = false)]
 		public SourceView ();
 		public bool get_auto_indent ();
+		public unowned Gtk.SourceCompletion get_completion ();
 		public Gtk.SourceDrawSpacesFlags get_draw_spaces ();
+		public unowned Gtk.SourceGutter get_gutter (Gtk.TextWindowType window_type);
 		public bool get_highlight_current_line ();
 		public bool get_indent_on_tab ();
 		public int get_indent_width ();
@@ -226,6 +366,9 @@ namespace Gtk {
 		public void set_indent_width (int width);
 		public void set_insert_spaces_instead_of_tabs (bool enable);
 		public void set_mark_category_background (string category, Gdk.Color color);
+		public void set_mark_category_icon_from_icon_name (string category, string name);
+		public void set_mark_category_icon_from_pixbuf (string category, Gdk.Pixbuf pixbuf);
+		public void set_mark_category_icon_from_stock (string category, string stock_id);
 		public void set_mark_category_pixbuf (string category, Gdk.Pixbuf pixbuf);
 		public void set_mark_category_priority (string category, int priority);
 		public void set_mark_category_tooltip_func (string category, Gtk.SourceViewMarkTooltipFunc func, GLib.DestroyNotify user_data_notify);
@@ -239,6 +382,7 @@ namespace Gtk {
 		[CCode (type = "GtkWidget*", has_construct_function = false)]
 		public SourceView.with_buffer (Gtk.SourceBuffer buffer);
 		public bool auto_indent { get; set; }
+		public Gtk.SourceCompletion completion { get; }
 		public Gtk.SourceDrawSpacesFlags draw_spaces { get; set; }
 		public bool highlight_current_line { get; set; }
 		public bool indent_on_tab { get; set; }
@@ -250,9 +394,63 @@ namespace Gtk {
 		public bool show_right_margin { get; set; }
 		public Gtk.SourceSmartHomeEndType smart_home_end { get; set; }
 		public uint tab_width { get; set; }
+		public virtual signal void line_mark_activated (Gtk.TextIter iter, Gdk.Event event);
+		public virtual signal void move_lines (bool copy, int step);
 		public virtual signal void redo ();
+		public virtual signal void show_completion ();
 		public virtual signal void undo ();
 	}
+	[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+	public interface SourceCompletionProposal : GLib.Object {
+		public abstract bool equal (Gtk.SourceCompletionProposal other);
+		public abstract unowned Gdk.Pixbuf get_icon ();
+		public abstract unowned string get_info ();
+		public abstract unowned string get_label ();
+		public abstract unowned string get_markup ();
+		public abstract unowned string get_text ();
+		public abstract uint hash ();
+		[HasEmitter]
+		public signal void changed ();
+	}
+	[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+	public interface SourceCompletionProvider : GLib.Object {
+		public abstract bool activate_proposal (Gtk.SourceCompletionProposal proposal, Gtk.TextIter iter);
+		public abstract Gtk.SourceCompletionActivation get_activation ();
+		public abstract unowned Gdk.Pixbuf get_icon ();
+		public abstract unowned Gtk.Widget get_info_widget (Gtk.SourceCompletionProposal proposal);
+		public abstract int get_interactive_delay ();
+		public abstract unowned string get_name ();
+		public abstract int get_priority ();
+		public abstract bool get_start_iter (Gtk.SourceCompletionContext context, Gtk.SourceCompletionProposal proposal, Gtk.TextIter iter);
+		public abstract bool match (Gtk.SourceCompletionContext context);
+		public abstract void populate (Gtk.SourceCompletionContext context);
+		public abstract void update_info (Gtk.SourceCompletionProposal proposal, Gtk.SourceCompletionInfo info);
+	}
+	[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+	public interface SourceUndoManager : GLib.Object {
+		public abstract void begin_not_undoable_action ();
+		public abstract bool can_redo ();
+		public abstract bool can_undo ();
+		public abstract void end_not_undoable_action ();
+		public abstract void redo ();
+		public abstract void undo ();
+		[HasEmitter]
+		public signal void can_redo_changed ();
+		[HasEmitter]
+		public signal void can_undo_changed ();
+	}
+	[CCode (cprefix = "GTK_SOURCE_COMPLETION_ACTIVATION_", cheader_filename = "gtksourceview/gtksourceview.h")]
+	[Flags]
+	public enum SourceCompletionActivation {
+		NONE,
+		INTERACTIVE,
+		USER_REQUESTED
+	}
+	[CCode (cprefix = "GTK_SOURCE_COMPLETION_ERROR_", cheader_filename = "gtksourceview/gtksourceview.h")]
+	public enum SourceCompletionError {
+		ALREADY_BOUND,
+		NOT_BOUND
+	}
 	[CCode (cprefix = "GTK_SOURCE_DRAW_SPACES_", cheader_filename = "gtksourceview/gtksourceview.h")]
 	[Flags]
 	public enum SourceDrawSpacesFlags {
@@ -260,6 +458,9 @@ namespace Gtk {
 		TAB,
 		NEWLINE,
 		NBSP,
+		LEADING,
+		TEXT,
+		TRAILING,
 		ALL
 	}
 	[CCode (cprefix = "GTK_SOURCE_SEARCH_", cheader_filename = "gtksourceview/gtksourceiter.h")]
@@ -276,9 +477,22 @@ namespace Gtk {
 		AFTER,
 		ALWAYS
 	}
+	[CCode (cprefix = "GTK_SOURCE_VIEW_GUTTER_POSITION_", cheader_filename = "gtksourceview/gtksourceview.h")]
+	public enum SourceViewGutterPosition {
+		LINES,
+		MARKS
+	}
+	[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+	public delegate void SourceGutterDataFunc (Gtk.SourceGutter gutter, Gtk.CellRenderer cell, int line_number, bool current_line);
+	[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+	public delegate void SourceGutterSizeFunc (Gtk.SourceGutter gutter, Gtk.CellRenderer cell);
 	[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
 	public delegate unowned string SourceViewMarkTooltipFunc (Gtk.SourceMark mark);
 	[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+	public const string SOURCE_COMPLETION_CAPABILITY_AUTOMATIC;
+	[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
+	public const string SOURCE_COMPLETION_CAPABILITY_INTERACTIVE;
+	[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
 	public static bool source_iter_backward_search (Gtk.TextIter iter, string str, Gtk.SourceSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, Gtk.TextIter? limit);
 	[CCode (cheader_filename = "gtksourceview/gtksourceview.h")]
 	public static bool source_iter_forward_search (Gtk.TextIter iter, string str, Gtk.SourceSearchFlags flags, out Gtk.TextIter match_start, out Gtk.TextIter match_end, Gtk.TextIter? limit);
diff --git a/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.gi b/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.gi
index 90d52a0..52d0832 100644
--- a/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.gi
+++ b/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.gi
@@ -23,6 +23,24 @@
 				<parameter name="limit" type="GtkTextIter*"/>
 			</parameters>
 		</function>
+		<callback name="GtkSourceGutterDataFunc">
+			<return-type type="void"/>
+			<parameters>
+				<parameter name="gutter" type="GtkSourceGutter*"/>
+				<parameter name="cell" type="GtkCellRenderer*"/>
+				<parameter name="line_number" type="gint"/>
+				<parameter name="current_line" type="gboolean"/>
+				<parameter name="data" type="gpointer"/>
+			</parameters>
+		</callback>
+		<callback name="GtkSourceGutterSizeFunc">
+			<return-type type="void"/>
+			<parameters>
+				<parameter name="gutter" type="GtkSourceGutter*"/>
+				<parameter name="cell" type="GtkCellRenderer*"/>
+				<parameter name="data" type="gpointer"/>
+			</parameters>
+		</callback>
 		<callback name="GtkSourceViewMarkTooltipFunc">
 			<return-type type="gchar*"/>
 			<parameters>
@@ -30,18 +48,34 @@
 				<parameter name="user_data" type="gpointer"/>
 			</parameters>
 		</callback>
+		<enum name="GtkSourceCompletionError" type-name="GtkSourceCompletionError" get-type="gtk_source_completion_error_get_type">
+			<member name="GTK_SOURCE_COMPLETION_ERROR_ALREADY_BOUND" value="0"/>
+			<member name="GTK_SOURCE_COMPLETION_ERROR_NOT_BOUND" value="1"/>
+		</enum>
 		<enum name="GtkSourceSmartHomeEndType" type-name="GtkSourceSmartHomeEndType" get-type="gtk_source_smart_home_end_type_get_type">
 			<member name="GTK_SOURCE_SMART_HOME_END_DISABLED" value="0"/>
 			<member name="GTK_SOURCE_SMART_HOME_END_BEFORE" value="1"/>
 			<member name="GTK_SOURCE_SMART_HOME_END_AFTER" value="2"/>
 			<member name="GTK_SOURCE_SMART_HOME_END_ALWAYS" value="3"/>
 		</enum>
+		<enum name="GtkSourceViewGutterPosition" type-name="GtkSourceViewGutterPosition" get-type="gtk_source_view_gutter_position_get_type">
+			<member name="GTK_SOURCE_VIEW_GUTTER_POSITION_LINES" value="-30"/>
+			<member name="GTK_SOURCE_VIEW_GUTTER_POSITION_MARKS" value="-20"/>
+		</enum>
+		<flags name="GtkSourceCompletionActivation" type-name="GtkSourceCompletionActivation" get-type="gtk_source_completion_activation_get_type">
+			<member name="GTK_SOURCE_COMPLETION_ACTIVATION_NONE" value="0"/>
+			<member name="GTK_SOURCE_COMPLETION_ACTIVATION_INTERACTIVE" value="1"/>
+			<member name="GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED" value="2"/>
+		</flags>
 		<flags name="GtkSourceDrawSpacesFlags" type-name="GtkSourceDrawSpacesFlags" get-type="gtk_source_draw_spaces_flags_get_type">
 			<member name="GTK_SOURCE_DRAW_SPACES_SPACE" value="1"/>
 			<member name="GTK_SOURCE_DRAW_SPACES_TAB" value="2"/>
 			<member name="GTK_SOURCE_DRAW_SPACES_NEWLINE" value="4"/>
 			<member name="GTK_SOURCE_DRAW_SPACES_NBSP" value="8"/>
-			<member name="GTK_SOURCE_DRAW_SPACES_ALL" value="15"/>
+			<member name="GTK_SOURCE_DRAW_SPACES_LEADING" value="16"/>
+			<member name="GTK_SOURCE_DRAW_SPACES_TEXT" value="32"/>
+			<member name="GTK_SOURCE_DRAW_SPACES_TRAILING" value="64"/>
+			<member name="GTK_SOURCE_DRAW_SPACES_ALL" value="127"/>
 		</flags>
 		<flags name="GtkSourceSearchFlags" type-name="GtkSourceSearchFlags" get-type="gtk_source_search_flags_get_type">
 			<member name="GTK_SOURCE_SEARCH_VISIBLE_ONLY" value="1"/>
@@ -106,6 +140,13 @@
 					<parameter name="category" type="gchar*"/>
 				</parameters>
 			</method>
+			<method name="get_context_classes_at_iter" symbol="gtk_source_buffer_get_context_classes_at_iter">
+				<return-type type="gchar**"/>
+				<parameters>
+					<parameter name="buffer" type="GtkSourceBuffer*"/>
+					<parameter name="iter" type="GtkTextIter*"/>
+				</parameters>
+			</method>
 			<method name="get_highlight_matching_brackets" symbol="gtk_source_buffer_get_highlight_matching_brackets">
 				<return-type type="gboolean"/>
 				<parameters>
@@ -152,6 +193,36 @@
 					<parameter name="buffer" type="GtkSourceBuffer*"/>
 				</parameters>
 			</method>
+			<method name="get_undo_manager" symbol="gtk_source_buffer_get_undo_manager">
+				<return-type type="GtkSourceUndoManager*"/>
+				<parameters>
+					<parameter name="buffer" type="GtkSourceBuffer*"/>
+				</parameters>
+			</method>
+			<method name="iter_backward_to_context_class_toggle" symbol="gtk_source_buffer_iter_backward_to_context_class_toggle">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="buffer" type="GtkSourceBuffer*"/>
+					<parameter name="iter" type="GtkTextIter*"/>
+					<parameter name="context_class" type="gchar*"/>
+				</parameters>
+			</method>
+			<method name="iter_forward_to_context_class_toggle" symbol="gtk_source_buffer_iter_forward_to_context_class_toggle">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="buffer" type="GtkSourceBuffer*"/>
+					<parameter name="iter" type="GtkTextIter*"/>
+					<parameter name="context_class" type="gchar*"/>
+				</parameters>
+			</method>
+			<method name="iter_has_context_class" symbol="gtk_source_buffer_iter_has_context_class">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="buffer" type="GtkSourceBuffer*"/>
+					<parameter name="iter" type="GtkTextIter*"/>
+					<parameter name="context_class" type="gchar*"/>
+				</parameters>
+			</method>
 			<constructor name="new" symbol="gtk_source_buffer_new">
 				<return-type type="GtkSourceBuffer*"/>
 				<parameters>
@@ -214,6 +285,13 @@
 					<parameter name="scheme" type="GtkSourceStyleScheme*"/>
 				</parameters>
 			</method>
+			<method name="set_undo_manager" symbol="gtk_source_buffer_set_undo_manager">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="buffer" type="GtkSourceBuffer*"/>
+					<parameter name="manager" type="GtkSourceUndoManager*"/>
+				</parameters>
+			</method>
 			<method name="undo" symbol="gtk_source_buffer_undo">
 				<return-type type="void"/>
 				<parameters>
@@ -227,6 +305,7 @@
 			<property name="language" type="GtkSourceLanguage*" readable="1" writable="1" construct="0" construct-only="0"/>
 			<property name="max-undo-levels" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
 			<property name="style-scheme" type="GtkSourceStyleScheme*" readable="1" writable="1" construct="0" construct-only="0"/>
+			<property name="undo-manager" type="GtkSourceUndoManager*" readable="1" writable="1" construct="1" construct-only="0"/>
 			<signal name="highlight-updated" when="LAST">
 				<return-type type="void"/>
 				<parameters>
@@ -235,6 +314,12 @@
 					<parameter name="p1" type="GtkTextIter*"/>
 				</parameters>
 			</signal>
+			<signal name="redo" when="LAST">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="buffer" type="GtkSourceBuffer*"/>
+				</parameters>
+			</signal>
 			<signal name="source-mark-updated" when="LAST">
 				<return-type type="void"/>
 				<parameters>
@@ -242,6 +327,385 @@
 					<parameter name="p0" type="GtkTextMark*"/>
 				</parameters>
 			</signal>
+			<signal name="undo" when="LAST">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="buffer" type="GtkSourceBuffer*"/>
+				</parameters>
+			</signal>
+		</object>
+		<object name="GtkSourceCompletion" parent="GtkObject" type-name="GtkSourceCompletion" get-type="gtk_source_completion_get_type">
+			<method name="add_provider" symbol="gtk_source_completion_add_provider">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="completion" type="GtkSourceCompletion*"/>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+					<parameter name="error" type="GError**"/>
+				</parameters>
+			</method>
+			<method name="block_interactive" symbol="gtk_source_completion_block_interactive">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="completion" type="GtkSourceCompletion*"/>
+				</parameters>
+			</method>
+			<method name="create_context" symbol="gtk_source_completion_create_context">
+				<return-type type="GtkSourceCompletionContext*"/>
+				<parameters>
+					<parameter name="completion" type="GtkSourceCompletion*"/>
+					<parameter name="position" type="GtkTextIter*"/>
+				</parameters>
+			</method>
+			<method name="error_quark" symbol="gtk_source_completion_error_quark">
+				<return-type type="GQuark"/>
+			</method>
+			<method name="get_info_window" symbol="gtk_source_completion_get_info_window">
+				<return-type type="GtkSourceCompletionInfo*"/>
+				<parameters>
+					<parameter name="completion" type="GtkSourceCompletion*"/>
+				</parameters>
+			</method>
+			<method name="get_providers" symbol="gtk_source_completion_get_providers">
+				<return-type type="GList*"/>
+				<parameters>
+					<parameter name="completion" type="GtkSourceCompletion*"/>
+				</parameters>
+			</method>
+			<method name="get_view" symbol="gtk_source_completion_get_view">
+				<return-type type="struct _GtkSourceView*"/>
+				<parameters>
+					<parameter name="completion" type="GtkSourceCompletion*"/>
+				</parameters>
+			</method>
+			<method name="hide" symbol="gtk_source_completion_hide">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="completion" type="GtkSourceCompletion*"/>
+				</parameters>
+			</method>
+			<method name="move_window" symbol="gtk_source_completion_move_window">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="completion" type="GtkSourceCompletion*"/>
+					<parameter name="iter" type="GtkTextIter*"/>
+				</parameters>
+			</method>
+			<method name="remove_provider" symbol="gtk_source_completion_remove_provider">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="completion" type="GtkSourceCompletion*"/>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+					<parameter name="error" type="GError**"/>
+				</parameters>
+			</method>
+			<method name="show" symbol="gtk_source_completion_show">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="completion" type="GtkSourceCompletion*"/>
+					<parameter name="providers" type="GList*"/>
+					<parameter name="context" type="GtkSourceCompletionContext*"/>
+				</parameters>
+			</method>
+			<method name="unblock_interactive" symbol="gtk_source_completion_unblock_interactive">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="completion" type="GtkSourceCompletion*"/>
+				</parameters>
+			</method>
+			<property name="accelerators" type="guint" readable="1" writable="1" construct="1" construct-only="0"/>
+			<property name="auto-complete-delay" type="guint" readable="1" writable="1" construct="1" construct-only="0"/>
+			<property name="proposal-page-size" type="guint" readable="1" writable="1" construct="1" construct-only="0"/>
+			<property name="provider-page-size" type="guint" readable="1" writable="1" construct="1" construct-only="0"/>
+			<property name="remember-info-visibility" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
+			<property name="select-on-show" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
+			<property name="show-headers" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
+			<property name="show-icons" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
+			<property name="view" type="GtkSourceView*" readable="1" writable="1" construct="0" construct-only="1"/>
+			<signal name="activate-proposal" when="LAST">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="completion" type="GtkSourceCompletion*"/>
+				</parameters>
+			</signal>
+			<signal name="hide" when="LAST">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="completion" type="GtkSourceCompletion*"/>
+				</parameters>
+			</signal>
+			<signal name="move-cursor" when="LAST">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="completion" type="GtkSourceCompletion*"/>
+					<parameter name="step" type="GtkScrollStep"/>
+					<parameter name="num" type="gint"/>
+				</parameters>
+			</signal>
+			<signal name="move-page" when="LAST">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="completion" type="GtkSourceCompletion*"/>
+					<parameter name="step" type="GtkScrollStep"/>
+					<parameter name="num" type="gint"/>
+				</parameters>
+			</signal>
+			<signal name="populate-context" when="LAST">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="completion" type="GtkSourceCompletion*"/>
+					<parameter name="context" type="GtkSourceCompletionContext*"/>
+				</parameters>
+			</signal>
+			<signal name="show" when="LAST">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="completion" type="GtkSourceCompletion*"/>
+				</parameters>
+			</signal>
+			<vfunc name="proposal_activated">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="completion" type="GtkSourceCompletion*"/>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+				</parameters>
+			</vfunc>
+		</object>
+		<object name="GtkSourceCompletionContext" parent="GInitiallyUnowned" type-name="GtkSourceCompletionContext" get-type="gtk_source_completion_context_get_type">
+			<method name="add_proposals" symbol="gtk_source_completion_context_add_proposals">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="context" type="GtkSourceCompletionContext*"/>
+					<parameter name="provider" type="struct _GtkSourceCompletionProvider*"/>
+					<parameter name="proposals" type="GList*"/>
+					<parameter name="finished" type="gboolean"/>
+				</parameters>
+			</method>
+			<method name="get_activation" symbol="gtk_source_completion_context_get_activation">
+				<return-type type="GtkSourceCompletionActivation"/>
+				<parameters>
+					<parameter name="context" type="GtkSourceCompletionContext*"/>
+				</parameters>
+			</method>
+			<method name="get_iter" symbol="gtk_source_completion_context_get_iter">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="context" type="GtkSourceCompletionContext*"/>
+					<parameter name="iter" type="GtkTextIter*"/>
+				</parameters>
+			</method>
+			<property name="activation" type="GtkSourceCompletionActivation" readable="1" writable="1" construct="0" construct-only="0"/>
+			<property name="completion" type="GtkSourceCompletion*" readable="1" writable="1" construct="0" construct-only="1"/>
+			<property name="iter" type="GtkTextIter*" readable="1" writable="1" construct="0" construct-only="0"/>
+			<signal name="cancelled" when="LAST">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="context" type="GtkSourceCompletionContext*"/>
+				</parameters>
+			</signal>
+		</object>
+		<object name="GtkSourceCompletionInfo" parent="GtkWindow" type-name="GtkSourceCompletionInfo" get-type="gtk_source_completion_info_get_type">
+			<implements>
+				<interface name="AtkImplementor"/>
+				<interface name="GtkBuildable"/>
+			</implements>
+			<method name="get_widget" symbol="gtk_source_completion_info_get_widget">
+				<return-type type="GtkWidget*"/>
+				<parameters>
+					<parameter name="info" type="GtkSourceCompletionInfo*"/>
+				</parameters>
+			</method>
+			<method name="move_to_iter" symbol="gtk_source_completion_info_move_to_iter">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="info" type="GtkSourceCompletionInfo*"/>
+					<parameter name="view" type="GtkTextView*"/>
+					<parameter name="iter" type="GtkTextIter*"/>
+				</parameters>
+			</method>
+			<constructor name="new" symbol="gtk_source_completion_info_new">
+				<return-type type="GtkSourceCompletionInfo*"/>
+			</constructor>
+			<method name="process_resize" symbol="gtk_source_completion_info_process_resize">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="info" type="GtkSourceCompletionInfo*"/>
+				</parameters>
+			</method>
+			<method name="set_sizing" symbol="gtk_source_completion_info_set_sizing">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="info" type="GtkSourceCompletionInfo*"/>
+					<parameter name="width" type="gint"/>
+					<parameter name="height" type="gint"/>
+					<parameter name="shrink_width" type="gboolean"/>
+					<parameter name="shrink_height" type="gboolean"/>
+				</parameters>
+			</method>
+			<method name="set_widget" symbol="gtk_source_completion_info_set_widget">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="info" type="GtkSourceCompletionInfo*"/>
+					<parameter name="widget" type="GtkWidget*"/>
+				</parameters>
+			</method>
+			<property name="max-height" type="gint" readable="1" writable="1" construct="1" construct-only="0"/>
+			<property name="max-width" type="gint" readable="1" writable="1" construct="1" construct-only="0"/>
+			<property name="shrink-height" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
+			<property name="shrink-width" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
+			<signal name="before-show" when="LAST">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="info" type="GtkSourceCompletionInfo*"/>
+				</parameters>
+			</signal>
+		</object>
+		<object name="GtkSourceCompletionItem" parent="GObject" type-name="GtkSourceCompletionItem" get-type="gtk_source_completion_item_get_type">
+			<implements>
+				<interface name="GtkSourceCompletionProposal"/>
+			</implements>
+			<constructor name="new" symbol="gtk_source_completion_item_new">
+				<return-type type="GtkSourceCompletionItem*"/>
+				<parameters>
+					<parameter name="label" type="gchar*"/>
+					<parameter name="text" type="gchar*"/>
+					<parameter name="icon" type="GdkPixbuf*"/>
+					<parameter name="info" type="gchar*"/>
+				</parameters>
+			</constructor>
+			<constructor name="new_from_stock" symbol="gtk_source_completion_item_new_from_stock">
+				<return-type type="GtkSourceCompletionItem*"/>
+				<parameters>
+					<parameter name="label" type="gchar*"/>
+					<parameter name="text" type="gchar*"/>
+					<parameter name="stock" type="gchar*"/>
+					<parameter name="info" type="gchar*"/>
+				</parameters>
+			</constructor>
+			<constructor name="new_with_markup" symbol="gtk_source_completion_item_new_with_markup">
+				<return-type type="GtkSourceCompletionItem*"/>
+				<parameters>
+					<parameter name="markup" type="gchar*"/>
+					<parameter name="text" type="gchar*"/>
+					<parameter name="icon" type="GdkPixbuf*"/>
+					<parameter name="info" type="gchar*"/>
+				</parameters>
+			</constructor>
+			<property name="icon" type="GdkPixbuf*" readable="1" writable="1" construct="0" construct-only="0"/>
+			<property name="info" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
+			<property name="label" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
+			<property name="markup" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
+			<property name="text" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
+		</object>
+		<object name="GtkSourceCompletionWords" parent="GObject" type-name="GtkSourceCompletionWords" get-type="gtk_source_completion_words_get_type">
+			<implements>
+				<interface name="GtkSourceCompletionProvider"/>
+			</implements>
+			<constructor name="new" symbol="gtk_source_completion_words_new">
+				<return-type type="GtkSourceCompletionWords*"/>
+				<parameters>
+					<parameter name="name" type="gchar*"/>
+					<parameter name="icon" type="GdkPixbuf*"/>
+				</parameters>
+			</constructor>
+			<method name="register" symbol="gtk_source_completion_words_register">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="words" type="GtkSourceCompletionWords*"/>
+					<parameter name="buffer" type="GtkTextBuffer*"/>
+				</parameters>
+			</method>
+			<method name="unregister" symbol="gtk_source_completion_words_unregister">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="words" type="GtkSourceCompletionWords*"/>
+					<parameter name="buffer" type="GtkTextBuffer*"/>
+				</parameters>
+			</method>
+			<property name="icon" type="GdkPixbuf*" readable="1" writable="1" construct="1" construct-only="0"/>
+			<property name="interactive-delay" type="gint" readable="1" writable="1" construct="1" construct-only="0"/>
+			<property name="minimum-word-size" type="guint" readable="1" writable="1" construct="1" construct-only="0"/>
+			<property name="name" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
+			<property name="priority" type="gint" readable="1" writable="1" construct="1" construct-only="0"/>
+			<property name="proposals-batch-size" type="guint" readable="1" writable="1" construct="1" construct-only="0"/>
+			<property name="scan-batch-size" type="guint" readable="1" writable="1" construct="1" construct-only="0"/>
+		</object>
+		<object name="GtkSourceGutter" parent="GObject" type-name="GtkSourceGutter" get-type="gtk_source_gutter_get_type">
+			<method name="get_window" symbol="gtk_source_gutter_get_window">
+				<return-type type="GdkWindow*"/>
+				<parameters>
+					<parameter name="gutter" type="GtkSourceGutter*"/>
+				</parameters>
+			</method>
+			<method name="insert" symbol="gtk_source_gutter_insert">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="gutter" type="GtkSourceGutter*"/>
+					<parameter name="renderer" type="GtkCellRenderer*"/>
+					<parameter name="position" type="gint"/>
+				</parameters>
+			</method>
+			<method name="queue_draw" symbol="gtk_source_gutter_queue_draw">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="gutter" type="GtkSourceGutter*"/>
+				</parameters>
+			</method>
+			<method name="remove" symbol="gtk_source_gutter_remove">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="gutter" type="GtkSourceGutter*"/>
+					<parameter name="renderer" type="GtkCellRenderer*"/>
+				</parameters>
+			</method>
+			<method name="reorder" symbol="gtk_source_gutter_reorder">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="gutter" type="GtkSourceGutter*"/>
+					<parameter name="renderer" type="GtkCellRenderer*"/>
+					<parameter name="position" type="gint"/>
+				</parameters>
+			</method>
+			<method name="set_cell_data_func" symbol="gtk_source_gutter_set_cell_data_func">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="gutter" type="GtkSourceGutter*"/>
+					<parameter name="renderer" type="GtkCellRenderer*"/>
+					<parameter name="func" type="GtkSourceGutterDataFunc"/>
+					<parameter name="func_data" type="gpointer"/>
+					<parameter name="destroy" type="GDestroyNotify"/>
+				</parameters>
+			</method>
+			<method name="set_cell_size_func" symbol="gtk_source_gutter_set_cell_size_func">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="gutter" type="GtkSourceGutter*"/>
+					<parameter name="renderer" type="GtkCellRenderer*"/>
+					<parameter name="func" type="GtkSourceGutterSizeFunc"/>
+					<parameter name="func_data" type="gpointer"/>
+					<parameter name="destroy" type="GDestroyNotify"/>
+				</parameters>
+			</method>
+			<property name="view" type="GtkSourceView*" readable="1" writable="1" construct="0" construct-only="1"/>
+			<property name="window-type" type="GtkTextWindowType" readable="1" writable="1" construct="0" construct-only="1"/>
+			<signal name="cell-activated" when="LAST">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="gutter" type="GtkSourceGutter*"/>
+					<parameter name="renderer" type="GtkCellRenderer*"/>
+					<parameter name="iter" type="GtkTextIter*"/>
+					<parameter name="event" type="GdkEvent*"/>
+				</parameters>
+			</signal>
+			<signal name="query-tooltip" when="LAST">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="gutter" type="GtkSourceGutter*"/>
+					<parameter name="renderer" type="GtkCellRenderer*"/>
+					<parameter name="iter" type="GtkTextIter*"/>
+					<parameter name="tooltip" type="GtkTooltip*"/>
+				</parameters>
+			</signal>
 		</object>
 		<object name="GtkSourceLanguage" parent="GObject" type-name="GtkSourceLanguage" get-type="gtk_source_language_get_type">
 			<method name="get_globs" symbol="gtk_source_language_get_globs">
@@ -780,12 +1244,25 @@
 					<parameter name="view" type="GtkSourceView*"/>
 				</parameters>
 			</method>
+			<method name="get_completion" symbol="gtk_source_view_get_completion">
+				<return-type type="GtkSourceCompletion*"/>
+				<parameters>
+					<parameter name="view" type="GtkSourceView*"/>
+				</parameters>
+			</method>
 			<method name="get_draw_spaces" symbol="gtk_source_view_get_draw_spaces">
 				<return-type type="GtkSourceDrawSpacesFlags"/>
 				<parameters>
 					<parameter name="view" type="GtkSourceView*"/>
 				</parameters>
 			</method>
+			<method name="get_gutter" symbol="gtk_source_view_get_gutter">
+				<return-type type="GtkSourceGutter*"/>
+				<parameters>
+					<parameter name="view" type="GtkSourceView*"/>
+					<parameter name="window_type" type="GtkTextWindowType"/>
+				</parameters>
+			</method>
 			<method name="get_highlight_current_line" symbol="gtk_source_view_get_highlight_current_line">
 				<return-type type="gboolean"/>
 				<parameters>
@@ -927,6 +1404,30 @@
 					<parameter name="color" type="GdkColor*"/>
 				</parameters>
 			</method>
+			<method name="set_mark_category_icon_from_icon_name" symbol="gtk_source_view_set_mark_category_icon_from_icon_name">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="view" type="GtkSourceView*"/>
+					<parameter name="category" type="gchar*"/>
+					<parameter name="name" type="gchar*"/>
+				</parameters>
+			</method>
+			<method name="set_mark_category_icon_from_pixbuf" symbol="gtk_source_view_set_mark_category_icon_from_pixbuf">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="view" type="GtkSourceView*"/>
+					<parameter name="category" type="gchar*"/>
+					<parameter name="pixbuf" type="GdkPixbuf*"/>
+				</parameters>
+			</method>
+			<method name="set_mark_category_icon_from_stock" symbol="gtk_source_view_set_mark_category_icon_from_stock">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="view" type="GtkSourceView*"/>
+					<parameter name="category" type="gchar*"/>
+					<parameter name="stock_id" type="gchar*"/>
+				</parameters>
+			</method>
 			<method name="set_mark_category_pixbuf" symbol="gtk_source_view_set_mark_category_pixbuf">
 				<return-type type="void"/>
 				<parameters>
@@ -1006,6 +1507,7 @@
 				</parameters>
 			</method>
 			<property name="auto-indent" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
+			<property name="completion" type="GtkSourceCompletion*" readable="1" writable="0" construct="0" construct-only="0"/>
 			<property name="draw-spaces" type="GtkSourceDrawSpacesFlags" readable="1" writable="1" construct="0" construct-only="0"/>
 			<property name="highlight-current-line" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
 			<property name="indent-on-tab" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
@@ -1017,12 +1519,34 @@
 			<property name="show-right-margin" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
 			<property name="smart-home-end" type="GtkSourceSmartHomeEndType" readable="1" writable="1" construct="0" construct-only="0"/>
 			<property name="tab-width" type="guint" readable="1" writable="1" construct="0" construct-only="0"/>
+			<signal name="line-mark-activated" when="LAST">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="view" type="GtkSourceView*"/>
+					<parameter name="iter" type="GtkTextIter*"/>
+					<parameter name="event" type="GdkEvent*"/>
+				</parameters>
+			</signal>
+			<signal name="move-lines" when="LAST">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="view" type="GtkSourceView*"/>
+					<parameter name="copy" type="gboolean"/>
+					<parameter name="step" type="gint"/>
+				</parameters>
+			</signal>
 			<signal name="redo" when="LAST">
 				<return-type type="void"/>
 				<parameters>
 					<parameter name="view" type="GtkSourceView*"/>
 				</parameters>
 			</signal>
+			<signal name="show-completion" when="LAST">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="view" type="GtkSourceView*"/>
+				</parameters>
+			</signal>
 			<signal name="undo" when="LAST">
 				<return-type type="void"/>
 				<parameters>
@@ -1030,5 +1554,368 @@
 				</parameters>
 			</signal>
 		</object>
+		<interface name="GtkSourceCompletionProposal" type-name="GtkSourceCompletionProposal" get-type="gtk_source_completion_proposal_get_type">
+			<requires>
+				<interface name="GObject"/>
+			</requires>
+			<method name="changed" symbol="gtk_source_completion_proposal_changed">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+				</parameters>
+			</method>
+			<method name="equal" symbol="gtk_source_completion_proposal_equal">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+					<parameter name="other" type="GtkSourceCompletionProposal*"/>
+				</parameters>
+			</method>
+			<method name="get_icon" symbol="gtk_source_completion_proposal_get_icon">
+				<return-type type="GdkPixbuf*"/>
+				<parameters>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+				</parameters>
+			</method>
+			<method name="get_info" symbol="gtk_source_completion_proposal_get_info">
+				<return-type type="gchar*"/>
+				<parameters>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+				</parameters>
+			</method>
+			<method name="get_label" symbol="gtk_source_completion_proposal_get_label">
+				<return-type type="gchar*"/>
+				<parameters>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+				</parameters>
+			</method>
+			<method name="get_markup" symbol="gtk_source_completion_proposal_get_markup">
+				<return-type type="gchar*"/>
+				<parameters>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+				</parameters>
+			</method>
+			<method name="get_text" symbol="gtk_source_completion_proposal_get_text">
+				<return-type type="gchar*"/>
+				<parameters>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+				</parameters>
+			</method>
+			<method name="hash" symbol="gtk_source_completion_proposal_hash">
+				<return-type type="guint"/>
+				<parameters>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+				</parameters>
+			</method>
+			<signal name="changed" when="LAST">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+				</parameters>
+			</signal>
+			<vfunc name="equal">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+					<parameter name="other" type="GtkSourceCompletionProposal*"/>
+				</parameters>
+			</vfunc>
+			<vfunc name="get_icon">
+				<return-type type="GdkPixbuf*"/>
+				<parameters>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+				</parameters>
+			</vfunc>
+			<vfunc name="get_info">
+				<return-type type="gchar*"/>
+				<parameters>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+				</parameters>
+			</vfunc>
+			<vfunc name="get_label">
+				<return-type type="gchar*"/>
+				<parameters>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+				</parameters>
+			</vfunc>
+			<vfunc name="get_markup">
+				<return-type type="gchar*"/>
+				<parameters>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+				</parameters>
+			</vfunc>
+			<vfunc name="get_text">
+				<return-type type="gchar*"/>
+				<parameters>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+				</parameters>
+			</vfunc>
+			<vfunc name="hash">
+				<return-type type="guint"/>
+				<parameters>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+				</parameters>
+			</vfunc>
+		</interface>
+		<interface name="GtkSourceCompletionProvider" type-name="GtkSourceCompletionProvider" get-type="gtk_source_completion_provider_get_type">
+			<requires>
+				<interface name="GObject"/>
+			</requires>
+			<method name="activate_proposal" symbol="gtk_source_completion_provider_activate_proposal">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+					<parameter name="iter" type="GtkTextIter*"/>
+				</parameters>
+			</method>
+			<method name="get_activation" symbol="gtk_source_completion_provider_get_activation">
+				<return-type type="GtkSourceCompletionActivation"/>
+				<parameters>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+				</parameters>
+			</method>
+			<method name="get_icon" symbol="gtk_source_completion_provider_get_icon">
+				<return-type type="GdkPixbuf*"/>
+				<parameters>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+				</parameters>
+			</method>
+			<method name="get_info_widget" symbol="gtk_source_completion_provider_get_info_widget">
+				<return-type type="GtkWidget*"/>
+				<parameters>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+				</parameters>
+			</method>
+			<method name="get_interactive_delay" symbol="gtk_source_completion_provider_get_interactive_delay">
+				<return-type type="gint"/>
+				<parameters>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+				</parameters>
+			</method>
+			<method name="get_name" symbol="gtk_source_completion_provider_get_name">
+				<return-type type="gchar*"/>
+				<parameters>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+				</parameters>
+			</method>
+			<method name="get_priority" symbol="gtk_source_completion_provider_get_priority">
+				<return-type type="gint"/>
+				<parameters>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+				</parameters>
+			</method>
+			<method name="get_start_iter" symbol="gtk_source_completion_provider_get_start_iter">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+					<parameter name="context" type="GtkSourceCompletionContext*"/>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+					<parameter name="iter" type="GtkTextIter*"/>
+				</parameters>
+			</method>
+			<method name="match" symbol="gtk_source_completion_provider_match">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+					<parameter name="context" type="GtkSourceCompletionContext*"/>
+				</parameters>
+			</method>
+			<method name="populate" symbol="gtk_source_completion_provider_populate">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+					<parameter name="context" type="GtkSourceCompletionContext*"/>
+				</parameters>
+			</method>
+			<method name="update_info" symbol="gtk_source_completion_provider_update_info">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+					<parameter name="info" type="GtkSourceCompletionInfo*"/>
+				</parameters>
+			</method>
+			<vfunc name="activate_proposal">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+					<parameter name="iter" type="GtkTextIter*"/>
+				</parameters>
+			</vfunc>
+			<vfunc name="get_activation">
+				<return-type type="GtkSourceCompletionActivation"/>
+				<parameters>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+				</parameters>
+			</vfunc>
+			<vfunc name="get_icon">
+				<return-type type="GdkPixbuf*"/>
+				<parameters>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+				</parameters>
+			</vfunc>
+			<vfunc name="get_info_widget">
+				<return-type type="GtkWidget*"/>
+				<parameters>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+				</parameters>
+			</vfunc>
+			<vfunc name="get_interactive_delay">
+				<return-type type="gint"/>
+				<parameters>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+				</parameters>
+			</vfunc>
+			<vfunc name="get_name">
+				<return-type type="gchar*"/>
+				<parameters>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+				</parameters>
+			</vfunc>
+			<vfunc name="get_priority">
+				<return-type type="gint"/>
+				<parameters>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+				</parameters>
+			</vfunc>
+			<vfunc name="get_start_iter">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+					<parameter name="context" type="GtkSourceCompletionContext*"/>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+					<parameter name="iter" type="GtkTextIter*"/>
+				</parameters>
+			</vfunc>
+			<vfunc name="match">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+					<parameter name="context" type="GtkSourceCompletionContext*"/>
+				</parameters>
+			</vfunc>
+			<vfunc name="populate">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+					<parameter name="context" type="GtkSourceCompletionContext*"/>
+				</parameters>
+			</vfunc>
+			<vfunc name="update_info">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="provider" type="GtkSourceCompletionProvider*"/>
+					<parameter name="proposal" type="GtkSourceCompletionProposal*"/>
+					<parameter name="info" type="GtkSourceCompletionInfo*"/>
+				</parameters>
+			</vfunc>
+		</interface>
+		<interface name="GtkSourceUndoManager" type-name="GtkSourceUndoManager" get-type="gtk_source_undo_manager_get_type">
+			<requires>
+				<interface name="GObject"/>
+			</requires>
+			<method name="begin_not_undoable_action" symbol="gtk_source_undo_manager_begin_not_undoable_action">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="manager" type="GtkSourceUndoManager*"/>
+				</parameters>
+			</method>
+			<method name="can_redo" symbol="gtk_source_undo_manager_can_redo">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="manager" type="GtkSourceUndoManager*"/>
+				</parameters>
+			</method>
+			<method name="can_redo_changed" symbol="gtk_source_undo_manager_can_redo_changed">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="manager" type="GtkSourceUndoManager*"/>
+				</parameters>
+			</method>
+			<method name="can_undo" symbol="gtk_source_undo_manager_can_undo">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="manager" type="GtkSourceUndoManager*"/>
+				</parameters>
+			</method>
+			<method name="can_undo_changed" symbol="gtk_source_undo_manager_can_undo_changed">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="manager" type="GtkSourceUndoManager*"/>
+				</parameters>
+			</method>
+			<method name="end_not_undoable_action" symbol="gtk_source_undo_manager_end_not_undoable_action">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="manager" type="GtkSourceUndoManager*"/>
+				</parameters>
+			</method>
+			<method name="redo" symbol="gtk_source_undo_manager_redo">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="manager" type="GtkSourceUndoManager*"/>
+				</parameters>
+			</method>
+			<method name="undo" symbol="gtk_source_undo_manager_undo">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="manager" type="GtkSourceUndoManager*"/>
+				</parameters>
+			</method>
+			<signal name="can-redo-changed" when="LAST">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="manager" type="GtkSourceUndoManager*"/>
+				</parameters>
+			</signal>
+			<signal name="can-undo-changed" when="LAST">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="manager" type="GtkSourceUndoManager*"/>
+				</parameters>
+			</signal>
+			<vfunc name="begin_not_undoable_action">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="manager" type="GtkSourceUndoManager*"/>
+				</parameters>
+			</vfunc>
+			<vfunc name="can_redo">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="manager" type="GtkSourceUndoManager*"/>
+				</parameters>
+			</vfunc>
+			<vfunc name="can_undo">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="manager" type="GtkSourceUndoManager*"/>
+				</parameters>
+			</vfunc>
+			<vfunc name="end_not_undoable_action">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="manager" type="GtkSourceUndoManager*"/>
+				</parameters>
+			</vfunc>
+			<vfunc name="redo">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="manager" type="GtkSourceUndoManager*"/>
+				</parameters>
+			</vfunc>
+			<vfunc name="undo">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="manager" type="GtkSourceUndoManager*"/>
+				</parameters>
+			</vfunc>
+		</interface>
+		<constant name="GTK_SOURCE_COMPLETION_CAPABILITY_AUTOMATIC" type="char*" value="standard::automatic"/>
+		<constant name="GTK_SOURCE_COMPLETION_CAPABILITY_INTERACTIVE" type="char*" value="standard::interactive"/>
 	</namespace>
 </api>
diff --git a/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata b/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata
index 9ac97f0..f2c59a2 100644
--- a/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata
+++ b/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata
@@ -7,8 +7,12 @@ gtk_source_iter_backward_search.limit nullable="1"
 gtk_source_iter_forward_search.match_start is_out="1"
 gtk_source_iter_forward_search.match_end is_out="1"
 gtk_source_iter_forward_search.limit nullable="1"
-GtkSourceBuffer::highlight_updated hidden="1"
-GtkSourceBuffer::marker_updated hidden="1"
+GtkSourceBuffer::redo has_emitter="1"
+GtkSourceBuffer::undo has_emitter="1"
+GtkSourceCompletion::hide has_emitter="1"
+GtkSourceCompletion::show has_emitter="1"
+GtkSourceCompletionProposal::changed has_emitter="1"
+GtkSourceCompletionProposal::show has_emitter="1"
 GtkSourceContextData hidden="1"
 GtkSourceContextEngine hidden="1"
 GtkSourceContextReplace hidden="1"
@@ -26,6 +30,8 @@ GtkSourceStyleSchemeManager cheader_filename="gtksourceview/gtksourcestylescheme
 gtk_source_style_copy transfer_ownership="1"
 gtk_source_style_scheme_manager_get_search_path is_array="1" array_null_terminated="1"
 gtk_source_style_scheme_manager_get_scheme_ids is_array="1" array_null_terminated="1"
+GtkSourceUndoManager::can_redo_changed has_emitter="1"
+GtkSourceUndoManager::can_undo_changed has_emitter="1"
 GtkTextRegion hidden="1"
 GtkTextRegionIterator hidden="1"
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]