<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations.  -->
<repository version="1.2"
            xmlns="http://www.gtk.org/introspection/core/1.0"
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
            xmlns:doc="http://www.gtk.org/introspection/doc/1.0"
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="Gdk" version="3.0"/>
  <include name="Gtk" version="3.0"/>
  <package name="gtksourceview-4"/>
  <c:include name="gtksourceview/gtksource.h"/>
  <doc:format name="unknown"/>
  <namespace name="GtkSource"
             version="4"
             shared-library="libgtksourceview-4.so.0"
             c:identifier-prefixes="GtkSource"
             c:symbol-prefixes="gtk_source">
    <function-macro name="BUFFER"
                    c:identifier="GTK_SOURCE_BUFFER"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcebuffer.h" line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="BUFFER_CLASS"
                    c:identifier="GTK_SOURCE_BUFFER_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcebuffer.h" line="39"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="BUFFER_GET_CLASS"
                    c:identifier="GTK_SOURCE_BUFFER_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcebuffer.h" line="42"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <enumeration name="BackgroundPatternType"
                 version="3.16"
                 glib:type-name="GtkSourceBackgroundPatternType"
                 glib:get-type="gtk_source_background_pattern_type_get_type"
                 c:type="GtkSourceBackgroundPatternType">
      <member name="none"
              value="0"
              c:identifier="GTK_SOURCE_BACKGROUND_PATTERN_TYPE_NONE"
              glib:nick="none"
              glib:name="GTK_SOURCE_BACKGROUND_PATTERN_TYPE_NONE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.h"
             line="80">no pattern</doc>
      </member>
      <member name="grid"
              value="1"
              c:identifier="GTK_SOURCE_BACKGROUND_PATTERN_TYPE_GRID"
              glib:nick="grid"
              glib:name="GTK_SOURCE_BACKGROUND_PATTERN_TYPE_GRID">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.h"
             line="81">grid pattern</doc>
      </member>
    </enumeration>
    <enumeration name="BracketMatchType"
                 glib:type-name="GtkSourceBracketMatchType"
                 glib:get-type="gtk_source_bracket_match_type_get_type"
                 c:type="GtkSourceBracketMatchType">
      <member name="none"
              value="0"
              c:identifier="GTK_SOURCE_BRACKET_MATCH_NONE"
              glib:nick="none"
              glib:name="GTK_SOURCE_BRACKET_MATCH_NONE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.h"
             line="49">there is no bracket to match.</doc>
      </member>
      <member name="out_of_range"
              value="1"
              c:identifier="GTK_SOURCE_BRACKET_MATCH_OUT_OF_RANGE"
              glib:nick="out-of-range"
              glib:name="GTK_SOURCE_BRACKET_MATCH_OUT_OF_RANGE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.h"
             line="50">matching a bracket
 failed because the maximum range was reached.</doc>
      </member>
      <member name="not_found"
              value="2"
              c:identifier="GTK_SOURCE_BRACKET_MATCH_NOT_FOUND"
              glib:nick="not-found"
              glib:name="GTK_SOURCE_BRACKET_MATCH_NOT_FOUND">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.h"
             line="52">a matching bracket was not found.</doc>
      </member>
      <member name="found"
              value="3"
              c:identifier="GTK_SOURCE_BRACKET_MATCH_FOUND"
              glib:nick="found"
              glib:name="GTK_SOURCE_BRACKET_MATCH_FOUND">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.h"
             line="53">a matching bracket was found.</doc>
      </member>
    </enumeration>
    <class name="Buffer"
           c:symbol-prefix="buffer"
           c:type="GtkSourceBuffer"
           parent="Gtk.TextBuffer"
           glib:type-name="GtkSourceBuffer"
           glib:get-type="gtk_source_buffer_get_type"
           glib:type-struct="BufferClass">
      <source-position filename="gtksourceview/gtksourcebuffer.h" line="118"/>
      <constructor name="new" c:identifier="gtk_source_buffer_new">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="819">Creates a new source buffer.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="124"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcebuffer.c"
               line="825">a new source buffer.</doc>
          <type name="Buffer" c:type="GtkSourceBuffer*"/>
        </return-value>
        <parameters>
          <parameter name="table"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="821">a #GtkTextTagTable, or %NULL to create a new one.</doc>
            <type name="Gtk.TextTagTable" c:type="GtkTextTagTable*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_with_language"
                   c:identifier="gtk_source_buffer_new_with_language">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="835">Creates a new source buffer using the highlighting patterns in
@language.  This is equivalent to creating a new source buffer with
a new tag table and then calling gtk_source_buffer_set_language().</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="127"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcebuffer.c"
               line="843">a new source buffer which will highlight text
according to the highlighting patterns in @language.</doc>
          <type name="Buffer" c:type="GtkSourceBuffer*"/>
        </return-value>
        <parameters>
          <parameter name="language" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="837">a #GtkSourceLanguage.</doc>
            <type name="Language" c:type="GtkSourceLanguage*"/>
          </parameter>
        </parameters>
      </constructor>
      <virtual-method name="bracket_matched">
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="112"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
          <parameter name="iter" transfer-ownership="none">
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="state" transfer-ownership="none">
            <type name="BracketMatchType" c:type="GtkSourceBracketMatchType"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="redo" invoker="redo">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="1579">Redoes the last undo operation.  Use gtk_source_buffer_can_redo()
to check whether a call to this function will have any effect.

This function emits the #GtkSourceBuffer::redo signal.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="110"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1581">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="undo" invoker="undo">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="1561">Undoes the last user action which modified the buffer.  Use
gtk_source_buffer_can_undo() to check whether a call to this
function will have any effect.

This function emits the #GtkSourceBuffer::undo signal.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="109"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1563">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <method name="backward_iter_to_source_mark"
              c:identifier="gtk_source_buffer_backward_iter_to_source_mark"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="2225">Moves @iter to the position of the previous #GtkSourceMark of the given
category. Returns %TRUE if @iter was moved. If @category is NULL, the
previous source mark can be of any category.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="199"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcebuffer.c"
               line="2235">whether @iter was moved.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2227">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
          <parameter name="iter"
                     direction="inout"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2228">an iterator.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="category"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2229">category to search for, or %NULL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="begin_not_undoable_action"
              c:identifier="gtk_source_buffer_begin_not_undoable_action">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="1666">Marks the beginning of a not undoable action on the buffer,
disabling the undo manager.  Typically you would call this function
before initially setting the contents of the buffer (e.g. when
loading a file in a text editor).

You may nest gtk_source_buffer_begin_not_undoable_action() /
gtk_source_buffer_end_not_undoable_action() blocks.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="182"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1668">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="can_redo"
              c:identifier="gtk_source_buffer_can_redo"
              glib:get-property="can-redo">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="1544">Determines whether a source buffer can redo the last action
(i.e. if the last operation was an undo).</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="161"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcebuffer.c"
               line="1551">%TRUE if a redo is possible.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1546">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="can_undo"
              c:identifier="gtk_source_buffer_can_undo"
              glib:get-property="can-undo">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="1528">Determines whether a source buffer can undo the last action.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="158"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcebuffer.c"
               line="1534">%TRUE if it's possible to undo the last action.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1530">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="change_case"
              c:identifier="gtk_source_buffer_change_case"
              version="3.12">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="2794">Changes the case of the text between the specified iterators.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="240"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2796">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
          <parameter name="case_type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2797">how to change the case.</doc>
            <type name="ChangeCaseType" c:type="GtkSourceChangeCaseType"/>
          </parameter>
          <parameter name="start" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2798">a #GtkTextIter.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="end" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2799">a #GtkTextIter.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
        </parameters>
      </method>
      <method name="create_source_mark"
              c:identifier="gtk_source_buffer_create_source_mark"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="2087">Creates a source mark in the @buffer of category @category.  A source mark is
a #GtkTextMark but organised into categories. Depending on the category
a pixbuf can be specified that will be displayed along the line of the mark.

Like a #GtkTextMark, a #GtkSourceMark can be anonymous if the
passed @name is %NULL.  Also, the buffer owns the marks so you
shouldn't unreference it.

Marks always have left gravity and are moved to the beginning of
the line when the user deletes the line they were in.

Typical uses for a source mark are bookmarks, breakpoints, current
executing instruction indication in a source file, etc..</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="188"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcebuffer.c"
               line="2108">a new #GtkSourceMark, owned by the buffer.</doc>
          <type name="Mark" c:type="GtkSourceMark*"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2089">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2090">the name of the mark, or %NULL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2091">a string defining the mark category.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="where" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2092">location to place the mark.</doc>
            <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
          </parameter>
        </parameters>
      </method>
      <method name="create_source_tag"
              c:identifier="gtk_source_buffer_create_source_tag"
              version="3.20"
              introspectable="0">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="3348">In short, this is the same function as gtk_text_buffer_create_tag(), but
instead of creating a #GtkTextTag, this function creates a #GtkSourceTag.

This function creates a #GtkSourceTag and adds it to the tag table for
@buffer.  Equivalent to calling gtk_text_tag_new() and then adding the tag to
the buffer’s tag table. The returned tag is owned by the buffer’s tag table,
so the ref count will be equal to one.

If @tag_name is %NULL, the tag is anonymous.

If @tag_name is non-%NULL, a tag called @tag_name must not already
exist in the tag table for this buffer.

The @first_property_name argument and subsequent arguments are a list
of properties to set on the tag, as with g_object_set().</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="272"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcebuffer.c"
               line="3371">a new #GtkSourceTag.</doc>
          <type name="Gtk.TextTag" c:type="GtkTextTag*"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="3350">a #GtkSourceBuffer</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
          <parameter name="tag_name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="3351">name of the new tag, or %NULL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="first_property_name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="3352">name of first property to set, or %NULL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="..." transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="3353">%NULL-terminated list of property names and values</doc>
            <varargs/>
          </parameter>
        </parameters>
      </method>
      <method name="end_not_undoable_action"
              c:identifier="gtk_source_buffer_end_not_undoable_action">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="1686">Marks the end of a not undoable action on the buffer.  When the
last not undoable block is closed through the call to this
function, the list of undo actions is cleared and the undo manager
is re-enabled.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="185"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1688">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="ensure_highlight"
              c:identifier="gtk_source_buffer_ensure_highlight">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="1916">Forces buffer to analyze and highlight the given area synchronously.

&lt;note&gt;
  &lt;para&gt;
    This is a potentially slow operation and should be used only
    when you need to make sure that some text not currently
    visible is highlighted, for instance before printing.
  &lt;/para&gt;
&lt;/note&gt;</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="171"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1918">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
          <parameter name="start" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1919">start of the area to highlight.</doc>
            <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
          </parameter>
          <parameter name="end" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1920">end of the area to highlight.</doc>
            <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
          </parameter>
        </parameters>
      </method>
      <method name="forward_iter_to_source_mark"
              c:identifier="gtk_source_buffer_forward_iter_to_source_mark"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="2191">Moves @iter to the position of the next #GtkSourceMark of the given
@category. Returns %TRUE if @iter was moved. If @category is NULL, the
next source mark can be of any category.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="194"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcebuffer.c"
               line="2201">whether @iter was moved.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2193">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
          <parameter name="iter"
                     direction="inout"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2194">an iterator.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="category"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2195">category to search for, or %NULL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_context_classes_at_iter"
              c:identifier="gtk_source_buffer_get_context_classes_at_iter"
              version="2.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="2446">Get all defined context classes at @iter.

See the #GtkSourceBuffer description for the list of default context classes.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="225"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcebuffer.c"
               line="2455">a new %NULL
terminated array of context class names.
Use g_strfreev() to free the array if it is no longer needed.</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2448">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
          <parameter name="iter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2449">a #GtkTextIter.</doc>
            <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_highlight_matching_brackets"
              c:identifier="gtk_source_buffer_get_highlight_matching_brackets"
              glib:get-property="highlight-matching-brackets">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="1703">Determines whether bracket match highlighting is activated for the
source buffer.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="137"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcebuffer.c"
               line="1710">%TRUE if the source buffer will highlight matching
brackets.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1705">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_highlight_syntax"
              c:identifier="gtk_source_buffer_get_highlight_syntax"
              glib:get-property="highlight-syntax">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="1749">Determines whether syntax highlighting is activated in the source
buffer.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="130"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcebuffer.c"
               line="1756">%TRUE if syntax highlighting is enabled, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1751">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_implicit_trailing_newline"
              c:identifier="gtk_source_buffer_get_implicit_trailing_newline"
              glib:get-property="implicit-trailing-newline"
              version="3.14">
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="269"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcebuffer.c"
               line="3337">whether the @buffer has an implicit trailing newline.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="3335">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_language"
              c:identifier="gtk_source_buffer_get_language"
              glib:get-property="language">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="1850">Returns the #GtkSourceLanguage associated with the buffer,
see gtk_source_buffer_set_language().  The returned object should not be
unreferenced by the user.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="151"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcebuffer.c"
               line="1858">the #GtkSourceLanguage associated
with the buffer, or %NULL.</doc>
          <type name="Language" c:type="GtkSourceLanguage*"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1852">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_max_undo_levels"
              c:identifier="gtk_source_buffer_get_max_undo_levels"
              glib:get-property="max-undo-levels">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="1596">Determines the number of undo levels the buffer will track for buffer edits.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="144"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcebuffer.c"
               line="1602">the maximum number of possible undo levels or -1 if no limit is set.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1598">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_source_marks_at_iter"
              c:identifier="gtk_source_buffer_get_source_marks_at_iter"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="2259">Returns the list of marks of the given category at @iter. If @category
is %NULL it returns all marks at @iter.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="204"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcebuffer.c"
               line="2268">
a newly allocated #GSList.</doc>
          <type name="GLib.SList" c:type="GSList*">
            <type name="Mark"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2261">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
          <parameter name="iter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2262">an iterator.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="category"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2263">category to search for, or %NULL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_source_marks_at_line"
              c:identifier="gtk_source_buffer_get_source_marks_at_line"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="2293">Returns the list of marks of the given category at @line.
If @category is %NULL, all marks at @line are returned.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="209"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcebuffer.c"
               line="2302">
a newly allocated #GSList.</doc>
          <type name="GLib.SList" c:type="GSList*">
            <type name="Mark"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2295">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
          <parameter name="line" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2296">a line number.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="category"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2297">category to search for, or %NULL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_style_scheme"
              c:identifier="gtk_source_buffer_get_style_scheme"
              glib:get-property="style-scheme">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="1980">Returns the #GtkSourceStyleScheme associated with the buffer,
see gtk_source_buffer_set_style_scheme().
The returned object should not be unreferenced by the user.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="164"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcebuffer.c"
               line="1988">the #GtkSourceStyleScheme
associated with the buffer, or %NULL.</doc>
          <type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1982">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_undo_manager"
              c:identifier="gtk_source_buffer_get_undo_manager"
              glib:get-property="undo-manager">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="3174">Returns the #GtkSourceUndoManager associated with the buffer,
see gtk_source_buffer_set_undo_manager().  The returned object should not be
unreferenced by the user.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="258"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcebuffer.c"
               line="3182">the #GtkSourceUndoManager associated
with the buffer, or %NULL.</doc>
          <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="3176">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="iter_backward_to_context_class_toggle"
              c:identifier="gtk_source_buffer_iter_backward_to_context_class_toggle"
              version="2.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="2539">Moves backward to the next toggle (on or off) of the context class. If no
matching context class toggles are found, returns %FALSE, otherwise %TRUE.
Does not return toggles located at @iter, only toggles after @iter. Sets
@iter to the location of the toggle, or to the end of the buffer if no
toggle is found.

See the #GtkSourceBuffer description for the list of default context classes.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="234"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcebuffer.c"
               line="2553">whether we found a context class toggle before @iter</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2541">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
          <parameter name="iter"
                     direction="inout"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2542">a #GtkTextIter.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="context_class" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2543">the context class.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="iter_forward_to_context_class_toggle"
              c:identifier="gtk_source_buffer_iter_forward_to_context_class_toggle"
              version="2.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="2500">Moves forward to the next toggle (on or off) of the context class. If no
matching context class toggles are found, returns %FALSE, otherwise %TRUE.
Does not return toggles located at @iter, only toggles after @iter. Sets
@iter to the location of the toggle, or to the end of the buffer if no
toggle is found.

See the #GtkSourceBuffer description for the list of default context classes.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="229"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcebuffer.c"
               line="2514">whether we found a context class toggle after @iter</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2502">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
          <parameter name="iter"
                     direction="inout"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2503">a #GtkTextIter.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="context_class" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2504">the context class.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="iter_has_context_class"
              c:identifier="gtk_source_buffer_iter_has_context_class"
              version="2.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="2412">Check if the class @context_class is set on @iter.

See the #GtkSourceBuffer description for the list of default context classes.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="220"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcebuffer.c"
               line="2422">whether @iter has the context class.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2414">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
          <parameter name="iter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2415">a #GtkTextIter.</doc>
            <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
          </parameter>
          <parameter name="context_class" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2416">class to search for.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="join_lines"
              c:identifier="gtk_source_buffer_join_lines"
              version="3.16">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="2880">Joins the lines of text between the specified iterators.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="246"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2882">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
          <parameter name="start" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2883">a #GtkTextIter.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="end" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2884">a #GtkTextIter.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
        </parameters>
      </method>
      <method name="redo" c:identifier="gtk_source_buffer_redo">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="1579">Redoes the last undo operation.  Use gtk_source_buffer_can_redo()
to check whether a call to this function will have any effect.

This function emits the #GtkSourceBuffer::redo signal.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="179"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1581">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="remove_source_marks"
              c:identifier="gtk_source_buffer_remove_source_marks"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="2339">Remove all marks of @category between @start and @end from the buffer.
If @category is NULL, all marks in the range will be removed.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="214"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2341">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
          <parameter name="start" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2342">a #GtkTextIter.</doc>
            <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
          </parameter>
          <parameter name="end" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2343">a #GtkTextIter.</doc>
            <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
          </parameter>
          <parameter name="category"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2344">category to search for, or %NULL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_highlight_matching_brackets"
              c:identifier="gtk_source_buffer_set_highlight_matching_brackets"
              glib:set-property="highlight-matching-brackets">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="1721">Controls the bracket match highlighting function in the buffer.  If
activated, when you position your cursor over a bracket character
(a parenthesis, a square bracket, etc.) the matching opening or
closing bracket character will be highlighted.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="140"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1723">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
          <parameter name="highlight" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1724">%TRUE if you want matching brackets highlighted.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_highlight_syntax"
              c:identifier="gtk_source_buffer_set_highlight_syntax"
              glib:set-property="highlight-syntax">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="1766">Controls whether syntax is highlighted in the buffer.

If @highlight is %TRUE, the text will be highlighted according to the syntax
patterns specified in the #GtkSourceLanguage set with
gtk_source_buffer_set_language().

If @highlight is %FALSE, syntax highlighting is disabled and all the
#GtkTextTag objects that have been added by the syntax highlighting engine
are removed from the buffer.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="133"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1768">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
          <parameter name="highlight" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1769">%TRUE to enable syntax highlighting, %FALSE to disable it.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_implicit_trailing_newline"
              c:identifier="gtk_source_buffer_set_implicit_trailing_newline"
              glib:set-property="implicit-trailing-newline"
              version="3.14">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="3295">Sets whether the @buffer has an implicit trailing newline.

If an explicit trailing newline is present in a #GtkTextBuffer, #GtkTextView
shows it as an empty line. This is generally not what the user expects.

If @implicit_trailing_newline is %TRUE (the default value):
 - when a #GtkSourceFileLoader loads the content of a file into the @buffer,
   the trailing newline (if present in the file) is not inserted into the
   @buffer.
 - when a #GtkSourceFileSaver saves the content of the @buffer into a file, a
   trailing newline is added to the file.

On the other hand, if @implicit_trailing_newline is %FALSE, the file's
content is not modified when loaded into the @buffer, and the @buffer's
content is not modified when saved into a file.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="265"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="3297">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
          <parameter name="implicit_trailing_newline"
                     transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="3298">the new value.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_language"
              c:identifier="gtk_source_buffer_set_language"
              glib:set-property="language">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="1796">Associates a #GtkSourceLanguage with the buffer.

Note that a #GtkSourceLanguage affects not only the syntax highlighting, but
also the [context classes][context-classes]. If you want to disable just the
syntax highlighting, see gtk_source_buffer_set_highlight_syntax().

The buffer holds a reference to @language.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="154"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1798">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
          <parameter name="language"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1799">a #GtkSourceLanguage to set, or %NULL.</doc>
            <type name="Language" c:type="GtkSourceLanguage*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_max_undo_levels"
              c:identifier="gtk_source_buffer_set_max_undo_levels"
              glib:set-property="max-undo-levels">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="1612">Sets the number of undo levels for user actions the buffer will
track.  If the number of user actions exceeds the limit set by this
function, older actions will be discarded.

If @max_undo_levels is -1, the undo/redo is unlimited.

If @max_undo_levels is 0, the undo/redo is disabled.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="147"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1614">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
          <parameter name="max_undo_levels" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1615">the desired maximum number of undo levels.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_style_scheme"
              c:identifier="gtk_source_buffer_set_style_scheme"
              glib:set-property="style-scheme">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="1941">Sets a #GtkSourceStyleScheme to be used by the buffer and the view.

Note that a #GtkSourceStyleScheme affects not only the syntax highlighting,
but also other #GtkSourceView features such as highlighting the current line,
matching brackets, the line numbers, etc.

Instead of setting a %NULL @scheme, it is better to disable syntax
highlighting with gtk_source_buffer_set_highlight_syntax(), and setting the
#GtkSourceStyleScheme with the "classic" or "tango" ID, because those two
style schemes follow more closely the GTK+ theme (for example for the
background color).

The buffer holds a reference to @scheme.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="167"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1943">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
          <parameter name="scheme"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1944">a #GtkSourceStyleScheme or %NULL.</doc>
            <type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_undo_manager"
              c:identifier="gtk_source_buffer_set_undo_manager"
              glib:set-property="undo-manager">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="3141">Set the buffer undo manager. If @manager is %NULL the default undo manager
will be set.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="261"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="3143">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
          <parameter name="manager"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="3144">A #GtkSourceUndoManager or %NULL.</doc>
            <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
          </parameter>
        </parameters>
      </method>
      <method name="sort_lines"
              c:identifier="gtk_source_buffer_sort_lines"
              version="3.18">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="2995">Sort the lines of text between the specified iterators.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="251"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2997">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
          <parameter name="start" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2998">a #GtkTextIter.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="end" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="2999">a #GtkTextIter.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="3000">#GtkSourceSortFlags specifying how the sort should behave</doc>
            <type name="SortFlags" c:type="GtkSourceSortFlags"/>
          </parameter>
          <parameter name="column" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="3001">sort considering the text starting at the given column</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="undo" c:identifier="gtk_source_buffer_undo">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="1561">Undoes the last user action which modified the buffer.  Use
gtk_source_buffer_can_undo() to check whether a call to this
function will have any effect.

This function emits the #GtkSourceBuffer::undo signal.</doc>
        <source-position filename="gtksourceview/gtksourcebuffer.h"
                         line="176"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="1563">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="can-redo"
                transfer-ownership="none"
                getter="can_redo"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="can-undo"
                transfer-ownership="none"
                getter="can_undo"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="highlight-matching-brackets"
                writable="1"
                transfer-ownership="none"
                setter="set_highlight_matching_brackets"
                getter="get_highlight_matching_brackets"
                default-value="TRUE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="377">Whether to highlight matching brackets in the buffer.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="highlight-syntax"
                writable="1"
                transfer-ownership="none"
                setter="set_highlight_syntax"
                getter="get_highlight_syntax"
                default-value="TRUE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="364">Whether to highlight syntax in the buffer.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="implicit-trailing-newline"
                version="3.14"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_implicit_trailing_newline"
                getter="get_implicit_trailing_newline"
                default-value="TRUE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="454">Whether the buffer has an implicit trailing newline. See
gtk_source_buffer_set_implicit_trailing_newline().</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="language"
                writable="1"
                transfer-ownership="none"
                setter="set_language"
                getter="get_language">
        <type name="Language"/>
      </property>
      <property name="max-undo-levels"
                writable="1"
                transfer-ownership="none"
                setter="set_max_undo_levels"
                getter="get_max_undo_levels"
                default-value="-1">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="390">Number of undo levels for the buffer. -1 means no limit. This property
will only affect the default undo manager.</doc>
        <type name="gint" c:type="gint"/>
      </property>
      <property name="style-scheme"
                writable="1"
                transfer-ownership="none"
                setter="set_style_scheme"
                getter="get_style_scheme">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="430">Style scheme. It contains styles for syntax highlighting, optionally
foreground, background, cursor color, current line color, and matching
brackets style.</doc>
        <type name="StyleScheme"/>
      </property>
      <property name="undo-manager"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_undo_manager"
                getter="get_undo_manager">
        <type name="UndoManager"/>
      </property>
      <field name="parent_instance">
        <type name="Gtk.TextBuffer" c:type="GtkTextBuffer"/>
      </field>
      <field name="priv">
        <type name="BufferPrivate" c:type="GtkSourceBufferPrivate*"/>
      </field>
      <glib:signal name="bracket-matched" when="last" version="2.12">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="556">@iter is set to a valid iterator pointing to the matching bracket
if @state is %GTK_SOURCE_BRACKET_MATCH_FOUND. Otherwise @iter is
meaningless.

The signal is emitted only when the @state changes, typically when
the cursor moves.

A use-case for this signal is to show messages in a #GtkStatusbar.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="iter"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="559">if found, the location of the matching bracket.</doc>
            <type name="Gtk.TextIter"/>
          </parameter>
          <parameter name="state" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="560">state of bracket matching.</doc>
            <type name="BracketMatchType"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="highlight-updated" when="last">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="473">The ::highlight-updated signal is emitted when the syntax
highlighting and [context classes][context-classes] are updated in a
certain region of the @buffer.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="start" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="476">the start of the updated region</doc>
            <type name="Gtk.TextIter"/>
          </parameter>
          <parameter name="end" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="477">the end of the updated region</doc>
            <type name="Gtk.TextIter"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="redo" when="last">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="538">The ::redo signal is emitted to redo the last undo operation.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="source-mark-updated" when="last">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="498">The ::source-mark-updated signal is emitted each time
a mark is added to, moved or removed from the @buffer.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="mark" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcebuffer.c"
                 line="501">the #GtkSourceMark</doc>
            <type name="Gtk.TextMark"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="undo" when="last">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.c"
             line="519">The ::undo signal is emitted to undo the last user action which
modified the buffer.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
    </class>
    <record name="BufferClass"
            c:type="GtkSourceBufferClass"
            glib:is-gtype-struct-for="Buffer">
      <source-position filename="gtksourceview/gtksourcebuffer.h" line="118"/>
      <field name="parent_class">
        <type name="Gtk.TextBufferClass" c:type="GtkTextBufferClass"/>
      </field>
      <field name="undo">
        <callback name="undo">
          <source-position filename="gtksourceview/gtksourcebuffer.h"
                           line="109"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="buffer" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcebuffer.c"
                   line="1563">a #GtkSourceBuffer.</doc>
              <type name="Buffer" c:type="GtkSourceBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="redo">
        <callback name="redo">
          <source-position filename="gtksourceview/gtksourcebuffer.h"
                           line="110"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="buffer" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcebuffer.c"
                   line="1581">a #GtkSourceBuffer.</doc>
              <type name="Buffer" c:type="GtkSourceBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="bracket_matched">
        <callback name="bracket_matched">
          <source-position filename="gtksourceview/gtksourcebuffer.h"
                           line="112"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="buffer" transfer-ownership="none">
              <type name="Buffer" c:type="GtkSourceBuffer*"/>
            </parameter>
            <parameter name="iter" transfer-ownership="none">
              <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
            </parameter>
            <parameter name="state" transfer-ownership="none">
              <type name="BracketMatchType"
                    c:type="GtkSourceBracketMatchType"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="BufferPrivate"
            c:type="GtkSourceBufferPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gtksourceview/gtksourcebuffer.h" line="45"/>
    </record>
    <function-macro name="COMPLETION"
                    c:identifier="GTK_SOURCE_COMPLETION"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletion.h"
                       line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="COMPLETION_CLASS"
                    c:identifier="GTK_SOURCE_COMPLETION_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletion.h"
                       line="39"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="COMPLETION_CONTEXT"
                    c:identifier="GTK_SOURCE_COMPLETION_CONTEXT"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletioncontext.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="COMPLETION_CONTEXT_CLASS"
                    c:identifier="GTK_SOURCE_COMPLETION_CONTEXT_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletioncontext.h"
                       line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="COMPLETION_CONTEXT_GET_CLASS"
                    c:identifier="GTK_SOURCE_COMPLETION_CONTEXT_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletioncontext.h"
                       line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="COMPLETION_GET_CLASS"
                    c:identifier="GTK_SOURCE_COMPLETION_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletion.h"
                       line="42"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="COMPLETION_INFO"
                    c:identifier="GTK_SOURCE_COMPLETION_INFO"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletioninfo.h"
                       line="35"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="COMPLETION_INFO_CLASS"
                    c:identifier="GTK_SOURCE_COMPLETION_INFO_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletioninfo.h"
                       line="36"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="COMPLETION_INFO_GET_CLASS"
                    c:identifier="GTK_SOURCE_COMPLETION_INFO_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletioninfo.h"
                       line="39"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="COMPLETION_ITEM"
                    c:identifier="GTK_SOURCE_COMPLETION_ITEM"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletionitem.h"
                       line="35"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="COMPLETION_ITEM_CLASS"
                    c:identifier="GTK_SOURCE_COMPLETION_ITEM_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletionitem.h"
                       line="36"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="COMPLETION_ITEM_GET_CLASS"
                    c:identifier="GTK_SOURCE_COMPLETION_ITEM_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletionitem.h"
                       line="39"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="COMPLETION_PROPOSAL"
                    c:identifier="GTK_SOURCE_COMPLETION_PROPOSAL"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="COMPLETION_PROPOSAL_GET_INTERFACE"
                    c:identifier="GTK_SOURCE_COMPLETION_PROPOSAL_GET_INTERFACE"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                       line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="COMPLETION_PROVIDER"
                    c:identifier="GTK_SOURCE_COMPLETION_PROVIDER"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="COMPLETION_PROVIDER_GET_INTERFACE"
                    c:identifier="GTK_SOURCE_COMPLETION_PROVIDER_GET_INTERFACE"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                       line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="COMPLETION_WORDS"
                    c:identifier="GTK_SOURCE_COMPLETION_WORDS"
                    introspectable="0">
      <source-position filename="gtksourceview/completion-providers/words/gtksourcecompletionwords.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="COMPLETION_WORDS_CLASS"
                    c:identifier="GTK_SOURCE_COMPLETION_WORDS_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/completion-providers/words/gtksourcecompletionwords.h"
                       line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="COMPLETION_WORDS_GET_CLASS"
                    c:identifier="GTK_SOURCE_COMPLETION_WORDS_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/completion-providers/words/gtksourcecompletionwords.h"
                       line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <enumeration name="ChangeCaseType"
                 version="3.12"
                 glib:type-name="GtkSourceChangeCaseType"
                 glib:get-type="gtk_source_change_case_type_get_type"
                 c:type="GtkSourceChangeCaseType">
      <member name="lower"
              value="0"
              c:identifier="GTK_SOURCE_CHANGE_CASE_LOWER"
              glib:nick="lower"
              glib:name="GTK_SOURCE_CHANGE_CASE_LOWER">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.h"
             line="65">change case to lowercase.</doc>
      </member>
      <member name="upper"
              value="1"
              c:identifier="GTK_SOURCE_CHANGE_CASE_UPPER"
              glib:nick="upper"
              glib:name="GTK_SOURCE_CHANGE_CASE_UPPER">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.h"
             line="66">change case to uppercase.</doc>
      </member>
      <member name="toggle"
              value="2"
              c:identifier="GTK_SOURCE_CHANGE_CASE_TOGGLE"
              glib:nick="toggle"
              glib:name="GTK_SOURCE_CHANGE_CASE_TOGGLE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.h"
             line="67">toggle case of each character.</doc>
      </member>
      <member name="title"
              value="3"
              c:identifier="GTK_SOURCE_CHANGE_CASE_TITLE"
              glib:nick="title"
              glib:name="GTK_SOURCE_CHANGE_CASE_TITLE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.h"
             line="68">capitalize each word.</doc>
      </member>
    </enumeration>
    <class name="Completion"
           c:symbol-prefix="completion"
           c:type="GtkSourceCompletion"
           parent="GObject.Object"
           glib:type-name="GtkSourceCompletion"
           glib:get-type="gtk_source_completion_get_type"
           glib:type-struct="CompletionClass">
      <source-position filename="gtksourceview/gtksourcecompletion.h"
                       line="101"/>
      <implements name="Gtk.Buildable"/>
      <virtual-method name="activate_proposal">
        <source-position filename="gtksourceview/gtksourcecompletion.h"
                         line="98"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="completion" transfer-ownership="none">
            <type name="Completion" c:type="GtkSourceCompletion*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="hide" invoker="hide">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="2999">Hides the completion if it is active (visible).</doc>
        <source-position filename="gtksourceview/gtksourcecompletion.h"
                         line="87"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="completion" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletion.c"
                 line="3001">a #GtkSourceCompletion.</doc>
            <type name="Completion" c:type="GtkSourceCompletion*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="move_cursor">
        <source-position filename="gtksourceview/gtksourcecompletion.h"
                         line="92"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="completion" transfer-ownership="none">
            <type name="Completion" c:type="GtkSourceCompletion*"/>
          </instance-parameter>
          <parameter name="step" transfer-ownership="none">
            <type name="Gtk.ScrollStep" c:type="GtkScrollStep"/>
          </parameter>
          <parameter name="num" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="move_page">
        <source-position filename="gtksourceview/gtksourcecompletion.h"
                         line="95"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="completion" transfer-ownership="none">
            <type name="Completion" c:type="GtkSourceCompletion*"/>
          </instance-parameter>
          <parameter name="step" transfer-ownership="none">
            <type name="Gtk.ScrollStep" c:type="GtkScrollStep"/>
          </parameter>
          <parameter name="num" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="populate_context">
        <source-position filename="gtksourceview/gtksourcecompletion.h"
                         line="88"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="completion" transfer-ownership="none">
            <type name="Completion" c:type="GtkSourceCompletion*"/>
          </instance-parameter>
          <parameter name="context" transfer-ownership="none">
            <type name="CompletionContext"
                  c:type="GtkSourceCompletionContext*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="proposal_activated">
        <source-position filename="gtksourceview/gtksourcecompletion.h"
                         line="83"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="completion" transfer-ownership="none">
            <type name="Completion" c:type="GtkSourceCompletion*"/>
          </instance-parameter>
          <parameter name="provider" transfer-ownership="none">
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </parameter>
          <parameter name="proposal" transfer-ownership="none">
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="show">
        <source-position filename="gtksourceview/gtksourcecompletion.h"
                         line="86"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="completion" transfer-ownership="none">
            <type name="Completion" c:type="GtkSourceCompletion*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <method name="add_provider"
              c:identifier="gtk_source_completion_add_provider"
              throws="1">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="2906">Add a new #GtkSourceCompletionProvider to the completion object. This will
add a reference @provider, so make sure to unref your own copy when you
no longer need it.</doc>
        <source-position filename="gtksourceview/gtksourcecompletion.h"
                         line="110"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletion.c"
               line="2916">%TRUE if @provider was successfully added, otherwise if @error
         is provided, it will be set with the error and %FALSE is returned.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="completion" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletion.c"
                 line="2908">a #GtkSourceCompletion.</doc>
            <type name="Completion" c:type="GtkSourceCompletion*"/>
          </instance-parameter>
          <parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletion.c"
                 line="2909">a #GtkSourceCompletionProvider.</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </parameter>
        </parameters>
      </method>
      <method name="block_interactive"
              c:identifier="gtk_source_completion_block_interactive">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="3093">Block interactive completion. This can be used to disable interactive
completion when inserting or deleting text from the buffer associated with
the completion. Use gtk_source_completion_unblock_interactive() to enable
interactive completion again.

This function may be called multiple times. It will continue to block
interactive completion until gtk_source_completion_unblock_interactive()
has been called the same number of times.</doc>
        <source-position filename="gtksourceview/gtksourcecompletion.h"
                         line="143"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="completion" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletion.c"
                 line="3095">a #GtkSourceCompletion.</doc>
            <type name="Completion" c:type="GtkSourceCompletion*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="create_context"
              c:identifier="gtk_source_completion_create_context">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="3054">Create a new #GtkSourceCompletionContext for @completion. The position where
the completion occurs can be specified by @position. If @position is %NULL,
the current cursor position will be used.</doc>
        <source-position filename="gtksourceview/gtksourcecompletion.h"
                         line="139"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletion.c"
               line="3063">a new #GtkSourceCompletionContext.
The reference being returned is a 'floating' reference,
so if you invoke gtk_source_completion_start() with this context
you don't need to unref it.</doc>
          <type name="CompletionContext" c:type="GtkSourceCompletionContext*"/>
        </return-value>
        <parameters>
          <instance-parameter name="completion" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletion.c"
                 line="3056">a #GtkSourceCompletion.</doc>
            <type name="Completion" c:type="GtkSourceCompletion*"/>
          </instance-parameter>
          <parameter name="position"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletion.c"
                 line="3057">a #GtkTextIter, or %NULL.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_info_window"
              c:identifier="gtk_source_completion_get_info_window">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="3018">The info widget is the window where the completion displays optional extra
information of the proposal.</doc>
        <source-position filename="gtksourceview/gtksourcecompletion.h"
                         line="132"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletion.c"
               line="3025">The #GtkSourceCompletionInfo window
                          associated with @completion.</doc>
          <type name="CompletionInfo" c:type="GtkSourceCompletionInfo*"/>
        </return-value>
        <parameters>
          <instance-parameter name="completion" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletion.c"
                 line="3020">a #GtkSourceCompletion.</doc>
            <type name="Completion" c:type="GtkSourceCompletion*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_providers"
              c:identifier="gtk_source_completion_get_providers">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="2858">Get list of providers registered on @completion. The returned list is owned
by the completion and should not be freed.</doc>
        <source-position filename="gtksourceview/gtksourcecompletion.h"
                         line="120"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletion.c"
               line="2865">
list of #GtkSourceCompletionProvider.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="CompletionProvider"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="completion" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletion.c"
                 line="2860">a #GtkSourceCompletion.</doc>
            <type name="Completion" c:type="GtkSourceCompletion*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_view"
              c:identifier="gtk_source_completion_get_view"
              glib:get-property="view">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="3036">The #GtkSourceView associated with @completion, or %NULL if the view has been
destroyed.</doc>
        <source-position filename="gtksourceview/gtksourcecompletion.h"
                         line="135"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletion.c"
               line="3043">The #GtkSourceView associated with
@completion, or %NULL.</doc>
          <type name="View" c:type="GtkSourceView*"/>
        </return-value>
        <parameters>
          <instance-parameter name="completion" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletion.c"
                 line="3038">a #GtkSourceCompletion.</doc>
            <type name="Completion" c:type="GtkSourceCompletion*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="hide" c:identifier="gtk_source_completion_hide">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="2999">Hides the completion if it is active (visible).</doc>
        <source-position filename="gtksourceview/gtksourcecompletion.h"
                         line="128"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="completion" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletion.c"
                 line="3001">a #GtkSourceCompletion.</doc>
            <type name="Completion" c:type="GtkSourceCompletion*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="remove_provider"
              c:identifier="gtk_source_completion_remove_provider"
              throws="1">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="2951">Remove @provider from the completion.</doc>
        <source-position filename="gtksourceview/gtksourcecompletion.h"
                         line="115"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletion.c"
               line="2959">%TRUE if @provider was successfully removed, otherwise if @error
         is provided, it will be set with the error and %FALSE is returned.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="completion" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletion.c"
                 line="2953">a #GtkSourceCompletion.</doc>
            <type name="Completion" c:type="GtkSourceCompletion*"/>
          </instance-parameter>
          <parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletion.c"
                 line="2954">a #GtkSourceCompletionProvider.</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </parameter>
        </parameters>
      </method>
      <method name="start" c:identifier="gtk_source_completion_start">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="2789">Starts a new completion with the specified #GtkSourceCompletionContext and
a list of potential candidate providers for completion.

It can be convenient for showing a completion on-the-fly, without the need to
add or remove providers to the #GtkSourceCompletion.

Another solution is to add providers with
gtk_source_completion_add_provider(), and implement
gtk_source_completion_provider_match() for each provider.</doc>
        <source-position filename="gtksourceview/gtksourcecompletion.h"
                         line="123"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletion.c"
               line="2807">%TRUE if it was possible to the show completion window.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="completion" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletion.c"
                 line="2791">a #GtkSourceCompletion.</doc>
            <type name="Completion" c:type="GtkSourceCompletion*"/>
          </instance-parameter>
          <parameter name="providers"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletion.c"
                 line="2792">
a list of #GtkSourceCompletionProvider, or %NULL.</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="CompletionProvider"/>
            </type>
          </parameter>
          <parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletion.c"
                 line="2794">The #GtkSourceCompletionContext
with which to start the completion.</doc>
            <type name="CompletionContext"
                  c:type="GtkSourceCompletionContext*"/>
          </parameter>
        </parameters>
      </method>
      <method name="unblock_interactive"
              c:identifier="gtk_source_completion_unblock_interactive">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="3124">Unblock interactive completion. This can be used after using
gtk_source_completion_block_interactive() to enable interactive completion
again.</doc>
        <source-position filename="gtksourceview/gtksourcecompletion.h"
                         line="146"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="completion" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletion.c"
                 line="3126">a #GtkSourceCompletion.</doc>
            <type name="Completion" c:type="GtkSourceCompletion*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="accelerators"
                writable="1"
                construct="1"
                transfer-ownership="none"
                default-value="5">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="2378">Number of keyboard accelerators to show for the first proposals. For
example, to activate the first proposal, the user can press
&lt;keycombo&gt;&lt;keycap&gt;Alt&lt;/keycap&gt;&lt;keycap&gt;1&lt;/keycap&gt;&lt;/keycombo&gt;.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="auto-complete-delay"
                writable="1"
                construct="1"
                transfer-ownership="none"
                default-value="250">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="2397">Determines the popup delay (in milliseconds) at which the completion
will be shown for interactive completion.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="proposal-page-size"
                writable="1"
                construct="1"
                transfer-ownership="none"
                default-value="5">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="2434">The scroll page size of the proposals in the completion window. In
other words, when &lt;keycap&gt;PageDown&lt;/keycap&gt; or
&lt;keycap&gt;PageUp&lt;/keycap&gt; is pressed, the selected
proposal becomes the one which is located one page size backward or
forward.

See also the #GtkSourceCompletion::move-cursor signal.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="provider-page-size"
                writable="1"
                construct="1"
                transfer-ownership="none"
                default-value="5">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="2415">The scroll page size of the provider pages in the completion window.

See the #GtkSourceCompletion::move-page signal.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="remember-info-visibility"
                writable="1"
                construct="1"
                transfer-ownership="none"
                default-value="FALSE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="2314">Determines whether the visibility of the info window should be
saved when the completion is hidden, and restored when the completion
is shown again.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="select-on-show"
                writable="1"
                construct="1"
                transfer-ownership="none"
                default-value="TRUE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="2330">Determines whether the first proposal should be selected when the
completion is first shown.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="show-headers"
                writable="1"
                construct="1"
                transfer-ownership="none"
                default-value="TRUE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="2346">Determines whether provider headers should be shown in the proposal
list. It can be useful to disable when there is only one provider.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="show-icons"
                writable="1"
                construct="1"
                transfer-ownership="none"
                default-value="TRUE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="2362">Determines whether provider and proposal icons should be shown in
the completion popup.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="view"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_view">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="2299">The #GtkSourceView bound to the completion object.</doc>
        <type name="View"/>
      </property>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="CompletionPrivate" c:type="GtkSourceCompletionPrivate*"/>
      </field>
      <glib:signal name="activate-proposal" when="last" action="1">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="2599">The #GtkSourceCompletion::activate-proposal signal is a
keybinding signal which gets emitted when the user initiates
a proposal activation.

Applications should not connect to it, but may emit it with
g_signal_emit_by_name() if they need to control the proposal
activation programmatically.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="hide" when="last" action="1">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="2477">Emitted when the completion window is hidden. The default handler
will actually hide the window.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="move-cursor" when="last" action="1">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="2520">The #GtkSourceCompletion::move-cursor signal is a keybinding
signal which gets emitted when the user initiates a cursor
movement.

The &lt;keycap&gt;Up&lt;/keycap&gt;, &lt;keycap&gt;Down&lt;/keycap&gt;,
&lt;keycap&gt;PageUp&lt;/keycap&gt;, &lt;keycap&gt;PageDown&lt;/keycap&gt;,
&lt;keycap&gt;Home&lt;/keycap&gt; and &lt;keycap&gt;End&lt;/keycap&gt; keys are bound to the
normal behavior expected by those keys.

When @step is equal to %GTK_SCROLL_PAGES, the page size is defined by
the #GtkSourceCompletion:proposal-page-size property. It is used for
the &lt;keycap&gt;PageDown&lt;/keycap&gt; and &lt;keycap&gt;PageUp&lt;/keycap&gt; keys.

Applications should not connect to it, but may emit it with
g_signal_emit_by_name() if they need to control the cursor
programmatically.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="step" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletion.c"
                 line="2523">The #GtkScrollStep by which to move the cursor</doc>
            <type name="Gtk.ScrollStep"/>
          </parameter>
          <parameter name="num" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletion.c"
                 line="2524">The amount of steps to move the cursor</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="move-page" when="last" action="1">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="2558">The #GtkSourceCompletion::move-page signal is a keybinding
signal which gets emitted when the user initiates a page
movement (i.e. switches between provider pages).

&lt;keycombo&gt;&lt;keycap&gt;Control&lt;/keycap&gt;&lt;keycap&gt;Left&lt;/keycap&gt;&lt;/keycombo&gt;
is for going to the previous provider.
&lt;keycombo&gt;&lt;keycap&gt;Control&lt;/keycap&gt;&lt;keycap&gt;Right&lt;/keycap&gt;&lt;/keycombo&gt;
is for going to the next provider.
&lt;keycombo&gt;&lt;keycap&gt;Control&lt;/keycap&gt;&lt;keycap&gt;Home&lt;/keycap&gt;&lt;/keycombo&gt;
is for displaying all the providers.
&lt;keycombo&gt;&lt;keycap&gt;Control&lt;/keycap&gt;&lt;keycap&gt;End&lt;/keycap&gt;&lt;/keycombo&gt;
is for going to the last provider.

When @step is equal to #GTK_SCROLL_PAGES, the page size is defined by
the #GtkSourceCompletion:provider-page-size property.

Applications should not connect to it, but may emit it with
g_signal_emit_by_name() if they need to control the page selection
programmatically.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="step" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletion.c"
                 line="2561">The #GtkScrollStep by which to move the page</doc>
            <type name="Gtk.ScrollStep"/>
          </parameter>
          <parameter name="num" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletion.c"
                 line="2562">The amount of steps to move the page</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="populate-context" when="last" action="1">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="2496">Emitted just before starting to populate the completion with providers.
You can use this signal to add additional attributes in the context.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletion.c"
                 line="2499">The #GtkSourceCompletionContext for the current completion</doc>
            <type name="CompletionContext"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="show" when="last" action="1">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.c"
             line="2457">Emitted when the completion window is shown. The default handler
will actually show the window.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
    </class>
    <bitfield name="CompletionActivation"
              glib:type-name="GtkSourceCompletionActivation"
              glib:get-type="gtk_source_completion_activation_get_type"
              c:type="GtkSourceCompletionActivation">
      <member name="none"
              value="0"
              c:identifier="GTK_SOURCE_COMPLETION_ACTIVATION_NONE"
              glib:nick="none"
              glib:name="GTK_SOURCE_COMPLETION_ACTIVATION_NONE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletioncontext.h"
             line="45">None.</doc>
      </member>
      <member name="interactive"
              value="1"
              c:identifier="GTK_SOURCE_COMPLETION_ACTIVATION_INTERACTIVE"
              glib:nick="interactive"
              glib:name="GTK_SOURCE_COMPLETION_ACTIVATION_INTERACTIVE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletioncontext.h"
             line="46">Interactive activation. By
default, it occurs on each insertion in the #GtkTextBuffer. This can be
blocked temporarily with gtk_source_completion_block_interactive().</doc>
      </member>
      <member name="user_requested"
              value="2"
              c:identifier="GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED"
              glib:nick="user-requested"
              glib:name="GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletioncontext.h"
             line="49">User requested activation.
By default, it occurs when the user presses
&lt;keycombo&gt;&lt;keycap&gt;Control&lt;/keycap&gt;&lt;keycap&gt;space&lt;/keycap&gt;&lt;/keycombo&gt;.</doc>
      </member>
    </bitfield>
    <record name="CompletionClass"
            c:type="GtkSourceCompletionClass"
            glib:is-gtype-struct-for="Completion">
      <source-position filename="gtksourceview/gtksourcecompletion.h"
                       line="101"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="proposal_activated">
        <callback name="proposal_activated">
          <source-position filename="gtksourceview/gtksourcecompletion.h"
                           line="83"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="completion" transfer-ownership="none">
              <type name="Completion" c:type="GtkSourceCompletion*"/>
            </parameter>
            <parameter name="provider" transfer-ownership="none">
              <type name="CompletionProvider"
                    c:type="GtkSourceCompletionProvider*"/>
            </parameter>
            <parameter name="proposal" transfer-ownership="none">
              <type name="CompletionProposal"
                    c:type="GtkSourceCompletionProposal*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="show">
        <callback name="show">
          <source-position filename="gtksourceview/gtksourcecompletion.h"
                           line="86"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="completion" transfer-ownership="none">
              <type name="Completion" c:type="GtkSourceCompletion*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="hide">
        <callback name="hide">
          <source-position filename="gtksourceview/gtksourcecompletion.h"
                           line="87"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="completion" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletion.c"
                   line="3001">a #GtkSourceCompletion.</doc>
              <type name="Completion" c:type="GtkSourceCompletion*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="populate_context">
        <callback name="populate_context">
          <source-position filename="gtksourceview/gtksourcecompletion.h"
                           line="88"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="completion" transfer-ownership="none">
              <type name="Completion" c:type="GtkSourceCompletion*"/>
            </parameter>
            <parameter name="context" transfer-ownership="none">
              <type name="CompletionContext"
                    c:type="GtkSourceCompletionContext*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="move_cursor">
        <callback name="move_cursor">
          <source-position filename="gtksourceview/gtksourcecompletion.h"
                           line="92"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="completion" transfer-ownership="none">
              <type name="Completion" c:type="GtkSourceCompletion*"/>
            </parameter>
            <parameter name="step" transfer-ownership="none">
              <type name="Gtk.ScrollStep" c:type="GtkScrollStep"/>
            </parameter>
            <parameter name="num" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="move_page">
        <callback name="move_page">
          <source-position filename="gtksourceview/gtksourcecompletion.h"
                           line="95"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="completion" transfer-ownership="none">
              <type name="Completion" c:type="GtkSourceCompletion*"/>
            </parameter>
            <parameter name="step" transfer-ownership="none">
              <type name="Gtk.ScrollStep" c:type="GtkScrollStep"/>
            </parameter>
            <parameter name="num" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="activate_proposal">
        <callback name="activate_proposal">
          <source-position filename="gtksourceview/gtksourcecompletion.h"
                           line="98"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="completion" transfer-ownership="none">
              <type name="Completion" c:type="GtkSourceCompletion*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <class name="CompletionContext"
           c:symbol-prefix="completion_context"
           c:type="GtkSourceCompletionContext"
           parent="GObject.InitiallyUnowned"
           glib:type-name="GtkSourceCompletionContext"
           glib:get-type="gtk_source_completion_context_get_type"
           glib:type-struct="CompletionContextClass">
      <source-position filename="gtksourceview/gtksourcecompletioncontext.h"
                       line="73"/>
      <virtual-method name="cancelled">
        <source-position filename="gtksourceview/gtksourcecompletioncontext.h"
                         line="69"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <type name="CompletionContext"
                  c:type="GtkSourceCompletionContext*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <method name="add_proposals"
              c:identifier="gtk_source_completion_context_add_proposals">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletioncontext.c"
             line="295">Providers can use this function to add proposals to the completion. They
can do so asynchronously by means of the @finished argument. Providers must
ensure that they always call this function with @finished set to %TRUE
once each population (even if no proposals need to be added).
Population occurs when the gtk_source_completion_provider_populate()
function is called.</doc>
        <source-position filename="gtksourceview/gtksourcecompletioncontext.h"
                         line="79"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletioncontext.c"
                 line="297">a #GtkSourceCompletionContext.</doc>
            <type name="CompletionContext"
                  c:type="GtkSourceCompletionContext*"/>
          </instance-parameter>
          <parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletioncontext.c"
                 line="298">a #GtkSourceCompletionProvider.</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </parameter>
          <parameter name="proposals"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletioncontext.c"
                 line="299">The list of proposals to add.</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="CompletionProposal"/>
            </type>
          </parameter>
          <parameter name="finished" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletioncontext.c"
                 line="300">Whether the provider is finished adding proposals.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_activation"
              c:identifier="gtk_source_completion_context_get_activation"
              glib:get-property="activation">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletioncontext.c"
             line="377">Get the context activation.</doc>
        <source-position filename="gtksourceview/gtksourcecompletioncontext.h"
                         line="90"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletioncontext.c"
               line="383">The context activation.</doc>
          <type name="CompletionActivation"
                c:type="GtkSourceCompletionActivation"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletioncontext.c"
                 line="379">a #GtkSourceCompletionContext.</doc>
            <type name="CompletionContext"
                  c:type="GtkSourceCompletionContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_iter"
              c:identifier="gtk_source_completion_context_get_iter"
              glib:get-property="iter">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletioncontext.c"
             line="325">Get the iter at which the completion was invoked. Providers can use this
to determine how and if to match proposals.</doc>
        <source-position filename="gtksourceview/gtksourcecompletioncontext.h"
                         line="85"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletioncontext.c"
               line="333">%TRUE if @iter is correctly set, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletioncontext.c"
                 line="327">a #GtkSourceCompletionContext.</doc>
            <type name="CompletionContext"
                  c:type="GtkSourceCompletionContext*"/>
          </instance-parameter>
          <parameter name="iter"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletioncontext.c"
                 line="328">a #GtkTextIter.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
        </parameters>
      </method>
      <property name="activation"
                writable="1"
                construct="1"
                transfer-ownership="none"
                getter="get_activation"
                default-value="GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletioncontext.c"
             line="272">The completion activation</doc>
        <type name="CompletionActivation"/>
      </property>
      <property name="completion"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletioncontext.c"
             line="243">The #GtkSourceCompletion associated with the context.</doc>
        <type name="Completion"/>
      </property>
      <property name="iter"
                writable="1"
                transfer-ownership="none"
                getter="get_iter">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletioncontext.c"
             line="258">The #GtkTextIter at which the completion is invoked.</doc>
        <type name="Gtk.TextIter"/>
      </property>
      <field name="parent">
        <type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
      </field>
      <field name="priv">
        <type name="CompletionContextPrivate"
              c:type="GtkSourceCompletionContextPrivate*"/>
      </field>
      <glib:signal name="cancelled" when="last" action="1">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletioncontext.c"
             line="224">Emitted when the current population of proposals has been cancelled.
Providers adding proposals asynchronously should connect to this signal
to know when to cancel running proposal queries.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
    </class>
    <record name="CompletionContextClass"
            c:type="GtkSourceCompletionContextClass"
            glib:is-gtype-struct-for="CompletionContext">
      <source-position filename="gtksourceview/gtksourcecompletioncontext.h"
                       line="73"/>
      <field name="parent_class">
        <type name="GObject.InitiallyUnownedClass"
              c:type="GInitiallyUnownedClass"/>
      </field>
      <field name="cancelled">
        <callback name="cancelled">
          <source-position filename="gtksourceview/gtksourcecompletioncontext.h"
                           line="69"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="context" transfer-ownership="none">
              <type name="CompletionContext"
                    c:type="GtkSourceCompletionContext*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="10">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="CompletionContextPrivate"
            c:type="GtkSourceCompletionContextPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gtksourceview/gtksourcecompletioncontext.h"
                       line="41"/>
    </record>
    <enumeration name="CompletionError"
                 glib:type-name="GtkSourceCompletionError"
                 glib:get-type="gtk_source_completion_error_get_type"
                 c:type="GtkSourceCompletionError"
                 glib:error-domain="gtk-source-completion-error-quark">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcecompletion.h"
           line="56">An error code used with %GTK_SOURCE_COMPLETION_ERROR in a #GError returned
from a completion-related function.</doc>
      <member name="already_bound"
              value="0"
              c:identifier="GTK_SOURCE_COMPLETION_ERROR_ALREADY_BOUND"
              glib:nick="already-bound"
              glib:name="GTK_SOURCE_COMPLETION_ERROR_ALREADY_BOUND">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.h"
             line="58">The #GtkSourceCompletionProvider
is already bound to the #GtkSourceCompletion object.</doc>
      </member>
      <member name="not_bound"
              value="1"
              c:identifier="GTK_SOURCE_COMPLETION_ERROR_NOT_BOUND"
              glib:nick="not-bound"
              glib:name="GTK_SOURCE_COMPLETION_ERROR_NOT_BOUND">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletion.h"
             line="60">The #GtkSourceCompletionProvider is
not bound to the #GtkSourceCompletion object.</doc>
      </member>
      <function name="quark" c:identifier="gtk_source_completion_error_quark">
        <return-value transfer-ownership="none">
          <type name="GLib.Quark" c:type="GQuark"/>
        </return-value>
      </function>
    </enumeration>
    <class name="CompletionInfo"
           c:symbol-prefix="completion_info"
           c:type="GtkSourceCompletionInfo"
           parent="Gtk.Window"
           glib:type-name="GtkSourceCompletionInfo"
           glib:get-type="gtk_source_completion_info_get_type"
           glib:type-struct="CompletionInfoClass">
      <source-position filename="gtksourceview/gtksourcecompletioninfo.h"
                       line="57"/>
      <implements name="Atk.ImplementorIface"/>
      <implements name="Gtk.Buildable"/>
      <constructor name="new" c:identifier="gtk_source_completion_info_new">
        <source-position filename="gtksourceview/gtksourcecompletioninfo.h"
                         line="64"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletioninfo.c"
               line="427">a new GtkSourceCompletionInfo.</doc>
          <type name="CompletionInfo" c:type="GtkSourceCompletionInfo*"/>
        </return-value>
      </constructor>
      <method name="move_to_iter"
              c:identifier="gtk_source_completion_info_move_to_iter">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletioninfo.c"
             line="438">Moves the #GtkSourceCompletionInfo to @iter. If @iter is %NULL @info is
moved to the cursor position. Moving will respect the #GdkGravity setting
of the info window and will ensure the line at @iter is not occluded by
the window.</doc>
        <source-position filename="gtksourceview/gtksourcecompletioninfo.h"
                         line="67"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletioninfo.c"
                 line="440">a #GtkSourceCompletionInfo.</doc>
            <type name="CompletionInfo" c:type="GtkSourceCompletionInfo*"/>
          </instance-parameter>
          <parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletioninfo.c"
                 line="441">a #GtkTextView on which the info window should be positioned.</doc>
            <type name="Gtk.TextView" c:type="GtkTextView*"/>
          </parameter>
          <parameter name="iter"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletioninfo.c"
                 line="442">a #GtkTextIter.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent">
        <type name="Gtk.Window" c:type="GtkWindow"/>
      </field>
      <field name="priv">
        <type name="CompletionInfoPrivate"
              c:type="GtkSourceCompletionInfoPrivate*"/>
      </field>
    </class>
    <record name="CompletionInfoClass"
            c:type="GtkSourceCompletionInfoClass"
            glib:is-gtype-struct-for="CompletionInfo">
      <source-position filename="gtksourceview/gtksourcecompletioninfo.h"
                       line="57"/>
      <field name="parent_class">
        <type name="Gtk.WindowClass" c:type="GtkWindowClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="10">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="CompletionInfoPrivate"
            c:type="GtkSourceCompletionInfoPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gtksourceview/gtksourcecompletioninfo.h"
                       line="41"/>
    </record>
    <class name="CompletionItem"
           c:symbol-prefix="completion_item"
           c:type="GtkSourceCompletionItem"
           parent="GObject.Object"
           glib:type-name="GtkSourceCompletionItem"
           glib:get-type="gtk_source_completion_item_get_type"
           glib:type-struct="CompletionItemClass">
      <source-position filename="gtksourceview/gtksourcecompletionitem.h"
                       line="54"/>
      <implements name="CompletionProposal"/>
      <constructor name="new"
                   c:identifier="gtk_source_completion_item_new"
                   version="4.0">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionitem.c"
             line="374">Creates a new #GtkSourceCompletionItem. The desired properties need to be set
afterwards.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionitem.h"
                         line="60"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionitem.c"
               line="380">a new #GtkSourceCompletionItem.</doc>
          <type name="CompletionItem" c:type="GtkSourceCompletionItem*"/>
        </return-value>
      </constructor>
      <method name="set_gicon"
              c:identifier="gtk_source_completion_item_set_gicon"
              glib:set-property="gicon"
              version="3.24">
        <source-position filename="gtksourceview/gtksourcecompletionitem.h"
                         line="83"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionitem.c"
                 line="504">a #GtkSourceCompletionItem.</doc>
            <type name="CompletionItem" c:type="GtkSourceCompletionItem*"/>
          </instance-parameter>
          <parameter name="gicon"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionitem.c"
                 line="505">the #GIcon, or %NULL.</doc>
            <type name="Gio.Icon" c:type="GIcon*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_icon"
              c:identifier="gtk_source_completion_item_set_icon"
              glib:set-property="icon"
              version="3.24">
        <source-position filename="gtksourceview/gtksourcecompletionitem.h"
                         line="75"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionitem.c"
                 line="460">a #GtkSourceCompletionItem.</doc>
            <type name="CompletionItem" c:type="GtkSourceCompletionItem*"/>
          </instance-parameter>
          <parameter name="icon"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionitem.c"
                 line="461">the #GdkPixbuf, or %NULL.</doc>
            <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_icon_name"
              c:identifier="gtk_source_completion_item_set_icon_name"
              glib:set-property="icon-name"
              version="3.24">
        <source-position filename="gtksourceview/gtksourcecompletionitem.h"
                         line="79"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionitem.c"
                 line="481">a #GtkSourceCompletionItem.</doc>
            <type name="CompletionItem" c:type="GtkSourceCompletionItem*"/>
          </instance-parameter>
          <parameter name="icon_name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionitem.c"
                 line="482">the icon name, or %NULL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_info"
              c:identifier="gtk_source_completion_item_set_info"
              glib:set-property="info"
              version="3.24">
        <source-position filename="gtksourceview/gtksourcecompletionitem.h"
                         line="87"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionitem.c"
                 line="525">a #GtkSourceCompletionItem.</doc>
            <type name="CompletionItem" c:type="GtkSourceCompletionItem*"/>
          </instance-parameter>
          <parameter name="info"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionitem.c"
                 line="526">the info, or %NULL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_label"
              c:identifier="gtk_source_completion_item_set_label"
              glib:set-property="label"
              version="3.24">
        <source-position filename="gtksourceview/gtksourcecompletionitem.h"
                         line="63"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionitem.c"
                 line="391">a #GtkSourceCompletionItem.</doc>
            <type name="CompletionItem" c:type="GtkSourceCompletionItem*"/>
          </instance-parameter>
          <parameter name="label"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionitem.c"
                 line="392">the label, or %NULL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_markup"
              c:identifier="gtk_source_completion_item_set_markup"
              glib:set-property="markup"
              version="3.24">
        <source-position filename="gtksourceview/gtksourcecompletionitem.h"
                         line="67"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionitem.c"
                 line="414">a #GtkSourceCompletionItem.</doc>
            <type name="CompletionItem" c:type="GtkSourceCompletionItem*"/>
          </instance-parameter>
          <parameter name="markup"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionitem.c"
                 line="415">the markup, or %NULL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_text"
              c:identifier="gtk_source_completion_item_set_text"
              glib:set-property="text"
              version="3.24">
        <source-position filename="gtksourceview/gtksourcecompletionitem.h"
                         line="71"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionitem.c"
                 line="437">a #GtkSourceCompletionItem.</doc>
            <type name="CompletionItem" c:type="GtkSourceCompletionItem*"/>
          </instance-parameter>
          <parameter name="text"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionitem.c"
                 line="438">the text, or %NULL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <property name="gicon"
                version="3.18"
                writable="1"
                transfer-ownership="none"
                setter="set_gicon">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionitem.c"
             line="337">The #GIcon for the icon to be shown for this proposal.</doc>
        <type name="Gio.Icon"/>
      </property>
      <property name="icon"
                writable="1"
                transfer-ownership="none"
                setter="set_icon">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionitem.c"
             line="307">The #GdkPixbuf for the icon to be shown for this proposal.</doc>
        <type name="GdkPixbuf.Pixbuf"/>
      </property>
      <property name="icon-name"
                version="3.18"
                writable="1"
                transfer-ownership="none"
                setter="set_icon_name"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionitem.c"
             line="321">The icon name for the icon to be shown for this proposal.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="info"
                writable="1"
                transfer-ownership="none"
                setter="set_info"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionitem.c"
             line="353">Optional extra information to be shown for this proposal.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="label"
                writable="1"
                transfer-ownership="none"
                setter="set_label"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionitem.c"
             line="265">Label to be shown for this proposal.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="markup"
                writable="1"
                transfer-ownership="none"
                setter="set_markup"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionitem.c"
             line="279">Label with markup to be shown for this proposal.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="text"
                writable="1"
                transfer-ownership="none"
                setter="set_text"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionitem.c"
             line="293">Proposal text.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="CompletionItemPrivate"
              c:type="GtkSourceCompletionItemPrivate*"/>
      </field>
    </class>
    <record name="CompletionItemClass"
            c:type="GtkSourceCompletionItemClass"
            glib:is-gtype-struct-for="CompletionItem">
      <source-position filename="gtksourceview/gtksourcecompletionitem.h"
                       line="54"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="10">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="CompletionItemPrivate"
            c:type="GtkSourceCompletionItemPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gtksourceview/gtksourcecompletionitem.h"
                       line="42"/>
    </record>
    <record name="CompletionPrivate"
            c:type="GtkSourceCompletionPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gtksourceview/gtksourcecompletion.h"
                       line="53"/>
    </record>
    <interface name="CompletionProposal"
               c:symbol-prefix="completion_proposal"
               c:type="GtkSourceCompletionProposal"
               glib:type-name="GtkSourceCompletionProposal"
               glib:get-type="gtk_source_completion_proposal_get_type"
               glib:type-struct="CompletionProposalIface">
      <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                       line="88"/>
      <virtual-method name="changed" invoker="changed">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.c"
             line="326">Emits the "changed" signal on @proposal. This should be called by
implementations whenever the name, icon or info of the proposal has
changed.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                         line="87"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="328">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="equal" invoker="equal">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.c"
             line="305">Get whether two proposal objects are the same.  This is used to (together
with gtk_source_completion_proposal_hash()) to match proposals in the
completion model. By default, it uses direct equality (g_direct_equal()).</doc>
        <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                         line="83"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionproposal.c"
               line="314">%TRUE if @proposal and @object are the same proposal</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="307">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </instance-parameter>
          <parameter name="other" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="308">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_gicon" invoker="get_gicon" version="3.18">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.c"
             line="249">Gets the #GIcon for the icon of @proposal.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                         line="78"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionproposal.c"
               line="255">A #GIcon with the icon of @proposal.</doc>
          <type name="Gio.Icon" c:type="GIcon*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="251">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_icon" invoker="get_icon">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.c"
             line="215">Gets the #GdkPixbuf for the icon of @proposal.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                         line="76"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionproposal.c"
               line="221">A #GdkPixbuf with the icon of @proposal.</doc>
          <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="217">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_icon_name"
                      invoker="get_icon_name"
                      version="3.18">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.c"
             line="231">Gets the icon name of @proposal.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                         line="77"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionproposal.c"
               line="237">The icon name of @proposal.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="233">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_info" invoker="get_info">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.c"
             line="267">Gets extra information associated to the proposal. This information will be
used to present the user with extra, detailed information about the
selected proposal. The returned string must be freed with g_free().</doc>
        <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                         line="80"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionproposal.c"
               line="275">a newly-allocated string containing
extra information of @proposal or %NULL if no extra information is associated
to @proposal.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="269">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_label" invoker="get_label">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.c"
             line="156">Gets the label of @proposal. The label is shown in the list of proposals as
plain text. If you need any markup (such as bold or italic text), you have
to implement gtk_source_completion_proposal_get_markup(). The returned string
must be freed with g_free().</doc>
        <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                         line="72"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionproposal.c"
               line="165">a new string containing the label of @proposal.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="158">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_markup" invoker="get_markup">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.c"
             line="175">Gets the label of @proposal with markup. The label is shown in the list of
proposals and may contain markup. This will be used instead of
gtk_source_completion_proposal_get_label() if implemented. The returned string
must be freed with g_free().</doc>
        <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                         line="73"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionproposal.c"
               line="184">a new string containing the label of @proposal with markup.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="177">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_text" invoker="get_text">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.c"
             line="194">Gets the text of @proposal. The text that is inserted into
the text buffer when the proposal is activated by the default activation.
You are free to implement a custom activation handler in the provider and
not implement this function. For more information, see
gtk_source_completion_provider_activate_proposal(). The returned string must
be freed with g_free().</doc>
        <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                         line="74"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionproposal.c"
               line="205">a new string containing the text of @proposal.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="196">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="hash" invoker="hash">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.c"
             line="287">Get the hash value of @proposal. This is used to (together with
gtk_source_completion_proposal_equal()) to match proposals in the completion
model. By default, it uses a direct hash (g_direct_hash()).</doc>
        <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                         line="82"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionproposal.c"
               line="295">The hash value of @proposal.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="289">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <method name="changed"
              c:identifier="gtk_source_completion_proposal_changed">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.c"
             line="326">Emits the "changed" signal on @proposal. This should be called by
implementations whenever the name, icon or info of the proposal has
changed.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                         line="115"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="328">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="equal" c:identifier="gtk_source_completion_proposal_equal">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.c"
             line="305">Get whether two proposal objects are the same.  This is used to (together
with gtk_source_completion_proposal_hash()) to match proposals in the
completion model. By default, it uses direct equality (g_direct_equal()).</doc>
        <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                         line="121"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionproposal.c"
               line="314">%TRUE if @proposal and @object are the same proposal</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="307">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </instance-parameter>
          <parameter name="other" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="308">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_gicon"
              c:identifier="gtk_source_completion_proposal_get_gicon"
              version="3.18">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.c"
             line="249">Gets the #GIcon for the icon of @proposal.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                         line="109"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionproposal.c"
               line="255">A #GIcon with the icon of @proposal.</doc>
          <type name="Gio.Icon" c:type="GIcon*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="251">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_icon"
              c:identifier="gtk_source_completion_proposal_get_icon">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.c"
             line="215">Gets the #GdkPixbuf for the icon of @proposal.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                         line="103"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionproposal.c"
               line="221">A #GdkPixbuf with the icon of @proposal.</doc>
          <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="217">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_icon_name"
              c:identifier="gtk_source_completion_proposal_get_icon_name"
              version="3.18">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.c"
             line="231">Gets the icon name of @proposal.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                         line="106"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionproposal.c"
               line="237">The icon name of @proposal.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="233">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_info"
              c:identifier="gtk_source_completion_proposal_get_info">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.c"
             line="267">Gets extra information associated to the proposal. This information will be
used to present the user with extra, detailed information about the
selected proposal. The returned string must be freed with g_free().</doc>
        <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                         line="112"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionproposal.c"
               line="275">a newly-allocated string containing
extra information of @proposal or %NULL if no extra information is associated
to @proposal.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="269">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_label"
              c:identifier="gtk_source_completion_proposal_get_label">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.c"
             line="156">Gets the label of @proposal. The label is shown in the list of proposals as
plain text. If you need any markup (such as bold or italic text), you have
to implement gtk_source_completion_proposal_get_markup(). The returned string
must be freed with g_free().</doc>
        <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                         line="94"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionproposal.c"
               line="165">a new string containing the label of @proposal.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="158">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_markup"
              c:identifier="gtk_source_completion_proposal_get_markup">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.c"
             line="175">Gets the label of @proposal with markup. The label is shown in the list of
proposals and may contain markup. This will be used instead of
gtk_source_completion_proposal_get_label() if implemented. The returned string
must be freed with g_free().</doc>
        <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                         line="97"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionproposal.c"
               line="184">a new string containing the label of @proposal with markup.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="177">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_text"
              c:identifier="gtk_source_completion_proposal_get_text">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.c"
             line="194">Gets the text of @proposal. The text that is inserted into
the text buffer when the proposal is activated by the default activation.
You are free to implement a custom activation handler in the provider and
not implement this function. For more information, see
gtk_source_completion_provider_activate_proposal(). The returned string must
be freed with g_free().</doc>
        <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                         line="100"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionproposal.c"
               line="205">a new string containing the text of @proposal.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="196">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="hash" c:identifier="gtk_source_completion_proposal_hash">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.c"
             line="287">Get the hash value of @proposal. This is used to (together with
gtk_source_completion_proposal_equal()) to match proposals in the completion
model. By default, it uses a direct hash (g_direct_hash()).</doc>
        <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                         line="118"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionproposal.c"
               line="295">The hash value of @proposal.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="289">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </instance-parameter>
        </parameters>
      </method>
      <glib:signal name="changed" when="last" action="1">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.c"
             line="132">Emitted when the proposal has changed. The completion popup
will react to this by updating the shown information.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
    </interface>
    <record name="CompletionProposalIface"
            c:type="GtkSourceCompletionProposalIface"
            glib:is-gtype-struct-for="CompletionProposal">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcecompletionproposal.h"
           line="42">The virtual function table for #GtkSourceCompletionProposal.</doc>
      <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                       line="88"/>
      <field name="parent">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.h"
             line="44">The parent interface.</doc>
        <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
      </field>
      <field name="get_label">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.h"
             line="45">The virtual function pointer for gtk_source_completion_proposal_get_label().
By default, %NULL is returned.</doc>
        <callback name="get_label">
          <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                           line="72"/>
          <return-value transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="165">a new string containing the label of @proposal.</doc>
            <type name="utf8" c:type="gchar*"/>
          </return-value>
          <parameters>
            <parameter name="proposal" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionproposal.c"
                   line="158">a #GtkSourceCompletionProposal.</doc>
              <type name="CompletionProposal"
                    c:type="GtkSourceCompletionProposal*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_markup">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.h"
             line="47">The virtual function pointer for gtk_source_completion_proposal_get_markup().
By default, %NULL is returned.</doc>
        <callback name="get_markup">
          <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                           line="73"/>
          <return-value transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="184">a new string containing the label of @proposal with markup.</doc>
            <type name="utf8" c:type="gchar*"/>
          </return-value>
          <parameters>
            <parameter name="proposal" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionproposal.c"
                   line="177">a #GtkSourceCompletionProposal.</doc>
              <type name="CompletionProposal"
                    c:type="GtkSourceCompletionProposal*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_text">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.h"
             line="49">The virtual function pointer for gtk_source_completion_proposal_get_text().
By default, %NULL is returned.</doc>
        <callback name="get_text">
          <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                           line="74"/>
          <return-value transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="205">a new string containing the text of @proposal.</doc>
            <type name="utf8" c:type="gchar*"/>
          </return-value>
          <parameters>
            <parameter name="proposal" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionproposal.c"
                   line="196">a #GtkSourceCompletionProposal.</doc>
              <type name="CompletionProposal"
                    c:type="GtkSourceCompletionProposal*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_icon">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.h"
             line="51">The virtual function pointer for gtk_source_completion_proposal_get_icon().
By default, %NULL is returned.</doc>
        <callback name="get_icon">
          <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                           line="76"/>
          <return-value transfer-ownership="none" nullable="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="221">A #GdkPixbuf with the icon of @proposal.</doc>
            <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
          </return-value>
          <parameters>
            <parameter name="proposal" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionproposal.c"
                   line="217">a #GtkSourceCompletionProposal.</doc>
              <type name="CompletionProposal"
                    c:type="GtkSourceCompletionProposal*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_icon_name">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.h"
             line="53">The virtual function pointer for gtk_source_completion_proposal_get_icon_name().
By default, %NULL is returned.</doc>
        <callback name="get_icon_name">
          <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                           line="77"/>
          <return-value transfer-ownership="none" nullable="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="237">The icon name of @proposal.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </return-value>
          <parameters>
            <parameter name="proposal" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionproposal.c"
                   line="233">a #GtkSourceCompletionProposal.</doc>
              <type name="CompletionProposal"
                    c:type="GtkSourceCompletionProposal*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_gicon">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.h"
             line="55">The virtual function pointer for gtk_source_completion_proposal_get_gicon().
By default, %NULL is returned.</doc>
        <callback name="get_gicon">
          <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                           line="78"/>
          <return-value transfer-ownership="none" nullable="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="255">A #GIcon with the icon of @proposal.</doc>
            <type name="Gio.Icon" c:type="GIcon*"/>
          </return-value>
          <parameters>
            <parameter name="proposal" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionproposal.c"
                   line="251">a #GtkSourceCompletionProposal.</doc>
              <type name="CompletionProposal"
                    c:type="GtkSourceCompletionProposal*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_info">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.h"
             line="57">The virtual function pointer for gtk_source_completion_proposal_get_info().
By default, %NULL is returned.</doc>
        <callback name="get_info">
          <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                           line="80"/>
          <return-value transfer-ownership="full" nullable="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="275">a newly-allocated string containing
extra information of @proposal or %NULL if no extra information is associated
to @proposal.</doc>
            <type name="utf8" c:type="gchar*"/>
          </return-value>
          <parameters>
            <parameter name="proposal" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionproposal.c"
                   line="269">a #GtkSourceCompletionProposal.</doc>
              <type name="CompletionProposal"
                    c:type="GtkSourceCompletionProposal*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="hash">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.h"
             line="59">The virtual function pointer for gtk_source_completion_proposal_hash().
By default, it uses a direct hash (g_direct_hash()).</doc>
        <callback name="hash">
          <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                           line="82"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="295">The hash value of @proposal.</doc>
            <type name="guint" c:type="guint"/>
          </return-value>
          <parameters>
            <parameter name="proposal" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionproposal.c"
                   line="289">a #GtkSourceCompletionProposal.</doc>
              <type name="CompletionProposal"
                    c:type="GtkSourceCompletionProposal*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="equal">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.h"
             line="61">The virtual function pointer for gtk_source_completion_proposal_equal().
By default, it uses direct equality (g_direct_equal()).</doc>
        <callback name="equal">
          <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                           line="83"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionproposal.c"
                 line="314">%TRUE if @proposal and @object are the same proposal</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="proposal" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionproposal.c"
                   line="307">a #GtkSourceCompletionProposal.</doc>
              <type name="CompletionProposal"
                    c:type="GtkSourceCompletionProposal*"/>
            </parameter>
            <parameter name="other" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionproposal.c"
                   line="308">a #GtkSourceCompletionProposal.</doc>
              <type name="CompletionProposal"
                    c:type="GtkSourceCompletionProposal*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="changed">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionproposal.h"
             line="63">The function pointer for the #GtkSourceCompletionProposal::changed signal.</doc>
        <callback name="changed">
          <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                           line="87"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="proposal" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionproposal.c"
                   line="328">a #GtkSourceCompletionProposal.</doc>
              <type name="CompletionProposal"
                    c:type="GtkSourceCompletionProposal*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <interface name="CompletionProvider"
               c:symbol-prefix="completion_provider"
               c:type="GtkSourceCompletionProvider"
               glib:type-name="GtkSourceCompletionProvider"
               glib:get-type="gtk_source_completion_provider_get_type"
               glib:type-struct="CompletionProviderIface">
      <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                       line="109"/>
      <virtual-method name="activate_proposal" invoker="activate_proposal">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="390">Activate @proposal at @iter. When this functions returns %FALSE, the default
activation of @proposal will take place which replaces the word at @iter
with the text of @proposal (see gtk_source_completion_proposal_get_text()).

Here is how the default activation selects the boundaries of the word to
replace. The end of the word is @iter. For the start of the word, it depends
on whether a start iter is defined for @proposal (see
gtk_source_completion_provider_get_start_iter()). If a start iter is defined,
the start of the word is the start iter. Else, the word (as long as possible)
will contain only alphanumerical and the "_" characters.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="103"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionprovider.c"
               line="407">%TRUE to indicate that the proposal activation has been handled,
         %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="392">a #GtkSourceCompletionProvider.</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
          <parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="393">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </parameter>
          <parameter name="iter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="394">a #GtkTextIter.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_activation" invoker="get_activation">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="253">Get with what kind of activation the provider should be activated.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="91"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionprovider.c"
               line="259">a combination of #GtkSourceCompletionActivation.</doc>
          <type name="CompletionActivation"
                c:type="GtkSourceCompletionActivation"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="255">a #GtkSourceCompletionProvider.</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_gicon" invoker="get_gicon" version="3.18">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="217">Gets the #GIcon for the icon of @provider.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="82"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionprovider.c"
               line="223">The icon to be used for the provider,
         or %NULL if the provider does not have a special icon.</doc>
          <type name="Gio.Icon" c:type="GIcon*"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="219">The #GtkSourceCompletionProvider</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_icon" invoker="get_icon">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="181">Get the #GdkPixbuf for the icon of the @provider.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="80"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionprovider.c"
               line="187">The icon to be used for the provider,
         or %NULL if the provider does not have a special icon.</doc>
          <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="183">The #GtkSourceCompletionProvider</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_icon_name"
                      invoker="get_icon_name"
                      version="3.18">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="198">Gets the icon name of @provider.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="81"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionprovider.c"
               line="204">The icon name to be used for the provider,
         or %NULL if the provider does not have a special icon.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="200">The #GtkSourceCompletionProvider</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_info_widget" invoker="get_info_widget">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="289">Get a customized info widget to show extra information of a proposal.
This allows for customized widgets on a proposal basis, although in general
providers will have the same custom widget for all their proposals and
@proposal can be ignored. The implementation of this function is optional.

If this function is not implemented, the default widget is a #GtkLabel. The
return value of gtk_source_completion_proposal_get_info() is used as the
content of the #GtkLabel.

&lt;note&gt;
  &lt;para&gt;
    If implemented, gtk_source_completion_provider_update_info()
    &lt;emphasis&gt;must&lt;/emphasis&gt; also be implemented.
  &lt;/para&gt;
&lt;/note&gt;</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="93"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionprovider.c"
               line="310">a custom #GtkWidget to show extra
information about @proposal, or %NULL if the provider does not have a special
info widget.</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="291">a #GtkSourceCompletionProvider.</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
          <parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="292">a currently selected #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_interactive_delay"
                      invoker="get_interactive_delay">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="423">Get the delay in milliseconds before starting interactive completion for
this provider. A value of -1 indicates to use the default value as set
by the #GtkSourceCompletion:auto-complete-delay property.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="107"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionprovider.c"
               line="431">the interactive delay in milliseconds.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="425">a #GtkSourceCompletionProvider.</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_name" invoker="get_name">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="163">Get the name of the provider. This should be a translatable name for
display to the user. For example: _("Document word completion provider"). The
returned string must be freed with g_free().</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="78"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionprovider.c"
               line="171">a new string containing the name of the provider.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="165">a #GtkSourceCompletionProvider.</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_priority" invoker="get_priority">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="441">Get the provider priority. The priority determines the order in which
proposals appear in the completion popup. Higher priorities are sorted
before lower priorities. The default priority is 0.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="108"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionprovider.c"
               line="449">the provider priority.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="443">a #GtkSourceCompletionProvider.</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_start_iter" invoker="get_start_iter">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="351">Get the #GtkTextIter at which the completion for @proposal starts. When
implemented, this information is used to position the completion window
accordingly when a proposal is selected in the completion window. The
@proposal text inside the completion window is aligned on @iter.

If this function is not implemented, the word boundary is taken to position
the completion window. See gtk_source_completion_provider_activate_proposal()
for an explanation on the word boundaries.

When the @proposal is activated, the default handler uses @iter as the start
of the word to replace. See
gtk_source_completion_provider_activate_proposal() for more information.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="99"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionprovider.c"
               line="371">%TRUE if @iter was set for @proposal, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="353">a #GtkSourceCompletionProvider.</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
          <parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="355">a #GtkSourceCompletionContext.</doc>
            <type name="CompletionContext"
                  c:type="GtkSourceCompletionContext*"/>
          </parameter>
          <parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="354">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </parameter>
          <parameter name="iter"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="356">a #GtkTextIter.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="match" invoker="match">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="269">Get whether the provider match the context of completion detailed in
@context.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="87"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionprovider.c"
               line="277">%TRUE if @provider matches the completion context, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="271">a #GtkSourceCompletionProvider.</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
          <parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="272">a #GtkSourceCompletionContext.</doc>
            <type name="CompletionContext"
                  c:type="GtkSourceCompletionContext*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="populate" invoker="populate">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="236">Populate @context with proposals from @provider added with the
gtk_source_completion_context_add_proposals() function.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="84"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="238">a #GtkSourceCompletionProvider.</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
          <parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="239">a #GtkSourceCompletionContext.</doc>
            <type name="CompletionContext"
                  c:type="GtkSourceCompletionContext*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="update_info" invoker="update_info">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="324">Update extra information shown in @info for @proposal.

&lt;note&gt;
  &lt;para&gt;
    This function &lt;emphasis&gt;must&lt;/emphasis&gt; be implemented when
    gtk_source_completion_provider_get_info_widget() is implemented.
  &lt;/para&gt;
&lt;/note&gt;</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="95"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="326">a #GtkSourceCompletionProvider.</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
          <parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="327">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </parameter>
          <parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="328">a #GtkSourceCompletionInfo.</doc>
            <type name="CompletionInfo" c:type="GtkSourceCompletionInfo*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="activate_proposal"
              c:identifier="gtk_source_completion_provider_activate_proposal">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="390">Activate @proposal at @iter. When this functions returns %FALSE, the default
activation of @proposal will take place which replaces the word at @iter
with the text of @proposal (see gtk_source_completion_proposal_get_text()).

Here is how the default activation selects the boundaries of the word to
replace. The end of the word is @iter. For the start of the word, it depends
on whether a start iter is defined for @proposal (see
gtk_source_completion_provider_get_start_iter()). If a start iter is defined,
the start of the word is the start iter. Else, the word (as long as possible)
will contain only alphanumerical and the "_" characters.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="154"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionprovider.c"
               line="407">%TRUE to indicate that the proposal activation has been handled,
         %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="392">a #GtkSourceCompletionProvider.</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
          <parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="393">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </parameter>
          <parameter name="iter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="394">a #GtkTextIter.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_activation"
              c:identifier="gtk_source_completion_provider_get_activation">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="253">Get with what kind of activation the provider should be activated.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="132"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionprovider.c"
               line="259">a combination of #GtkSourceCompletionActivation.</doc>
          <type name="CompletionActivation"
                c:type="GtkSourceCompletionActivation"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="255">a #GtkSourceCompletionProvider.</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_gicon"
              c:identifier="gtk_source_completion_provider_get_gicon"
              version="3.18">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="217">Gets the #GIcon for the icon of @provider.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="124"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionprovider.c"
               line="223">The icon to be used for the provider,
         or %NULL if the provider does not have a special icon.</doc>
          <type name="Gio.Icon" c:type="GIcon*"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="219">The #GtkSourceCompletionProvider</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_icon"
              c:identifier="gtk_source_completion_provider_get_icon">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="181">Get the #GdkPixbuf for the icon of the @provider.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="118"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionprovider.c"
               line="187">The icon to be used for the provider,
         or %NULL if the provider does not have a special icon.</doc>
          <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="183">The #GtkSourceCompletionProvider</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_icon_name"
              c:identifier="gtk_source_completion_provider_get_icon_name"
              version="3.18">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="198">Gets the icon name of @provider.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="121"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionprovider.c"
               line="204">The icon name to be used for the provider,
         or %NULL if the provider does not have a special icon.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="200">The #GtkSourceCompletionProvider</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_info_widget"
              c:identifier="gtk_source_completion_provider_get_info_widget">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="289">Get a customized info widget to show extra information of a proposal.
This allows for customized widgets on a proposal basis, although in general
providers will have the same custom widget for all their proposals and
@proposal can be ignored. The implementation of this function is optional.

If this function is not implemented, the default widget is a #GtkLabel. The
return value of gtk_source_completion_proposal_get_info() is used as the
content of the #GtkLabel.

&lt;note&gt;
  &lt;para&gt;
    If implemented, gtk_source_completion_provider_update_info()
    &lt;emphasis&gt;must&lt;/emphasis&gt; also be implemented.
  &lt;/para&gt;
&lt;/note&gt;</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="139"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionprovider.c"
               line="310">a custom #GtkWidget to show extra
information about @proposal, or %NULL if the provider does not have a special
info widget.</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="291">a #GtkSourceCompletionProvider.</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
          <parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="292">a currently selected #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_interactive_delay"
              c:identifier="gtk_source_completion_provider_get_interactive_delay">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="423">Get the delay in milliseconds before starting interactive completion for
this provider. A value of -1 indicates to use the default value as set
by the #GtkSourceCompletion:auto-complete-delay property.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="159"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionprovider.c"
               line="431">the interactive delay in milliseconds.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="425">a #GtkSourceCompletionProvider.</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name"
              c:identifier="gtk_source_completion_provider_get_name">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="163">Get the name of the provider. This should be a translatable name for
display to the user. For example: _("Document word completion provider"). The
returned string must be freed with g_free().</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="115"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionprovider.c"
               line="171">a new string containing the name of the provider.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="165">a #GtkSourceCompletionProvider.</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_priority"
              c:identifier="gtk_source_completion_provider_get_priority">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="441">Get the provider priority. The priority determines the order in which
proposals appear in the completion popup. Higher priorities are sorted
before lower priorities. The default priority is 0.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="162"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionprovider.c"
               line="449">the provider priority.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="443">a #GtkSourceCompletionProvider.</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_start_iter"
              c:identifier="gtk_source_completion_provider_get_start_iter">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="351">Get the #GtkTextIter at which the completion for @proposal starts. When
implemented, this information is used to position the completion window
accordingly when a proposal is selected in the completion window. The
@proposal text inside the completion window is aligned on @iter.

If this function is not implemented, the word boundary is taken to position
the completion window. See gtk_source_completion_provider_activate_proposal()
for an explanation on the word boundaries.

When the @proposal is activated, the default handler uses @iter as the start
of the word to replace. See
gtk_source_completion_provider_activate_proposal() for more information.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="148"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionprovider.c"
               line="371">%TRUE if @iter was set for @proposal, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="353">a #GtkSourceCompletionProvider.</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
          <parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="355">a #GtkSourceCompletionContext.</doc>
            <type name="CompletionContext"
                  c:type="GtkSourceCompletionContext*"/>
          </parameter>
          <parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="354">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </parameter>
          <parameter name="iter"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="356">a #GtkTextIter.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
        </parameters>
      </method>
      <method name="match" c:identifier="gtk_source_completion_provider_match">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="269">Get whether the provider match the context of completion detailed in
@context.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="135"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcecompletionprovider.c"
               line="277">%TRUE if @provider matches the completion context, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="271">a #GtkSourceCompletionProvider.</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
          <parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="272">a #GtkSourceCompletionContext.</doc>
            <type name="CompletionContext"
                  c:type="GtkSourceCompletionContext*"/>
          </parameter>
        </parameters>
      </method>
      <method name="populate"
              c:identifier="gtk_source_completion_provider_populate">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="236">Populate @context with proposals from @provider added with the
gtk_source_completion_context_add_proposals() function.</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="127"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="238">a #GtkSourceCompletionProvider.</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
          <parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="239">a #GtkSourceCompletionContext.</doc>
            <type name="CompletionContext"
                  c:type="GtkSourceCompletionContext*"/>
          </parameter>
        </parameters>
      </method>
      <method name="update_info"
              c:identifier="gtk_source_completion_provider_update_info">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.c"
             line="324">Update extra information shown in @info for @proposal.

&lt;note&gt;
  &lt;para&gt;
    This function &lt;emphasis&gt;must&lt;/emphasis&gt; be implemented when
    gtk_source_completion_provider_get_info_widget() is implemented.
  &lt;/para&gt;
&lt;/note&gt;</doc>
        <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                         line="143"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="provider" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="326">a #GtkSourceCompletionProvider.</doc>
            <type name="CompletionProvider"
                  c:type="GtkSourceCompletionProvider*"/>
          </instance-parameter>
          <parameter name="proposal" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="327">a #GtkSourceCompletionProposal.</doc>
            <type name="CompletionProposal"
                  c:type="GtkSourceCompletionProposal*"/>
          </parameter>
          <parameter name="info" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="328">a #GtkSourceCompletionInfo.</doc>
            <type name="CompletionInfo" c:type="GtkSourceCompletionInfo*"/>
          </parameter>
        </parameters>
      </method>
    </interface>
    <record name="CompletionProviderIface"
            c:type="GtkSourceCompletionProviderIface"
            glib:is-gtype-struct-for="CompletionProvider">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcecompletionprovider.h"
           line="42">The virtual function table for #GtkSourceCompletionProvider.</doc>
      <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                       line="109"/>
      <field name="g_iface">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.h"
             line="44">The parent interface.</doc>
        <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
      </field>
      <field name="get_name">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.h"
             line="45">The virtual function pointer for gtk_source_completion_provider_get_name().
Must be implemented.</doc>
        <callback name="get_name">
          <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                           line="78"/>
          <return-value transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="171">a new string containing the name of the provider.</doc>
            <type name="utf8" c:type="gchar*"/>
          </return-value>
          <parameters>
            <parameter name="provider" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionprovider.c"
                   line="165">a #GtkSourceCompletionProvider.</doc>
              <type name="CompletionProvider"
                    c:type="GtkSourceCompletionProvider*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_icon">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.h"
             line="47">The virtual function pointer for gtk_source_completion_provider_get_icon().
By default, %NULL is returned.</doc>
        <callback name="get_icon">
          <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                           line="80"/>
          <return-value transfer-ownership="none" nullable="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="187">The icon to be used for the provider,
         or %NULL if the provider does not have a special icon.</doc>
            <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
          </return-value>
          <parameters>
            <parameter name="provider" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionprovider.c"
                   line="183">The #GtkSourceCompletionProvider</doc>
              <type name="CompletionProvider"
                    c:type="GtkSourceCompletionProvider*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_icon_name">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.h"
             line="49">The virtual function pointer for gtk_source_completion_provider_get_icon_name().
By default, %NULL is returned.</doc>
        <callback name="get_icon_name">
          <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                           line="81"/>
          <return-value transfer-ownership="none" nullable="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="204">The icon name to be used for the provider,
         or %NULL if the provider does not have a special icon.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </return-value>
          <parameters>
            <parameter name="provider" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionprovider.c"
                   line="200">The #GtkSourceCompletionProvider</doc>
              <type name="CompletionProvider"
                    c:type="GtkSourceCompletionProvider*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_gicon">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.h"
             line="51">The virtual function pointer for gtk_source_completion_provider_get_gicon().
By default, %NULL is returned.</doc>
        <callback name="get_gicon">
          <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                           line="82"/>
          <return-value transfer-ownership="none" nullable="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="223">The icon to be used for the provider,
         or %NULL if the provider does not have a special icon.</doc>
            <type name="Gio.Icon" c:type="GIcon*"/>
          </return-value>
          <parameters>
            <parameter name="provider" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionprovider.c"
                   line="219">The #GtkSourceCompletionProvider</doc>
              <type name="CompletionProvider"
                    c:type="GtkSourceCompletionProvider*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="populate">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.h"
             line="53">The virtual function pointer for gtk_source_completion_provider_populate().
Add no proposals by default.</doc>
        <callback name="populate">
          <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                           line="84"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="provider" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionprovider.c"
                   line="238">a #GtkSourceCompletionProvider.</doc>
              <type name="CompletionProvider"
                    c:type="GtkSourceCompletionProvider*"/>
            </parameter>
            <parameter name="context" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionprovider.c"
                   line="239">a #GtkSourceCompletionContext.</doc>
              <type name="CompletionContext"
                    c:type="GtkSourceCompletionContext*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="match">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.h"
             line="55">The virtual function pointer for gtk_source_completion_provider_match().
By default, %TRUE is returned.</doc>
        <callback name="match">
          <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                           line="87"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="277">%TRUE if @provider matches the completion context, %FALSE otherwise.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="provider" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionprovider.c"
                   line="271">a #GtkSourceCompletionProvider.</doc>
              <type name="CompletionProvider"
                    c:type="GtkSourceCompletionProvider*"/>
            </parameter>
            <parameter name="context" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionprovider.c"
                   line="272">a #GtkSourceCompletionContext.</doc>
              <type name="CompletionContext"
                    c:type="GtkSourceCompletionContext*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_activation">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.h"
             line="57">The virtual function pointer for gtk_source_completion_provider_get_activation().
The combination of all #GtkSourceCompletionActivation is returned by default.</doc>
        <callback name="get_activation">
          <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                           line="91"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="259">a combination of #GtkSourceCompletionActivation.</doc>
            <type name="CompletionActivation"
                  c:type="GtkSourceCompletionActivation"/>
          </return-value>
          <parameters>
            <parameter name="provider" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionprovider.c"
                   line="255">a #GtkSourceCompletionProvider.</doc>
              <type name="CompletionProvider"
                    c:type="GtkSourceCompletionProvider*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_info_widget">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.h"
             line="59">The virtual function pointer for gtk_source_completion_provider_get_info_widget().
By default, %NULL is returned.</doc>
        <callback name="get_info_widget">
          <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                           line="93"/>
          <return-value transfer-ownership="none" nullable="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="310">a custom #GtkWidget to show extra
information about @proposal, or %NULL if the provider does not have a special
info widget.</doc>
            <type name="Gtk.Widget" c:type="GtkWidget*"/>
          </return-value>
          <parameters>
            <parameter name="provider" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionprovider.c"
                   line="291">a #GtkSourceCompletionProvider.</doc>
              <type name="CompletionProvider"
                    c:type="GtkSourceCompletionProvider*"/>
            </parameter>
            <parameter name="proposal" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionprovider.c"
                   line="292">a currently selected #GtkSourceCompletionProposal.</doc>
              <type name="CompletionProposal"
                    c:type="GtkSourceCompletionProposal*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="update_info">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.h"
             line="61">The virtual function pointer for gtk_source_completion_provider_update_info().
Does nothing by default.</doc>
        <callback name="update_info">
          <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                           line="95"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="provider" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionprovider.c"
                   line="326">a #GtkSourceCompletionProvider.</doc>
              <type name="CompletionProvider"
                    c:type="GtkSourceCompletionProvider*"/>
            </parameter>
            <parameter name="proposal" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionprovider.c"
                   line="327">a #GtkSourceCompletionProposal.</doc>
              <type name="CompletionProposal"
                    c:type="GtkSourceCompletionProposal*"/>
            </parameter>
            <parameter name="info" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionprovider.c"
                   line="328">a #GtkSourceCompletionInfo.</doc>
              <type name="CompletionInfo" c:type="GtkSourceCompletionInfo*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_start_iter">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.h"
             line="63">The virtual function pointer for gtk_source_completion_provider_get_start_iter().
By default, %FALSE is returned.</doc>
        <callback name="get_start_iter">
          <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                           line="99"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="371">%TRUE if @iter was set for @proposal, %FALSE otherwise.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="provider" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionprovider.c"
                   line="353">a #GtkSourceCompletionProvider.</doc>
              <type name="CompletionProvider"
                    c:type="GtkSourceCompletionProvider*"/>
            </parameter>
            <parameter name="context" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionprovider.c"
                   line="355">a #GtkSourceCompletionContext.</doc>
              <type name="CompletionContext"
                    c:type="GtkSourceCompletionContext*"/>
            </parameter>
            <parameter name="proposal" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionprovider.c"
                   line="354">a #GtkSourceCompletionProposal.</doc>
              <type name="CompletionProposal"
                    c:type="GtkSourceCompletionProposal*"/>
            </parameter>
            <parameter name="iter"
                       direction="out"
                       caller-allocates="1"
                       transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionprovider.c"
                   line="356">a #GtkTextIter.</doc>
              <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="activate_proposal">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.h"
             line="65">The virtual function pointer for gtk_source_completion_provider_activate_proposal().
By default, %FALSE is returned.</doc>
        <callback name="activate_proposal">
          <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                           line="103"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="407">%TRUE to indicate that the proposal activation has been handled,
         %FALSE otherwise.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="provider" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionprovider.c"
                   line="392">a #GtkSourceCompletionProvider.</doc>
              <type name="CompletionProvider"
                    c:type="GtkSourceCompletionProvider*"/>
            </parameter>
            <parameter name="proposal" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionprovider.c"
                   line="393">a #GtkSourceCompletionProposal.</doc>
              <type name="CompletionProposal"
                    c:type="GtkSourceCompletionProposal*"/>
            </parameter>
            <parameter name="iter" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionprovider.c"
                   line="394">a #GtkTextIter.</doc>
              <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_interactive_delay">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.h"
             line="67">The virtual function pointer for gtk_source_completion_provider_get_interactive_delay().
By default, -1 is returned.</doc>
        <callback name="get_interactive_delay">
          <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                           line="107"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="431">the interactive delay in milliseconds.</doc>
            <type name="gint" c:type="gint"/>
          </return-value>
          <parameters>
            <parameter name="provider" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionprovider.c"
                   line="425">a #GtkSourceCompletionProvider.</doc>
              <type name="CompletionProvider"
                    c:type="GtkSourceCompletionProvider*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_priority">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcecompletionprovider.h"
             line="69">The virtual function pointer for gtk_source_completion_provider_get_priority().
By default, 0 is returned.</doc>
        <callback name="get_priority">
          <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                           line="108"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcecompletionprovider.c"
                 line="449">the provider priority.</doc>
            <type name="gint" c:type="gint"/>
          </return-value>
          <parameters>
            <parameter name="provider" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcecompletionprovider.c"
                   line="443">a #GtkSourceCompletionProvider.</doc>
              <type name="CompletionProvider"
                    c:type="GtkSourceCompletionProvider*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <class name="CompletionWords"
           c:symbol-prefix="completion_words"
           c:type="GtkSourceCompletionWords"
           parent="GObject.Object"
           glib:type-name="GtkSourceCompletionWords"
           glib:get-type="gtk_source_completion_words_get_type"
           glib:type-struct="CompletionWordsClass">
      <source-position filename="gtksourceview/completion-providers/words/gtksourcecompletionwords.h"
                       line="52"/>
      <implements name="CompletionProvider"/>
      <constructor name="new" c:identifier="gtk_source_completion_words_new">
        <source-position filename="gtksourceview/completion-providers/words/gtksourcecompletionwords.h"
                         line="59"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/completion-providers/words/gtksourcecompletionwords.c"
               line="575">a new #GtkSourceCompletionWords provider</doc>
          <type name="CompletionWords" c:type="GtkSourceCompletionWords*"/>
        </return-value>
        <parameters>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/completion-providers/words/gtksourcecompletionwords.c"
                 line="572">The name for the provider, or %NULL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="icon"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/completion-providers/words/gtksourcecompletionwords.c"
                 line="573">A specific icon for the provider, or %NULL.</doc>
            <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="register"
              c:identifier="gtk_source_completion_words_register">
        <doc xml:space="preserve"
             filename="gtksourceview/completion-providers/words/gtksourcecompletionwords.c"
             line="596">Registers @buffer in the @words provider.</doc>
        <source-position filename="gtksourceview/completion-providers/words/gtksourcecompletionwords.h"
                         line="63"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="words" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/completion-providers/words/gtksourcecompletionwords.c"
                 line="598">a #GtkSourceCompletionWords</doc>
            <type name="CompletionWords" c:type="GtkSourceCompletionWords*"/>
          </instance-parameter>
          <parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/completion-providers/words/gtksourcecompletionwords.c"
                 line="599">a #GtkTextBuffer</doc>
            <type name="Gtk.TextBuffer" c:type="GtkTextBuffer*"/>
          </parameter>
        </parameters>
      </method>
      <method name="unregister"
              c:identifier="gtk_source_completion_words_unregister">
        <doc xml:space="preserve"
             filename="gtksourceview/completion-providers/words/gtksourcecompletionwords.c"
             line="642">Unregisters @buffer from the @words provider.</doc>
        <source-position filename="gtksourceview/completion-providers/words/gtksourcecompletionwords.h"
                         line="67"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="words" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/completion-providers/words/gtksourcecompletionwords.c"
                 line="644">a #GtkSourceCompletionWords</doc>
            <type name="CompletionWords" c:type="GtkSourceCompletionWords*"/>
          </instance-parameter>
          <parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/completion-providers/words/gtksourcecompletionwords.c"
                 line="645">a #GtkTextBuffer</doc>
            <type name="Gtk.TextBuffer" c:type="GtkTextBuffer*"/>
          </parameter>
        </parameters>
      </method>
      <property name="activation"
                version="3.10"
                writable="1"
                construct="1"
                transfer-ownership="none"
                default-value="GTK_SOURCE_COMPLETION_ACTIVATION_INTERACTIVE | GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED">
        <doc xml:space="preserve"
             filename="gtksourceview/completion-providers/words/gtksourcecompletionwords.c"
             line="489">The type of activation.</doc>
        <type name="CompletionActivation"/>
      </property>
      <property name="icon"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <type name="GdkPixbuf.Pixbuf"/>
      </property>
      <property name="interactive-delay"
                writable="1"
                construct="1"
                transfer-ownership="none"
                default-value="50">
        <type name="gint" c:type="gint"/>
      </property>
      <property name="minimum-word-size"
                writable="1"
                construct="1"
                transfer-ownership="none"
                default-value="2">
        <type name="guint" c:type="guint"/>
      </property>
      <property name="name"
                writable="1"
                construct="1"
                transfer-ownership="none"
                default-value="NULL">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="priority"
                writable="1"
                construct="1"
                transfer-ownership="none"
                default-value="0">
        <type name="gint" c:type="gint"/>
      </property>
      <property name="proposals-batch-size"
                writable="1"
                construct="1"
                transfer-ownership="none"
                default-value="300">
        <type name="guint" c:type="guint"/>
      </property>
      <property name="scan-batch-size"
                writable="1"
                construct="1"
                transfer-ownership="none"
                default-value="50">
        <type name="guint" c:type="guint"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="CompletionWordsPrivate"
              c:type="GtkSourceCompletionWordsPrivate*"/>
      </field>
    </class>
    <record name="CompletionWordsClass"
            c:type="GtkSourceCompletionWordsClass"
            glib:is-gtype-struct-for="CompletionWords">
      <source-position filename="gtksourceview/completion-providers/words/gtksourcecompletionwords.h"
                       line="52"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <record name="CompletionWordsPrivate"
            c:type="GtkSourceCompletionWordsPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gtksourceview/completion-providers/words/gtksourcecompletionwords.h"
                       line="42"/>
    </record>
    <enumeration name="CompressionType"
                 version="3.14"
                 glib:type-name="GtkSourceCompressionType"
                 glib:get-type="gtk_source_compression_type_get_type"
                 c:type="GtkSourceCompressionType">
      <member name="none"
              value="0"
              c:identifier="GTK_SOURCE_COMPRESSION_TYPE_NONE"
              glib:nick="none"
              glib:name="GTK_SOURCE_COMPRESSION_TYPE_NONE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefile.h"
             line="74">plain text.</doc>
      </member>
      <member name="gzip"
              value="1"
              c:identifier="GTK_SOURCE_COMPRESSION_TYPE_GZIP"
              glib:nick="gzip"
              glib:name="GTK_SOURCE_COMPRESSION_TYPE_GZIP">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefile.h"
             line="75">gzip compression.</doc>
      </member>
    </enumeration>
    <record name="Encoding"
            c:type="GtkSourceEncoding"
            opaque="1"
            glib:type-name="GtkSourceEncoding"
            glib:get-type="gtk_source_encoding_get_type"
            c:symbol-prefix="encoding">
      <source-position filename="gtksourceview/gtksourcetypes.h" line="45"/>
      <method name="copy"
              c:identifier="gtk_source_encoding_copy"
              version="3.14">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceencoding.c"
             line="688">Used by language bindings.</doc>
        <source-position filename="gtksourceview/gtksourceencoding.h"
                         line="67"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceencoding.c"
               line="694">a copy of @enc.</doc>
          <type name="Encoding" c:type="GtkSourceEncoding*"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceencoding.c"
                 line="690">a #GtkSourceEncoding.</doc>
            <type name="Encoding" c:type="const GtkSourceEncoding*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="free"
              c:identifier="gtk_source_encoding_free"
              version="3.14">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceencoding.c"
             line="705">Used by language bindings.</doc>
        <source-position filename="gtksourceview/gtksourceencoding.h"
                         line="70"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceencoding.c"
                 line="707">a #GtkSourceEncoding.</doc>
            <type name="Encoding" c:type="GtkSourceEncoding*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_charset"
              c:identifier="gtk_source_encoding_get_charset"
              version="3.14">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceencoding.c"
             line="456">Gets the character set of the #GtkSourceEncoding, such as "UTF-8" or
"ISO-8859-1".</doc>
        <source-position filename="gtksourceview/gtksourceencoding.h"
                         line="50"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceencoding.c"
               line="463">the character set of the #GtkSourceEncoding.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceencoding.c"
                 line="458">a #GtkSourceEncoding.</doc>
            <type name="Encoding" c:type="const GtkSourceEncoding*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name"
              c:identifier="gtk_source_encoding_get_name"
              version="3.14">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceencoding.c"
             line="478">Gets the name of the #GtkSourceEncoding such as "Unicode" or "Western".</doc>
        <source-position filename="gtksourceview/gtksourceencoding.h"
                         line="47"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceencoding.c"
               line="484">the name of the #GtkSourceEncoding.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceencoding.c"
                 line="480">a #GtkSourceEncoding.</doc>
            <type name="Encoding" c:type="const GtkSourceEncoding*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="to_string"
              c:identifier="gtk_source_encoding_to_string"
              version="3.14">
        <source-position filename="gtksourceview/gtksourceencoding.h"
                         line="44"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceencoding.c"
               line="430">a string representation. Free with g_free() when no longer needed.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="enc" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceencoding.c"
                 line="428">a #GtkSourceEncoding.</doc>
            <type name="Encoding" c:type="const GtkSourceEncoding*"/>
          </instance-parameter>
        </parameters>
      </method>
      <function name="get_all"
                c:identifier="gtk_source_encoding_get_all"
                version="3.14">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceencoding.c"
             line="347">Gets all encodings.</doc>
        <source-position filename="gtksourceview/gtksourceencoding.h"
                         line="59"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceencoding.c"
               line="352">a list of
all #GtkSourceEncoding's. Free with g_slist_free().</doc>
          <type name="GLib.SList" c:type="GSList*">
            <type name="Encoding"/>
          </type>
        </return-value>
      </function>
      <function name="get_current"
                c:identifier="gtk_source_encoding_get_current"
                version="3.14">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceencoding.c"
             line="384">Gets the #GtkSourceEncoding for the current locale. See also g_get_charset().</doc>
        <source-position filename="gtksourceview/gtksourceencoding.h"
                         line="56"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceencoding.c"
               line="389">the current locale encoding.</doc>
          <type name="Encoding" c:type="const GtkSourceEncoding*"/>
        </return-value>
      </function>
      <function name="get_default_candidates"
                c:identifier="gtk_source_encoding_get_default_candidates"
                version="3.18">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceencoding.c"
             line="600">Gets the list of default candidate encodings to try when loading a file. See
gtk_source_file_loader_set_candidate_encodings().

This function returns a different list depending on the current locale (i.e.
language, country and default encoding). The UTF-8 encoding and the current
locale encoding are guaranteed to be present in the returned list.</doc>
        <source-position filename="gtksourceview/gtksourceencoding.h"
                         line="62"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceencoding.c"
               line="610">the list of
default candidate encodings. Free with g_slist_free().</doc>
          <type name="GLib.SList" c:type="GSList*">
            <type name="Encoding"/>
          </type>
        </return-value>
      </function>
      <function name="get_from_charset"
                c:identifier="gtk_source_encoding_get_from_charset"
                version="3.14">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceencoding.c"
             line="305">Gets a #GtkSourceEncoding from a character set such as "UTF-8" or
"ISO-8859-1".</doc>
        <source-position filename="gtksourceview/gtksourceencoding.h"
                         line="41"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceencoding.c"
               line="312">the corresponding #GtkSourceEncoding, or %NULL
if not found.</doc>
          <type name="Encoding" c:type="const GtkSourceEncoding*"/>
        </return-value>
        <parameters>
          <parameter name="charset" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceencoding.c"
                 line="307">a character set.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="get_utf8"
                c:identifier="gtk_source_encoding_get_utf8"
                version="3.14">
        <source-position filename="gtksourceview/gtksourceencoding.h"
                         line="53"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceencoding.c"
               line="375">the UTF-8 encoding.</doc>
          <type name="Encoding" c:type="const GtkSourceEncoding*"/>
        </return-value>
      </function>
    </record>
    <function-macro name="FILE"
                    c:identifier="GTK_SOURCE_FILE"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcefile.h" line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="FILE_CLASS"
                    c:identifier="GTK_SOURCE_FILE_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcefile.h" line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="FILE_GET_CLASS"
                    c:identifier="GTK_SOURCE_FILE_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcefile.h" line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="FILE_LOADER"
                    c:identifier="GTK_SOURCE_FILE_LOADER"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcefileloader.h"
                       line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="FILE_LOADER_CLASS"
                    c:identifier="GTK_SOURCE_FILE_LOADER_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcefileloader.h"
                       line="39"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="FILE_LOADER_GET_CLASS"
                    c:identifier="GTK_SOURCE_FILE_LOADER_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcefileloader.h"
                       line="42"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="FILE_SAVER"
                    c:identifier="GTK_SOURCE_FILE_SAVER"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcefilesaver.h"
                       line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="FILE_SAVER_CLASS"
                    c:identifier="GTK_SOURCE_FILE_SAVER_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcefilesaver.h"
                       line="39"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="FILE_SAVER_GET_CLASS"
                    c:identifier="GTK_SOURCE_FILE_SAVER_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcefilesaver.h"
                       line="42"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <class name="File"
           c:symbol-prefix="file"
           c:type="GtkSourceFile"
           parent="GObject.Object"
           glib:type-name="GtkSourceFile"
           glib:get-type="gtk_source_file_get_type"
           glib:type-struct="FileClass">
      <source-position filename="gtksourceview/gtksourcefile.h" line="110"/>
      <constructor name="new"
                   c:identifier="gtk_source_file_new"
                   version="3.14">
        <source-position filename="gtksourceview/gtksourcefile.h" line="116"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefile.c"
               line="267">a new #GtkSourceFile object.</doc>
          <type name="File" c:type="GtkSourceFile*"/>
        </return-value>
      </constructor>
      <method name="check_file_on_disk"
              c:identifier="gtk_source_file_check_file_on_disk"
              version="3.18">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefile.c"
             line="507">Checks synchronously the file on disk, to know whether the file is externally
modified, or has been deleted, and whether the file is read-only.

#GtkSourceFile doesn't create a #GFileMonitor to track those properties, so
this function needs to be called instead. Creating lots of #GFileMonitor's
would take lots of resources.

Since this function is synchronous, it is advised to call it only on local
files. See gtk_source_file_is_local().</doc>
        <source-position filename="gtksourceview/gtksourcefile.h" line="144"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefile.c"
                 line="509">a #GtkSourceFile.</doc>
            <type name="File" c:type="GtkSourceFile*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_compression_type"
              c:identifier="gtk_source_file_get_compression_type"
              glib:get-property="compression-type"
              version="3.14">
        <source-position filename="gtksourceview/gtksourcefile.h" line="135"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefile.c"
               line="395">the compression type.</doc>
          <type name="CompressionType" c:type="GtkSourceCompressionType"/>
        </return-value>
        <parameters>
          <instance-parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefile.c"
                 line="393">a #GtkSourceFile.</doc>
            <type name="File" c:type="GtkSourceFile*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_encoding"
              c:identifier="gtk_source_file_get_encoding"
              glib:get-property="encoding"
              version="3.14">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefile.c"
             line="332">The encoding is initially %NULL. After a successful file loading or saving
operation, the encoding is non-%NULL.</doc>
        <source-position filename="gtksourceview/gtksourcefile.h" line="127"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefile.c"
               line="339">the character encoding.</doc>
          <type name="Encoding" c:type="const GtkSourceEncoding*"/>
        </return-value>
        <parameters>
          <instance-parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefile.c"
                 line="334">a #GtkSourceFile.</doc>
            <type name="File" c:type="GtkSourceFile*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_location"
              c:identifier="gtk_source_file_get_location"
              glib:get-property="location"
              version="3.14">
        <source-position filename="gtksourceview/gtksourcefile.h" line="119"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefile.c"
               line="308">the #GFile.</doc>
          <type name="Gio.File" c:type="GFile*"/>
        </return-value>
        <parameters>
          <instance-parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefile.c"
                 line="306">a #GtkSourceFile.</doc>
            <type name="File" c:type="GtkSourceFile*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_newline_type"
              c:identifier="gtk_source_file_get_newline_type"
              glib:get-property="newline-type"
              version="3.14">
        <source-position filename="gtksourceview/gtksourcefile.h" line="131"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefile.c"
               line="367">the newline type.</doc>
          <type name="NewlineType" c:type="GtkSourceNewlineType"/>
        </return-value>
        <parameters>
          <instance-parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefile.c"
                 line="365">a #GtkSourceFile.</doc>
            <type name="File" c:type="GtkSourceFile*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_deleted"
              c:identifier="gtk_source_file_is_deleted"
              version="3.18">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefile.c"
             line="614">Returns whether the file has been deleted. If the
#GtkSourceFile:location is %NULL, returns %FALSE.

To have an up-to-date value, you must first call
gtk_source_file_check_file_on_disk().</doc>
        <source-position filename="gtksourceview/gtksourcefile.h" line="153"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefile.c"
               line="624">whether the file has been deleted.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefile.c"
                 line="616">a #GtkSourceFile.</doc>
            <type name="File" c:type="GtkSourceFile*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_externally_modified"
              c:identifier="gtk_source_file_is_externally_modified"
              version="3.18">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefile.c"
             line="584">Returns whether the file is externally modified. If the
#GtkSourceFile:location is %NULL, returns %FALSE.

To have an up-to-date value, you must first call
gtk_source_file_check_file_on_disk().</doc>
        <source-position filename="gtksourceview/gtksourcefile.h" line="150"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefile.c"
               line="594">whether the file is externally modified.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefile.c"
                 line="586">a #GtkSourceFile.</doc>
            <type name="File" c:type="GtkSourceFile*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_local"
              c:identifier="gtk_source_file_is_local"
              version="3.18">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefile.c"
             line="484">Returns whether the file is local. If the #GtkSourceFile:location is %NULL,
returns %FALSE.</doc>
        <source-position filename="gtksourceview/gtksourcefile.h" line="147"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefile.c"
               line="491">whether the file is local.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefile.c"
                 line="486">a #GtkSourceFile.</doc>
            <type name="File" c:type="GtkSourceFile*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_readonly"
              c:identifier="gtk_source_file_is_readonly"
              version="3.18">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefile.c"
             line="650">Returns whether the file is read-only. If the
#GtkSourceFile:location is %NULL, returns %FALSE.

To have an up-to-date value, you must first call
gtk_source_file_check_file_on_disk().</doc>
        <source-position filename="gtksourceview/gtksourcefile.h" line="156"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefile.c"
               line="660">whether the file is read-only.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefile.c"
                 line="652">a #GtkSourceFile.</doc>
            <type name="File" c:type="GtkSourceFile*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_location"
              c:identifier="gtk_source_file_set_location"
              glib:set-property="location"
              version="3.14">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefile.c"
             line="276">Sets the location.</doc>
        <source-position filename="gtksourceview/gtksourcefile.h" line="122"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefile.c"
                 line="278">a #GtkSourceFile.</doc>
            <type name="File" c:type="GtkSourceFile*"/>
          </instance-parameter>
          <parameter name="location"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefile.c"
                 line="279">the new #GFile, or %NULL.</doc>
            <type name="Gio.File" c:type="GFile*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_mount_operation_factory"
              c:identifier="gtk_source_file_set_mount_operation_factory"
              version="3.14"
              introspectable="0">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefile.c"
             line="406">Sets a #GtkSourceMountOperationFactory function that will be called when a
#GMountOperation must be created. This is useful for creating a
#GtkMountOperation with the parent #GtkWindow.

If a mount operation factory isn't set, g_mount_operation_new() will be
called.</doc>
        <source-position filename="gtksourceview/gtksourcefile.h" line="138"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefile.c"
                 line="408">a #GtkSourceFile.</doc>
            <type name="File" c:type="GtkSourceFile*"/>
          </instance-parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefile.c"
                 line="409">a #GtkSourceMountOperationFactory to call when a
  #GMountOperation is needed.</doc>
            <type name="MountOperationFactory"
                  c:type="GtkSourceMountOperationFactory"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefile.c"
                 line="411">the data to pass to the @callback function.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefile.c"
                 line="412">function to call on @user_data when the @callback is no
  longer needed, or %NULL.</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <property name="compression-type"
                version="3.14"
                transfer-ownership="none"
                getter="get_compression_type"
                default-value="GTK_SOURCE_COMPRESSION_TYPE_NONE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefile.c"
             line="219">The compression type.</doc>
        <type name="CompressionType"/>
      </property>
      <property name="encoding"
                version="3.14"
                transfer-ownership="none"
                getter="get_encoding">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefile.c"
             line="185">The character encoding, initially %NULL. After a successful file
loading or saving operation, the encoding is non-%NULL.</doc>
        <type name="Encoding"/>
      </property>
      <property name="location"
                version="3.14"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_location"
                getter="get_location">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefile.c"
             line="168">The location.</doc>
        <type name="Gio.File"/>
      </property>
      <property name="newline-type"
                version="3.14"
                transfer-ownership="none"
                getter="get_newline_type"
                default-value="GTK_SOURCE_NEWLINE_TYPE_LF">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefile.c"
             line="202">The line ending type.</doc>
        <type name="NewlineType"/>
      </property>
      <property name="read-only"
                version="3.18"
                transfer-ownership="none"
                default-value="FALSE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefile.c"
             line="236">Whether the file is read-only or not. The value of this property is
not updated automatically (there is no file monitors).</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="FilePrivate" c:type="GtkSourceFilePrivate*"/>
      </field>
    </class>
    <record name="FileClass"
            c:type="GtkSourceFileClass"
            glib:is-gtype-struct-for="File">
      <source-position filename="gtksourceview/gtksourcefile.h" line="110"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="10">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <class name="FileLoader"
           c:symbol-prefix="file_loader"
           c:type="GtkSourceFileLoader"
           parent="GObject.Object"
           glib:type-name="GtkSourceFileLoader"
           glib:get-type="gtk_source_file_loader_get_type"
           glib:type-struct="FileLoaderClass">
      <source-position filename="gtksourceview/gtksourcefileloader.h"
                       line="78"/>
      <constructor name="new"
                   c:identifier="gtk_source_file_loader_new"
                   version="3.14">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefileloader.c"
             line="918">Creates a new #GtkSourceFileLoader object. The contents is read from the
#GtkSourceFile's location. If not already done, call
gtk_source_file_set_location() before calling this constructor. The previous
location is anyway not needed, because as soon as the file loading begins,
the @buffer is emptied.</doc>
        <source-position filename="gtksourceview/gtksourcefileloader.h"
                         line="87"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefileloader.c"
               line="929">a new #GtkSourceFileLoader object.</doc>
          <type name="FileLoader" c:type="GtkSourceFileLoader*"/>
        </return-value>
        <parameters>
          <parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefileloader.c"
                 line="920">the #GtkSourceBuffer to load the contents into.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </parameter>
          <parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefileloader.c"
                 line="921">the #GtkSourceFile.</doc>
            <type name="File" c:type="GtkSourceFile*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_from_stream"
                   c:identifier="gtk_source_file_loader_new_from_stream"
                   version="3.14">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefileloader.c"
             line="945">Creates a new #GtkSourceFileLoader object. The contents is read from @stream.</doc>
        <source-position filename="gtksourceview/gtksourcefileloader.h"
                         line="91"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefileloader.c"
               line="953">a new #GtkSourceFileLoader object.</doc>
          <type name="FileLoader" c:type="GtkSourceFileLoader*"/>
        </return-value>
        <parameters>
          <parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefileloader.c"
                 line="947">the #GtkSourceBuffer to load the contents into.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </parameter>
          <parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefileloader.c"
                 line="948">the #GtkSourceFile.</doc>
            <type name="File" c:type="GtkSourceFile*"/>
          </parameter>
          <parameter name="stream" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefileloader.c"
                 line="949">the #GInputStream to load, e.g. stdin.</doc>
            <type name="Gio.InputStream" c:type="GInputStream*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="get_buffer"
              c:identifier="gtk_source_file_loader_get_buffer"
              glib:get-property="buffer"
              version="3.14">
        <source-position filename="gtksourceview/gtksourcefileloader.h"
                         line="101"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefileloader.c"
               line="1012">the #GtkSourceBuffer to load the contents into.</doc>
          <type name="Buffer" c:type="GtkSourceBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="loader" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefileloader.c"
                 line="1010">a #GtkSourceFileLoader.</doc>
            <type name="FileLoader" c:type="GtkSourceFileLoader*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_compression_type"
              c:identifier="gtk_source_file_loader_get_compression_type"
              version="3.14">
        <source-position filename="gtksourceview/gtksourcefileloader.h"
                         line="135"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefileloader.c"
               line="1312">the detected compression type.</doc>
          <type name="CompressionType" c:type="GtkSourceCompressionType"/>
        </return-value>
        <parameters>
          <instance-parameter name="loader" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefileloader.c"
                 line="1310">a #GtkSourceFileLoader.</doc>
            <type name="FileLoader" c:type="GtkSourceFileLoader*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_encoding"
              c:identifier="gtk_source_file_loader_get_encoding"
              version="3.14">
        <source-position filename="gtksourceview/gtksourcefileloader.h"
                         line="129"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefileloader.c"
               line="1281">the detected file encoding.</doc>
          <type name="Encoding" c:type="const GtkSourceEncoding*"/>
        </return-value>
        <parameters>
          <instance-parameter name="loader" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefileloader.c"
                 line="1279">a #GtkSourceFileLoader.</doc>
            <type name="FileLoader" c:type="GtkSourceFileLoader*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_file"
              c:identifier="gtk_source_file_loader_get_file"
              glib:get-property="file"
              version="3.14">
        <source-position filename="gtksourceview/gtksourcefileloader.h"
                         line="104"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefileloader.c"
               line="1027">the #GtkSourceFile.</doc>
          <type name="File" c:type="GtkSourceFile*"/>
        </return-value>
        <parameters>
          <instance-parameter name="loader" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefileloader.c"
                 line="1025">a #GtkSourceFileLoader.</doc>
            <type name="FileLoader" c:type="GtkSourceFileLoader*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_input_stream"
              c:identifier="gtk_source_file_loader_get_input_stream"
              glib:get-property="input-stream"
              version="3.14">
        <source-position filename="gtksourceview/gtksourcefileloader.h"
                         line="110"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefileloader.c"
               line="1058">the #GInputStream to load, or %NULL
if a #GFile is used.</doc>
          <type name="Gio.InputStream" c:type="GInputStream*"/>
        </return-value>
        <parameters>
          <instance-parameter name="loader" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefileloader.c"
                 line="1056">a #GtkSourceFileLoader.</doc>
            <type name="FileLoader" c:type="GtkSourceFileLoader*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_location"
              c:identifier="gtk_source_file_loader_get_location"
              glib:get-property="location"
              version="3.14">
        <source-position filename="gtksourceview/gtksourcefileloader.h"
                         line="107"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefileloader.c"
               line="1042">the #GFile to load, or %NULL
if an input stream is used.</doc>
          <type name="Gio.File" c:type="GFile*"/>
        </return-value>
        <parameters>
          <instance-parameter name="loader" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefileloader.c"
                 line="1040">a #GtkSourceFileLoader.</doc>
            <type name="FileLoader" c:type="GtkSourceFileLoader*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_newline_type"
              c:identifier="gtk_source_file_loader_get_newline_type"
              version="3.14">
        <source-position filename="gtksourceview/gtksourcefileloader.h"
                         line="132"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefileloader.c"
               line="1296">the detected newline type.</doc>
          <type name="NewlineType" c:type="GtkSourceNewlineType"/>
        </return-value>
        <parameters>
          <instance-parameter name="loader" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefileloader.c"
                 line="1294">a #GtkSourceFileLoader.</doc>
            <type name="FileLoader" c:type="GtkSourceFileLoader*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="load_async"
              c:identifier="gtk_source_file_loader_load_async"
              version="3.14"
              glib:finish-func="load_finish">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefileloader.c"
             line="1070">Loads asynchronously the file or input stream contents into the
#GtkSourceBuffer. See the #GAsyncResult documentation to know how to use this
function.</doc>
        <source-position filename="gtksourceview/gtksourcefileloader.h"
                         line="114"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="loader" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefileloader.c"
                 line="1072">a #GtkSourceFileLoader.</doc>
            <type name="FileLoader" c:type="GtkSourceFileLoader*"/>
          </instance-parameter>
          <parameter name="io_priority" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefileloader.c"
                 line="1073">the I/O priority of the request. E.g. %G_PRIORITY_LOW,
  %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefileloader.c"
                 line="1075">optional #GCancellable object, %NULL to ignore.</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="progress_callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="notified"
                     closure="3"
                     destroy="4">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefileloader.c"
                 line="1076">function to call back with
  progress information, or %NULL if progress information is not needed.</doc>
            <type name="Gio.FileProgressCallback"
                  c:type="GFileProgressCallback"/>
          </parameter>
          <parameter name="progress_callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefileloader.c"
                 line="1078">user data to pass to @progress_callback.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="progress_callback_notify"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefileloader.c"
                 line="1079">function to call on
  @progress_callback_data when the @progress_callback is no longer needed, or
  %NULL.</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="6">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefileloader.c"
                 line="1082">a #GAsyncReadyCallback to call when the request is
  satisfied.</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefileloader.c"
                 line="1084">user data to pass to @callback.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="load_finish"
              c:identifier="gtk_source_file_loader_load_finish"
              version="3.14"
              throws="1">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefileloader.c"
             line="1175">Finishes a file loading started with gtk_source_file_loader_load_async().

If the contents has been loaded, the following #GtkSourceFile properties will
be updated: the location, the encoding, the newline type and the compression
type.</doc>
        <source-position filename="gtksourceview/gtksourcefileloader.h"
                         line="124"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefileloader.c"
               line="1187">whether the contents has been loaded successfully.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="loader" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefileloader.c"
                 line="1177">a #GtkSourceFileLoader.</doc>
            <type name="FileLoader" c:type="GtkSourceFileLoader*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefileloader.c"
                 line="1178">a #GAsyncResult.</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_candidate_encodings"
              c:identifier="gtk_source_file_loader_set_candidate_encodings"
              version="3.14">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefileloader.c"
             line="972">Sets the candidate encodings for the file loading. The encodings are tried in
the same order as the list.

For convenience, @candidate_encodings can contain duplicates. Only the first
occurrence of a duplicated encoding is kept in the list.

By default the candidate encodings are (in that order in the list):
1. If set, the #GtkSourceFile's encoding as returned by
gtk_source_file_get_encoding().
2. The default candidates as returned by
gtk_source_encoding_get_default_candidates().</doc>
        <source-position filename="gtksourceview/gtksourcefileloader.h"
                         line="96"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="loader" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefileloader.c"
                 line="974">a #GtkSourceFileLoader.</doc>
            <type name="FileLoader" c:type="GtkSourceFileLoader*"/>
          </instance-parameter>
          <parameter name="candidate_encodings" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefileloader.c"
                 line="975">a list of
  #GtkSourceEncoding&lt;!-- --&gt;s.</doc>
            <type name="GLib.SList" c:type="GSList*">
              <type name="Encoding"/>
            </type>
          </parameter>
        </parameters>
      </method>
      <property name="buffer"
                version="3.14"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_buffer">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefileloader.c"
             line="381">The #GtkSourceBuffer to load the contents into. The
#GtkSourceFileLoader object has a weak reference to the buffer.</doc>
        <type name="Buffer"/>
      </property>
      <property name="file"
                version="3.14"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_file">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefileloader.c"
             line="398">The #GtkSourceFile. The #GtkSourceFileLoader object has a weak
reference to the file.</doc>
        <type name="File"/>
      </property>
      <property name="input-stream"
                version="3.14"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_input_stream">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefileloader.c"
             line="433">The #GInputStream to load. Useful for reading stdin. If this property
is set, the #GtkSourceFileLoader:location property is ignored.</doc>
        <type name="Gio.InputStream"/>
      </property>
      <property name="location"
                version="3.14"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_location">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefileloader.c"
             line="415">The #GFile to load. If the #GtkSourceFileLoader:input-stream is
%NULL, by default the location is taken from the #GtkSourceFile at
construction time.</doc>
        <type name="Gio.File"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="FileLoaderPrivate" c:type="GtkSourceFileLoaderPrivate*"/>
      </field>
    </class>
    <record name="FileLoaderClass"
            c:type="GtkSourceFileLoaderClass"
            glib:is-gtype-struct-for="FileLoader">
      <source-position filename="gtksourceview/gtksourcefileloader.h"
                       line="78"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="10">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <enumeration name="FileLoaderError"
                 glib:type-name="GtkSourceFileLoaderError"
                 glib:get-type="gtk_source_file_loader_error_get_type"
                 c:type="GtkSourceFileLoaderError"
                 glib:error-domain="gtk-source-file-loader-error">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcefileloader.h"
           line="49">An error code used with the %GTK_SOURCE_FILE_LOADER_ERROR domain.</doc>
      <member name="too_big"
              value="0"
              c:identifier="GTK_SOURCE_FILE_LOADER_ERROR_TOO_BIG"
              glib:nick="too-big"
              glib:name="GTK_SOURCE_FILE_LOADER_ERROR_TOO_BIG">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefileloader.h"
             line="51">The file is too big.</doc>
      </member>
      <member name="encoding_auto_detection_failed"
              value="1"
              c:identifier="GTK_SOURCE_FILE_LOADER_ERROR_ENCODING_AUTO_DETECTION_FAILED"
              glib:nick="encoding-auto-detection-failed"
              glib:name="GTK_SOURCE_FILE_LOADER_ERROR_ENCODING_AUTO_DETECTION_FAILED">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefileloader.h"
             line="52">It is not
possible to detect the encoding automatically.</doc>
      </member>
      <member name="conversion_fallback"
              value="2"
              c:identifier="GTK_SOURCE_FILE_LOADER_ERROR_CONVERSION_FALLBACK"
              glib:nick="conversion-fallback"
              glib:name="GTK_SOURCE_FILE_LOADER_ERROR_CONVERSION_FALLBACK">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefileloader.h"
             line="54">There was an encoding
conversion error and it was needed to use a fallback character.</doc>
      </member>
      <function name="quark" c:identifier="gtk_source_file_loader_error_quark">
        <return-value transfer-ownership="none">
          <type name="GLib.Quark" c:type="GQuark"/>
        </return-value>
      </function>
    </enumeration>
    <record name="FileLoaderPrivate"
            c:type="GtkSourceFileLoaderPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gtksourceview/gtksourcefileloader.h"
                       line="45"/>
    </record>
    <record name="FilePrivate"
            c:type="GtkSourceFilePrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gtksourceview/gtksourcefile.h" line="41"/>
    </record>
    <class name="FileSaver"
           c:symbol-prefix="file_saver"
           c:type="GtkSourceFileSaver"
           parent="GObject.Object"
           glib:type-name="GtkSourceFileSaver"
           glib:get-type="gtk_source_file_saver_get_type"
           glib:type-struct="FileSaverClass">
      <source-position filename="gtksourceview/gtksourcefilesaver.h"
                       line="95"/>
      <constructor name="new"
                   c:identifier="gtk_source_file_saver_new"
                   version="3.14">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefilesaver.c"
             line="1096">Creates a new #GtkSourceFileSaver object. The @buffer will be saved to the
#GtkSourceFile's location.

This constructor is suitable for a simple "save" operation, when the @file
already contains a non-%NULL #GtkSourceFile:location.</doc>
        <source-position filename="gtksourceview/gtksourcefilesaver.h"
                         line="104"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefilesaver.c"
               line="1107">a new #GtkSourceFileSaver object.</doc>
          <type name="FileSaver" c:type="GtkSourceFileSaver*"/>
        </return-value>
        <parameters>
          <parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1098">the #GtkSourceBuffer to save.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </parameter>
          <parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1099">the #GtkSourceFile.</doc>
            <type name="File" c:type="GtkSourceFile*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_with_target"
                   c:identifier="gtk_source_file_saver_new_with_target"
                   version="3.14">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefilesaver.c"
             line="1123">Creates a new #GtkSourceFileSaver object with a target location. When the
file saving is finished successfully, @target_location is set to the @file's
#GtkSourceFile:location property. If an error occurs, the previous valid
location is still available in #GtkSourceFile.

This constructor is suitable for a "save as" operation, or for saving a new
buffer for the first time.</doc>
        <source-position filename="gtksourceview/gtksourcefilesaver.h"
                         line="108"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefilesaver.c"
               line="1137">a new #GtkSourceFileSaver object.</doc>
          <type name="FileSaver" c:type="GtkSourceFileSaver*"/>
        </return-value>
        <parameters>
          <parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1125">the #GtkSourceBuffer to save.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </parameter>
          <parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1126">the #GtkSourceFile.</doc>
            <type name="File" c:type="GtkSourceFile*"/>
          </parameter>
          <parameter name="target_location" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1127">the #GFile where to save the buffer to.</doc>
            <type name="Gio.File" c:type="GFile*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="get_buffer"
              c:identifier="gtk_source_file_saver_get_buffer"
              glib:get-property="buffer"
              version="3.14">
        <source-position filename="gtksourceview/gtksourcefilesaver.h"
                         line="113"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefilesaver.c"
               line="1160">the #GtkSourceBuffer to save.</doc>
          <type name="Buffer" c:type="GtkSourceBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="saver" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1158">a #GtkSourceFileSaver.</doc>
            <type name="FileSaver" c:type="GtkSourceFileSaver*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_compression_type"
              c:identifier="gtk_source_file_saver_get_compression_type"
              glib:get-property="compression-type"
              version="3.14">
        <source-position filename="gtksourceview/gtksourcefilesaver.h"
                         line="141"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefilesaver.c"
               line="1312">the compression type.</doc>
          <type name="CompressionType" c:type="GtkSourceCompressionType"/>
        </return-value>
        <parameters>
          <instance-parameter name="saver" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1310">a #GtkSourceFileSaver.</doc>
            <type name="FileSaver" c:type="GtkSourceFileSaver*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_encoding"
              c:identifier="gtk_source_file_saver_get_encoding"
              glib:get-property="encoding"
              version="3.14">
        <source-position filename="gtksourceview/gtksourcefilesaver.h"
                         line="126"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefilesaver.c"
               line="1234">the encoding.</doc>
          <type name="Encoding" c:type="const GtkSourceEncoding*"/>
        </return-value>
        <parameters>
          <instance-parameter name="saver" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1232">a #GtkSourceFileSaver.</doc>
            <type name="FileSaver" c:type="GtkSourceFileSaver*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_file"
              c:identifier="gtk_source_file_saver_get_file"
              glib:get-property="file"
              version="3.14">
        <source-position filename="gtksourceview/gtksourcefilesaver.h"
                         line="116"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefilesaver.c"
               line="1175">the #GtkSourceFile.</doc>
          <type name="File" c:type="GtkSourceFile*"/>
        </return-value>
        <parameters>
          <instance-parameter name="saver" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1173">a #GtkSourceFileSaver.</doc>
            <type name="FileSaver" c:type="GtkSourceFileSaver*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_flags"
              c:identifier="gtk_source_file_saver_get_flags"
              glib:get-property="flags"
              version="3.14">
        <source-position filename="gtksourceview/gtksourcefilesaver.h"
                         line="149"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefilesaver.c"
               line="1348">the flags.</doc>
          <type name="FileSaverFlags" c:type="GtkSourceFileSaverFlags"/>
        </return-value>
        <parameters>
          <instance-parameter name="saver" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1346">a #GtkSourceFileSaver.</doc>
            <type name="FileSaver" c:type="GtkSourceFileSaver*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_location"
              c:identifier="gtk_source_file_saver_get_location"
              glib:get-property="location"
              version="3.14">
        <source-position filename="gtksourceview/gtksourcefilesaver.h"
                         line="119"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefilesaver.c"
               line="1190">the #GFile where to save the buffer to.</doc>
          <type name="Gio.File" c:type="GFile*"/>
        </return-value>
        <parameters>
          <instance-parameter name="saver" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1188">a #GtkSourceFileSaver.</doc>
            <type name="FileSaver" c:type="GtkSourceFileSaver*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_newline_type"
              c:identifier="gtk_source_file_saver_get_newline_type"
              glib:get-property="newline-type"
              version="3.14">
        <source-position filename="gtksourceview/gtksourcefilesaver.h"
                         line="133"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefilesaver.c"
               line="1273">the newline type.</doc>
          <type name="NewlineType" c:type="GtkSourceNewlineType"/>
        </return-value>
        <parameters>
          <instance-parameter name="saver" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1271">a #GtkSourceFileSaver.</doc>
            <type name="FileSaver" c:type="GtkSourceFileSaver*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="save_async"
              c:identifier="gtk_source_file_saver_save_async"
              version="3.14"
              glib:finish-func="save_finish">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefilesaver.c"
             line="1359">Saves asynchronously the buffer into the file. See the #GAsyncResult
documentation to know how to use this function.</doc>
        <source-position filename="gtksourceview/gtksourcefilesaver.h"
                         line="152"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="saver" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1361">a #GtkSourceFileSaver.</doc>
            <type name="FileSaver" c:type="GtkSourceFileSaver*"/>
          </instance-parameter>
          <parameter name="io_priority" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1362">the I/O priority of the request. E.g. %G_PRIORITY_LOW,
  %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1364">optional #GCancellable object, %NULL to ignore.</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="progress_callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="notified"
                     closure="3"
                     destroy="4">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1365">function to call back with
  progress information, or %NULL if progress information is not needed.</doc>
            <type name="Gio.FileProgressCallback"
                  c:type="GFileProgressCallback"/>
          </parameter>
          <parameter name="progress_callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1367">user data to pass to @progress_callback.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="progress_callback_notify"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1368">function to call on
  @progress_callback_data when the @progress_callback is no longer needed, or
  %NULL.</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="6">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1371">a #GAsyncReadyCallback to call when the request is
  satisfied.</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1373">user data to pass to @callback.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="save_finish"
              c:identifier="gtk_source_file_saver_save_finish"
              version="3.14"
              throws="1">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefilesaver.c"
             line="1448">Finishes a file saving started with gtk_source_file_saver_save_async().

If the file has been saved successfully, the following #GtkSourceFile
properties will be updated: the location, the encoding, the newline type and
the compression type.

Since the 3.20 version, gtk_text_buffer_set_modified() is called with %FALSE
if the file has been saved successfully.</doc>
        <source-position filename="gtksourceview/gtksourcefilesaver.h"
                         line="162"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefilesaver.c"
               line="1463">whether the file was saved successfully.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="saver" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1450">a #GtkSourceFileSaver.</doc>
            <type name="FileSaver" c:type="GtkSourceFileSaver*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1451">a #GAsyncResult.</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_compression_type"
              c:identifier="gtk_source_file_saver_set_compression_type"
              glib:set-property="compression-type"
              version="3.14">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefilesaver.c"
             line="1284">Sets the compression type. By default the compression type is taken from the
#GtkSourceFile.</doc>
        <source-position filename="gtksourceview/gtksourcefilesaver.h"
                         line="136"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="saver" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1286">a #GtkSourceFileSaver.</doc>
            <type name="FileSaver" c:type="GtkSourceFileSaver*"/>
          </instance-parameter>
          <parameter name="compression_type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1287">the new compression type.</doc>
            <type name="CompressionType" c:type="GtkSourceCompressionType"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_encoding"
              c:identifier="gtk_source_file_saver_set_encoding"
              glib:set-property="encoding"
              version="3.14">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefilesaver.c"
             line="1201">Sets the encoding. If @encoding is %NULL, the UTF-8 encoding will be set.
By default the encoding is taken from the #GtkSourceFile.</doc>
        <source-position filename="gtksourceview/gtksourcefilesaver.h"
                         line="122"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="saver" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1203">a #GtkSourceFileSaver.</doc>
            <type name="FileSaver" c:type="GtkSourceFileSaver*"/>
          </instance-parameter>
          <parameter name="encoding"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1204">the new encoding, or %NULL for UTF-8.</doc>
            <type name="Encoding" c:type="const GtkSourceEncoding*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_flags"
              c:identifier="gtk_source_file_saver_set_flags"
              glib:set-property="flags"
              version="3.14">
        <source-position filename="gtksourceview/gtksourcefilesaver.h"
                         line="145"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="saver" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1325">a #GtkSourceFileSaver.</doc>
            <type name="FileSaver" c:type="GtkSourceFileSaver*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1326">the new flags.</doc>
            <type name="FileSaverFlags" c:type="GtkSourceFileSaverFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_newline_type"
              c:identifier="gtk_source_file_saver_set_newline_type"
              glib:set-property="newline-type"
              version="3.14">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefilesaver.c"
             line="1245">Sets the newline type. By default the newline type is taken from the
#GtkSourceFile.</doc>
        <source-position filename="gtksourceview/gtksourcefilesaver.h"
                         line="129"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="saver" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1247">a #GtkSourceFileSaver.</doc>
            <type name="FileSaver" c:type="GtkSourceFileSaver*"/>
          </instance-parameter>
          <parameter name="newline_type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcefilesaver.c"
                 line="1248">the new newline type.</doc>
            <type name="NewlineType" c:type="GtkSourceNewlineType"/>
          </parameter>
        </parameters>
      </method>
      <property name="buffer"
                version="3.14"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_buffer">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefilesaver.c"
             line="342">The #GtkSourceBuffer to save. The #GtkSourceFileSaver object has a
weak reference to the buffer.</doc>
        <type name="Buffer"/>
      </property>
      <property name="compression-type"
                version="3.14"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_compression_type"
                getter="get_compression_type"
                default-value="GTK_SOURCE_COMPRESSION_TYPE_NONE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefilesaver.c"
             line="431">The compression type.</doc>
        <type name="CompressionType"/>
      </property>
      <property name="encoding"
                version="3.14"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_encoding"
                getter="get_encoding">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefilesaver.c"
             line="396">The file's encoding.</doc>
        <type name="Encoding"/>
      </property>
      <property name="file"
                version="3.14"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_file">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefilesaver.c"
             line="360">The #GtkSourceFile. The #GtkSourceFileSaver object has a weak
reference to the file.</doc>
        <type name="File"/>
      </property>
      <property name="flags"
                version="3.14"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_flags"
                getter="get_flags"
                default-value="GTK_SOURCE_FILE_SAVER_FLAGS_NONE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefilesaver.c"
             line="449">File saving flags.</doc>
        <type name="FileSaverFlags"/>
      </property>
      <property name="location"
                version="3.14"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_location">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefilesaver.c"
             line="378">The #GFile where to save the buffer. By default the location is taken
from the #GtkSourceFile at construction time.</doc>
        <type name="Gio.File"/>
      </property>
      <property name="newline-type"
                version="3.14"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_newline_type"
                getter="get_newline_type"
                default-value="GTK_SOURCE_NEWLINE_TYPE_LF">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefilesaver.c"
             line="413">The newline type.</doc>
        <type name="NewlineType"/>
      </property>
      <field name="object">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="FileSaverPrivate" c:type="GtkSourceFileSaverPrivate*"/>
      </field>
    </class>
    <record name="FileSaverClass"
            c:type="GtkSourceFileSaverClass"
            glib:is-gtype-struct-for="FileSaver">
      <source-position filename="gtksourceview/gtksourcefilesaver.h"
                       line="95"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="10">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <enumeration name="FileSaverError"
                 version="3.14"
                 glib:type-name="GtkSourceFileSaverError"
                 glib:get-type="gtk_source_file_saver_error_get_type"
                 c:type="GtkSourceFileSaverError"
                 glib:error-domain="gtk-source-file-saver-error">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcefilesaver.h"
           line="49">An error code used with the %GTK_SOURCE_FILE_SAVER_ERROR domain.</doc>
      <member name="invalid_chars"
              value="0"
              c:identifier="GTK_SOURCE_FILE_SAVER_ERROR_INVALID_CHARS"
              glib:nick="invalid-chars"
              glib:name="GTK_SOURCE_FILE_SAVER_ERROR_INVALID_CHARS">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefilesaver.h"
             line="51">The buffer contains invalid
  characters.</doc>
      </member>
      <member name="externally_modified"
              value="1"
              c:identifier="GTK_SOURCE_FILE_SAVER_ERROR_EXTERNALLY_MODIFIED"
              glib:nick="externally-modified"
              glib:name="GTK_SOURCE_FILE_SAVER_ERROR_EXTERNALLY_MODIFIED">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefilesaver.h"
             line="53">The file is externally
  modified.</doc>
      </member>
      <function name="quark" c:identifier="gtk_source_file_saver_error_quark">
        <return-value transfer-ownership="none">
          <type name="GLib.Quark" c:type="GQuark"/>
        </return-value>
      </function>
    </enumeration>
    <bitfield name="FileSaverFlags"
              version="3.14"
              glib:type-name="GtkSourceFileSaverFlags"
              glib:get-type="gtk_source_file_saver_flags_get_type"
              c:type="GtkSourceFileSaverFlags">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcefilesaver.h"
           line="65">Flags to define the behavior of a #GtkSourceFileSaver.</doc>
      <member name="none"
              value="0"
              c:identifier="GTK_SOURCE_FILE_SAVER_FLAGS_NONE"
              glib:nick="none"
              glib:name="GTK_SOURCE_FILE_SAVER_FLAGS_NONE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefilesaver.h"
             line="67">No flags.</doc>
      </member>
      <member name="ignore_invalid_chars"
              value="1"
              c:identifier="GTK_SOURCE_FILE_SAVER_FLAGS_IGNORE_INVALID_CHARS"
              glib:nick="ignore-invalid-chars"
              glib:name="GTK_SOURCE_FILE_SAVER_FLAGS_IGNORE_INVALID_CHARS">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefilesaver.h"
             line="68">Ignore invalid characters.</doc>
      </member>
      <member name="ignore_modification_time"
              value="2"
              c:identifier="GTK_SOURCE_FILE_SAVER_FLAGS_IGNORE_MODIFICATION_TIME"
              glib:nick="ignore-modification-time"
              glib:name="GTK_SOURCE_FILE_SAVER_FLAGS_IGNORE_MODIFICATION_TIME">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefilesaver.h"
             line="69">Save file despite external modifications.</doc>
      </member>
      <member name="create_backup"
              value="4"
              c:identifier="GTK_SOURCE_FILE_SAVER_FLAGS_CREATE_BACKUP"
              glib:nick="create-backup"
              glib:name="GTK_SOURCE_FILE_SAVER_FLAGS_CREATE_BACKUP">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefilesaver.h"
             line="70">Create a backup before saving the file.</doc>
      </member>
    </bitfield>
    <record name="FileSaverPrivate"
            c:type="GtkSourceFileSaverPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gtksourceview/gtksourcefilesaver.h"
                       line="45"/>
    </record>
    <function-macro name="GUTTER"
                    c:identifier="GTK_SOURCE_GUTTER"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcegutter.h" line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="GUTTER_CLASS"
                    c:identifier="GTK_SOURCE_GUTTER_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcegutter.h" line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="GUTTER_GET_CLASS"
                    c:identifier="GTK_SOURCE_GUTTER_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcegutter.h" line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="GUTTER_RENDERER"
                    c:identifier="GTK_SOURCE_GUTTER_RENDERER"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="GUTTER_RENDERER_CLASS"
                    c:identifier="GTK_SOURCE_GUTTER_RENDERER_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                       line="36"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="GUTTER_RENDERER_CONST"
                    c:identifier="GTK_SOURCE_GUTTER_RENDERER_CONST"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                       line="35"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="GUTTER_RENDERER_GET_CLASS"
                    c:identifier="GTK_SOURCE_GUTTER_RENDERER_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                       line="39"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="GUTTER_RENDERER_PIXBUF"
                    c:identifier="GTK_SOURCE_GUTTER_RENDERER_PIXBUF"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcegutterrendererpixbuf.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="GUTTER_RENDERER_PIXBUF_CLASS"
                    c:identifier="GTK_SOURCE_GUTTER_RENDERER_PIXBUF_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcegutterrendererpixbuf.h"
                       line="36"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="GUTTER_RENDERER_PIXBUF_CONST"
                    c:identifier="GTK_SOURCE_GUTTER_RENDERER_PIXBUF_CONST"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcegutterrendererpixbuf.h"
                       line="35"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="GUTTER_RENDERER_PIXBUF_GET_CLASS"
                    c:identifier="GTK_SOURCE_GUTTER_RENDERER_PIXBUF_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcegutterrendererpixbuf.h"
                       line="39"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="GUTTER_RENDERER_TEXT"
                    c:identifier="GTK_SOURCE_GUTTER_RENDERER_TEXT"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcegutterrenderertext.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="GUTTER_RENDERER_TEXT_CLASS"
                    c:identifier="GTK_SOURCE_GUTTER_RENDERER_TEXT_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcegutterrenderertext.h"
                       line="36"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="GUTTER_RENDERER_TEXT_CONST"
                    c:identifier="GTK_SOURCE_GUTTER_RENDERER_TEXT_CONST"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcegutterrenderertext.h"
                       line="35"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="GUTTER_RENDERER_TEXT_GET_CLASS"
                    c:identifier="GTK_SOURCE_GUTTER_RENDERER_TEXT_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcegutterrenderertext.h"
                       line="39"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <class name="Gutter"
           c:symbol-prefix="gutter"
           c:type="GtkSourceGutter"
           parent="GObject.Object"
           glib:type-name="GtkSourceGutter"
           glib:get-type="gtk_source_gutter_get_type"
           glib:type-struct="GutterClass">
      <source-position filename="gtksourceview/gtksourcegutter.h" line="55"/>
      <method name="get_renderer_at_pos"
              c:identifier="gtk_source_gutter_get_renderer_at_pos">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutter.c"
             line="1571">Finds the #GtkSourceGutterRenderer at (x, y).</doc>
        <source-position filename="gtksourceview/gtksourcegutter.h" line="87"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcegutter.c"
               line="1579">the renderer at (x, y) or %NULL.</doc>
          <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="gutter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutter.c"
                 line="1573">A #GtkSourceGutter.</doc>
            <type name="Gutter" c:type="GtkSourceGutter*"/>
          </instance-parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutter.c"
                 line="1574">The x position to get identified.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutter.c"
                 line="1575">The y position to get identified.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_view"
              c:identifier="gtk_source_gutter_get_view"
              glib:get-property="view"
              version="3.24">
        <source-position filename="gtksourceview/gtksourcegutter.h" line="62"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcegutter.c"
               line="522">the associated #GtkSourceView.</doc>
          <type name="View" c:type="GtkSourceView*"/>
        </return-value>
        <parameters>
          <instance-parameter name="gutter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutter.c"
                 line="520">a #GtkSourceGutter.</doc>
            <type name="Gutter" c:type="GtkSourceGutter*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_window_type"
              c:identifier="gtk_source_gutter_get_window_type"
              glib:get-property="window-type"
              version="3.24">
        <source-position filename="gtksourceview/gtksourcegutter.h" line="66"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcegutter.c"
               line="537">the #GtkTextWindowType of @gutter.</doc>
          <type name="Gtk.TextWindowType" c:type="GtkTextWindowType"/>
        </return-value>
        <parameters>
          <instance-parameter name="gutter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutter.c"
                 line="535">a #GtkSourceGutter.</doc>
            <type name="Gutter" c:type="GtkSourceGutter*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="insert"
              c:identifier="gtk_source_gutter_insert"
              version="3.0">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutter.c"
             line="548">Insert @renderer into the gutter. If @renderer is yet unowned then gutter
claims its ownership. Otherwise just increases renderer's reference count.
@renderer cannot be already inserted to another gutter.</doc>
        <source-position filename="gtksourceview/gtksourcegutter.h" line="69"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcegutter.c"
               line="558">%TRUE if operation succeeded. Otherwise %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="gutter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutter.c"
                 line="550">a #GtkSourceGutter.</doc>
            <type name="Gutter" c:type="GtkSourceGutter*"/>
          </instance-parameter>
          <parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutter.c"
                 line="551">a gutter renderer (must inherit from #GtkSourceGutterRenderer).</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </parameter>
          <parameter name="position" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutter.c"
                 line="552">the renderer position.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="queue_draw"
              c:identifier="gtk_source_gutter_queue_draw"
              version="2.8">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutter.c"
             line="669">Invalidates the drawable area of the gutter. You can use this to force a
redraw of the gutter if something has changed and needs to be redrawn.</doc>
        <source-position filename="gtksourceview/gtksourcegutter.h" line="83"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gutter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutter.c"
                 line="671">a #GtkSourceGutter.</doc>
            <type name="Gutter" c:type="GtkSourceGutter*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="remove"
              c:identifier="gtk_source_gutter_remove"
              version="2.8">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutter.c"
             line="639">Removes @renderer from @gutter.</doc>
        <source-position filename="gtksourceview/gtksourcegutter.h" line="79"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gutter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutter.c"
                 line="641">a #GtkSourceGutter.</doc>
            <type name="Gutter" c:type="GtkSourceGutter*"/>
          </instance-parameter>
          <parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutter.c"
                 line="642">a #GtkSourceGutterRenderer.</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </parameter>
        </parameters>
      </method>
      <method name="reorder"
              c:identifier="gtk_source_gutter_reorder"
              version="2.8">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutter.c"
             line="607">Reorders @renderer in @gutter to new @position.</doc>
        <source-position filename="gtksourceview/gtksourcegutter.h" line="74"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gutter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutter.c"
                 line="609">a #GtkSourceGutterRenderer.</doc>
            <type name="Gutter" c:type="GtkSourceGutter*"/>
          </instance-parameter>
          <parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutter.c"
                 line="610">a #GtkCellRenderer.</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </parameter>
          <parameter name="position" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutter.c"
                 line="611">the new renderer position.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <property name="view"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_view">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutter.c"
             line="440">The #GtkSourceView of the gutter.</doc>
        <type name="View"/>
      </property>
      <property name="window-type"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_window_type"
                default-value="GTK_TEXT_WINDOW_PRIVATE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutter.c"
             line="453">The text window type on which the window is placed.</doc>
        <type name="Gtk.TextWindowType"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="GutterPrivate" c:type="GtkSourceGutterPrivate*"/>
      </field>
    </class>
    <record name="GutterClass"
            c:type="GtkSourceGutterClass"
            glib:is-gtype-struct-for="Gutter">
      <source-position filename="gtksourceview/gtksourcegutter.h" line="55"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="10">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="GutterPrivate"
            c:type="GtkSourceGutterPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gtksourceview/gtksourcegutter.h" line="41"/>
    </record>
    <class name="GutterRenderer"
           c:symbol-prefix="gutter_renderer"
           c:type="GtkSourceGutterRenderer"
           parent="GObject.InitiallyUnowned"
           abstract="1"
           glib:type-name="GtkSourceGutterRenderer"
           glib:get-type="gtk_source_gutter_renderer_get_type"
           glib:type-struct="GutterRendererClass">
      <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                       line="154"/>
      <virtual-method name="activate" invoker="activate">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="972">Emits the #GtkSourceGutterRenderer::activate signal of the renderer. This is
called from #GtkSourceGutter and should never have to be called manually.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="134"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="974">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
          <parameter name="iter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="975">a #GtkTextIter at the start of the line where the renderer is activated</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="area" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="976">a #GdkRectangle of the cell area where the renderer is activated</doc>
            <type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
          </parameter>
          <parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="977">the event that triggered the activation</doc>
            <type name="Gdk.Event" c:type="GdkEvent*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="begin" invoker="begin">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="821">Called when drawing a region begins. The region to be drawn is indicated
by @start and @end. The purpose is to allow the implementation to precompute
some state before the draw method is called for each cell.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="91"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="823">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
          <parameter name="cr" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="824">a #cairo_t</doc>
            <type name="cairo.Context" c:type="cairo_t*"/>
          </parameter>
          <parameter name="background_area" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="825">a #GdkRectangle</doc>
            <type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
          </parameter>
          <parameter name="cell_area" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="826">a #GdkRectangle</doc>
            <type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
          </parameter>
          <parameter name="start" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="827">a #GtkTextIter</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="end" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="828">a #GtkTextIter</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="change_buffer">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.h"
             line="118">This is called when the text buffer changes for @renderer.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="125"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.h"
                 line="120">a #GtkSourceGutterRenderer.</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
          <parameter name="old_buffer"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.h"
                 line="121">the old #GtkTextBuffer.</doc>
            <type name="Gtk.TextBuffer" c:type="GtkTextBuffer*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="change_view">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.h"
             line="108">This is called when the text view changes for @renderer.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="115"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.h"
                 line="110">a #GtkSourceGutterRenderer.</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
          <parameter name="old_view"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.h"
                 line="111">the old #GtkTextView.</doc>
            <type name="Gtk.TextView" c:type="GtkTextView*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="draw" invoker="draw">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="861">Main renderering method. Implementations should implement this method to draw
onto the cairo context. The @background_area indicates the total area of the
cell to be drawn. The @cell_area indicates the area where content can be
drawn (text, images, etc).

The @background_area is the @cell_area plus the padding on each side (two
times the #GtkSourceGutterRenderer:xpad horizontally and two times the
#GtkSourceGutterRenderer:ypad vertically, so that the @cell_area is centered
inside @background_area).

The @state argument indicates the current state of the renderer and should
be taken into account to properly draw the different possible states
(cursor, prelit, selected) if appropriate.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="98"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="863">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
          <parameter name="cr" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="864">the cairo render context</doc>
            <type name="cairo.Context" c:type="cairo_t*"/>
          </parameter>
          <parameter name="background_area" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="865">a #GdkRectangle indicating the total area to be drawn</doc>
            <type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
          </parameter>
          <parameter name="cell_area" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="866">a #GdkRectangle indicating the area to draw content</doc>
            <type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
          </parameter>
          <parameter name="start" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="867">a #GtkTextIter</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="end" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="868">a #GtkTextIter</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="state" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="869">a #GtkSourceGutterRendererState</doc>
            <type name="GutterRendererState"
                  c:type="GtkSourceGutterRendererState"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="end" invoker="end">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="914">Called when drawing a region of lines has ended.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="106"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="916">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="query_activatable" invoker="query_activatable">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="932">Get whether the renderer is activatable at the location in @event. This is
called from #GtkSourceGutter to determine whether a renderer is activatable
using the mouse pointer.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="129"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcegutterrenderer.c"
               line="943">%TRUE if the renderer can be activated, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="934">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
          <parameter name="iter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="935">a #GtkTextIter at the start of the line to be activated</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="area" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="936">a #GdkRectangle of the cell area to be activated</doc>
            <type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
          </parameter>
          <parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="937">the event that triggered the query</doc>
            <type name="Gdk.Event" c:type="GdkEvent*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="query_data" invoker="query_data">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="1057">Emit the #GtkSourceGutterRenderer::query-data signal. This function is called
to query for data just before rendering a cell. This is called from the
#GtkSourceGutter.  Implementations can override the default signal handler or
can connect a signal handler externally to the
#GtkSourceGutterRenderer::query-data signal.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="148"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1059">a #GtkSourceGutterRenderer.</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
          <parameter name="start" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1060">a #GtkTextIter.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="end" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1061">a #GtkTextIter.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="state" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1062">a #GtkSourceGutterRendererState.</doc>
            <type name="GutterRendererState"
                  c:type="GtkSourceGutterRendererState"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="query_tooltip" invoker="query_tooltip">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="1012">Emits the #GtkSourceGutterRenderer::query-tooltip signal. This function is
called from #GtkSourceGutter. Implementations can override the default signal
handler or can connect to the signal externally.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="141"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcegutterrenderer.c"
               line="1025">%TRUE if the tooltip has been set, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1014">a #GtkSourceGutterRenderer.</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
          <parameter name="iter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1015">a #GtkTextIter.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="area" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1016">a #GdkRectangle.</doc>
            <type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
          </parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1017">The x position of the tooltip.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1018">The y position of the tooltip.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="tooltip" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1019">a #GtkTooltip.</doc>
            <type name="Gtk.Tooltip" c:type="GtkTooltip*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="queue_draw" invoker="queue_draw">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="996">Emits the #GtkSourceGutterRenderer::queue-draw signal of the renderer. Call
this from an implementation to inform that the renderer has changed such that
it needs to redraw.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="139"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="998">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <method name="activate"
              c:identifier="gtk_source_gutter_renderer_activate">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="972">Emits the #GtkSourceGutterRenderer::activate signal of the renderer. This is
called from #GtkSourceGutter and should never have to be called manually.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="238"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="974">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
          <parameter name="iter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="975">a #GtkTextIter at the start of the line where the renderer is activated</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="area" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="976">a #GdkRectangle of the cell area where the renderer is activated</doc>
            <type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
          </parameter>
          <parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="977">the event that triggered the activation</doc>
            <type name="Gdk.Event" c:type="GdkEvent*"/>
          </parameter>
        </parameters>
      </method>
      <method name="begin" c:identifier="gtk_source_gutter_renderer_begin">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="821">Called when drawing a region begins. The region to be drawn is indicated
by @start and @end. The purpose is to allow the implementation to precompute
some state before the draw method is called for each cell.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="160"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="823">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
          <parameter name="cr" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="824">a #cairo_t</doc>
            <type name="cairo.Context" c:type="cairo_t*"/>
          </parameter>
          <parameter name="background_area" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="825">a #GdkRectangle</doc>
            <type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
          </parameter>
          <parameter name="cell_area" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="826">a #GdkRectangle</doc>
            <type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
          </parameter>
          <parameter name="start" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="827">a #GtkTextIter</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="end" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="828">a #GtkTextIter</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
        </parameters>
      </method>
      <method name="draw" c:identifier="gtk_source_gutter_renderer_draw">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="861">Main renderering method. Implementations should implement this method to draw
onto the cairo context. The @background_area indicates the total area of the
cell to be drawn. The @cell_area indicates the area where content can be
drawn (text, images, etc).

The @background_area is the @cell_area plus the padding on each side (two
times the #GtkSourceGutterRenderer:xpad horizontally and two times the
#GtkSourceGutterRenderer:ypad vertically, so that the @cell_area is centered
inside @background_area).

The @state argument indicates the current state of the renderer and should
be taken into account to properly draw the different possible states
(cursor, prelit, selected) if appropriate.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="168"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="863">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
          <parameter name="cr" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="864">the cairo render context</doc>
            <type name="cairo.Context" c:type="cairo_t*"/>
          </parameter>
          <parameter name="background_area" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="865">a #GdkRectangle indicating the total area to be drawn</doc>
            <type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
          </parameter>
          <parameter name="cell_area" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="866">a #GdkRectangle indicating the area to draw content</doc>
            <type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
          </parameter>
          <parameter name="start" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="867">a #GtkTextIter</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="end" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="868">a #GtkTextIter</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="state" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="869">a #GtkSourceGutterRendererState</doc>
            <type name="GutterRendererState"
                  c:type="GtkSourceGutterRendererState"/>
          </parameter>
        </parameters>
      </method>
      <method name="end" c:identifier="gtk_source_gutter_renderer_end">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="914">Called when drawing a region of lines has ended.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="177"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="916">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_alignment"
              c:identifier="gtk_source_gutter_renderer_get_alignment">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="1215">Get the x-alignment and y-alignment of the gutter renderer.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="204"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1217">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
          <parameter name="xalign"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1218">return location for the x-alignment,
  or %NULL to ignore.</doc>
            <type name="gfloat" c:type="gfloat*"/>
          </parameter>
          <parameter name="yalign"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1220">return location for the y-alignment,
  or %NULL to ignore.</doc>
            <type name="gfloat" c:type="gfloat*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_alignment_mode"
              c:identifier="gtk_source_gutter_renderer_get_alignment_mode"
              glib:get-property="alignment-mode">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="1261">Get the alignment mode. The alignment mode describes the manner in which the
renderer is aligned (see :xalign and :yalign).</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="226"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcegutterrenderer.c"
               line="1268">a #GtkSourceGutterRendererAlignmentMode</doc>
          <type name="GutterRendererAlignmentMode"
                c:type="GtkSourceGutterRendererAlignmentMode"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1263">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_background"
              c:identifier="gtk_source_gutter_renderer_get_background">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="1348">Get the background color of the renderer.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="229"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcegutterrenderer.c"
               line="1355">%TRUE if the background color is set, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1350">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
          <parameter name="color"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1351">return value for a #GdkRGBA</doc>
            <type name="Gdk.RGBA" c:type="GdkRGBA*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_padding"
              c:identifier="gtk_source_gutter_renderer_get_padding">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="1154">Get the x-padding and y-padding of the gutter renderer.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="194"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1156">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
          <parameter name="xpad"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1157">return location for the x-padding,
  or %NULL to ignore.</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="ypad"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1159">return location for the y-padding,
  or %NULL to ignore.</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_size"
              c:identifier="gtk_source_gutter_renderer_get_size"
              glib:get-property="size">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="1313">Get the size of the renderer.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="180"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcegutterrenderer.c"
               line="1319">the size of the renderer.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1315">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_view"
              c:identifier="gtk_source_gutter_renderer_get_view"
              glib:get-property="view">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="1296">Get the view associated to the gutter renderer</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="222"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcegutterrenderer.c"
               line="1302">a #GtkTextView</doc>
          <type name="Gtk.TextView" c:type="GtkTextView*"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1298">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_visible"
              c:identifier="gtk_source_gutter_renderer_get_visible"
              glib:get-property="visible">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="1114">Get whether the gutter renderer is visible.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="191"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcegutterrenderer.c"
               line="1120">%TRUE if the renderer is visible, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1116">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_window_type"
              c:identifier="gtk_source_gutter_renderer_get_window_type"
              glib:get-property="window-type">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="1279">Get the #GtkTextWindowType associated with the gutter renderer.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="219"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcegutterrenderer.c"
               line="1285">a #GtkTextWindowType</doc>
          <type name="Gtk.TextWindowType" c:type="GtkTextWindowType"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1281">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="query_activatable"
              c:identifier="gtk_source_gutter_renderer_query_activatable">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="932">Get whether the renderer is activatable at the location in @event. This is
called from #GtkSourceGutter to determine whether a renderer is activatable
using the mouse pointer.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="245"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcegutterrenderer.c"
               line="943">%TRUE if the renderer can be activated, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="934">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
          <parameter name="iter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="935">a #GtkTextIter at the start of the line to be activated</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="area" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="936">a #GdkRectangle of the cell area to be activated</doc>
            <type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
          </parameter>
          <parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="937">the event that triggered the query</doc>
            <type name="Gdk.Event" c:type="GdkEvent*"/>
          </parameter>
        </parameters>
      </method>
      <method name="query_data"
              c:identifier="gtk_source_gutter_renderer_query_data">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="1057">Emit the #GtkSourceGutterRenderer::query-data signal. This function is called
to query for data just before rendering a cell. This is called from the
#GtkSourceGutter.  Implementations can override the default signal handler or
can connect a signal handler externally to the
#GtkSourceGutterRenderer::query-data signal.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="265"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1059">a #GtkSourceGutterRenderer.</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
          <parameter name="start" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1060">a #GtkTextIter.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="end" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1061">a #GtkTextIter.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="state" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1062">a #GtkSourceGutterRendererState.</doc>
            <type name="GutterRendererState"
                  c:type="GtkSourceGutterRendererState"/>
          </parameter>
        </parameters>
      </method>
      <method name="query_tooltip"
              c:identifier="gtk_source_gutter_renderer_query_tooltip">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="1012">Emits the #GtkSourceGutterRenderer::query-tooltip signal. This function is
called from #GtkSourceGutter. Implementations can override the default signal
handler or can connect to the signal externally.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="256"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcegutterrenderer.c"
               line="1025">%TRUE if the tooltip has been set, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1014">a #GtkSourceGutterRenderer.</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
          <parameter name="iter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1015">a #GtkTextIter.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="area" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1016">a #GdkRectangle.</doc>
            <type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
          </parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1017">The x position of the tooltip.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1018">The y position of the tooltip.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="tooltip" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1019">a #GtkTooltip.</doc>
            <type name="Gtk.Tooltip" c:type="GtkTooltip*"/>
          </parameter>
        </parameters>
      </method>
      <method name="queue_draw"
              c:identifier="gtk_source_gutter_renderer_queue_draw">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="996">Emits the #GtkSourceGutterRenderer::queue-draw signal of the renderer. Call
this from an implementation to inform that the renderer has changed such that
it needs to redraw.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="252"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="998">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_alignment"
              c:identifier="gtk_source_gutter_renderer_set_alignment">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="1182">Set the alignment of the gutter renderer. Both @xalign and @yalign can be
-1, which means the values will not be changed (this allows changing only
one of the values).

@xalign is the horizontal alignment. Set to 0 for a left alignment. 1 for a
right alignment. And 0.5 for centering the cells. @yalign is the vertical
alignment. Set to 0 for a top alignment. 1 for a bottom alignment.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="209"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1184">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
          <parameter name="xalign" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1185">the x-alignment</doc>
            <type name="gfloat" c:type="gfloat"/>
          </parameter>
          <parameter name="yalign" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1186">the y-alignment</doc>
            <type name="gfloat" c:type="gfloat"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_alignment_mode"
              c:identifier="gtk_source_gutter_renderer_set_alignment_mode"
              glib:set-property="alignment-mode">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="1243">Set the alignment mode. The alignment mode describes the manner in which the
renderer is aligned (see :xalign and :yalign).</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="214"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1245">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1246">a #GtkSourceGutterRendererAlignmentMode</doc>
            <type name="GutterRendererAlignmentMode"
                  c:type="GtkSourceGutterRendererAlignmentMode"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_background"
              c:identifier="gtk_source_gutter_renderer_set_background">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="1372">Set the background color of the renderer. If @color is set to %NULL, the
renderer will not have a background color.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="233"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1374">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
          <parameter name="color"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1375">a #GdkRGBA or %NULL</doc>
            <type name="Gdk.RGBA" c:type="const GdkRGBA*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_padding"
              c:identifier="gtk_source_gutter_renderer_set_padding">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="1131">Set the padding of the gutter renderer. Both @xpad and @ypad can be
-1, which means the values will not be changed (this allows changing only
one of the values).

@xpad is the left and right padding. @ypad is the top and bottom padding.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="199"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1133">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
          <parameter name="xpad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1134">the x-padding</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="ypad" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1135">the y-padding</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_size"
              c:identifier="gtk_source_gutter_renderer_set_size"
              glib:set-property="size">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="1330">Sets the size of the renderer. A value of -1 specifies that the size
is to be determined dynamically.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="183"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1332">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1333">the size</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_visible"
              c:identifier="gtk_source_gutter_renderer_set_visible"
              glib:set-property="visible">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="1097">Set whether the gutter renderer is visible.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                         line="187"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1099">a #GtkSourceGutterRenderer</doc>
            <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
          </instance-parameter>
          <parameter name="visible" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1100">the visibility</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <property name="alignment-mode"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_alignment_mode"
                getter="get_alignment_mode"
                default-value="GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_CELL">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="754">The alignment mode of the renderer. This can be used to indicate
that in the case a cell spans multiple lines (due to text wrapping)
the alignment should work on either the full cell, the first line
or the last line.</doc>
        <type name="GutterRendererAlignmentMode"/>
      </property>
      <property name="background-rgba" writable="1" transfer-ownership="none">
        <type name="Gdk.RGBA"/>
      </property>
      <property name="background-set"
                writable="1"
                construct="1"
                transfer-ownership="none"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="size"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_size"
                getter="get_size"
                default-value="0">
        <type name="gint" c:type="gint"/>
      </property>
      <property name="view" transfer-ownership="none" getter="get_view">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="740">The view on which the renderer is placed.</doc>
        <type name="Gtk.TextView"/>
      </property>
      <property name="visible"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_visible"
                getter="get_visible"
                default-value="TRUE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="525">The visibility of the renderer.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="window-type"
                transfer-ownership="none"
                getter="get_window_type"
                default-value="GTK_TEXT_WINDOW_PRIVATE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="772">The window type of the view on which the renderer is placed (left,
or right).</doc>
        <type name="Gtk.TextWindowType"/>
      </property>
      <property name="xalign"
                writable="1"
                construct="1"
                transfer-ownership="none"
                default-value="0.000000">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="569">The horizontal alignment of the renderer. Set to 0 for a left
alignment. 1 for a right alignment. And 0.5 for centering the cells.
A value lower than 0 doesn't modify the alignment.</doc>
        <type name="gfloat" c:type="gfloat"/>
      </property>
      <property name="xpad"
                writable="1"
                construct="1"
                transfer-ownership="none"
                default-value="0">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="539">The left and right padding of the renderer.</doc>
        <type name="gint" c:type="gint"/>
      </property>
      <property name="yalign"
                writable="1"
                construct="1"
                transfer-ownership="none"
                default-value="0.000000">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="586">The vertical alignment of the renderer. Set to 0 for a top
alignment. 1 for a bottom alignment. And 0.5 for centering the cells.
A value lower than 0 doesn't modify the alignment.</doc>
        <type name="gfloat" c:type="gfloat"/>
      </property>
      <property name="ypad"
                writable="1"
                construct="1"
                transfer-ownership="none"
                default-value="0">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="554">The top and bottom padding of the renderer.</doc>
        <type name="gint" c:type="gint"/>
      </property>
      <field name="parent">
        <type name="GObject.InitiallyUnowned" c:type="GInitiallyUnowned"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="GutterRendererPrivate"
              c:type="GtkSourceGutterRendererPrivate*"/>
      </field>
      <glib:signal name="activate" when="last">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="603">The ::activate signal is emitted when the renderer is
activated.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="iter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="606">a #GtkTextIter</doc>
            <type name="Gtk.TextIter"/>
          </parameter>
          <parameter name="area" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="607">a #GdkRectangle</doc>
            <type name="Gdk.Rectangle"/>
          </parameter>
          <parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="608">the event that caused the activation</doc>
            <type name="Gdk.Event"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="query-activatable" when="last">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="712">The ::query-activatable signal is emitted when the renderer
can possibly be activated.</doc>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="iter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="715">a #GtkTextIter</doc>
            <type name="Gtk.TextIter"/>
          </parameter>
          <parameter name="area" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="716">a #GdkRectangle</doc>
            <type name="Gdk.Rectangle"/>
          </parameter>
          <parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="717">the #GdkEvent that is causing the activatable query</doc>
            <type name="Gdk.Event"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="query-data" when="last">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="683">The ::query-data signal is emitted when the renderer needs
to be filled with data just before a cell is drawn. This can
be used by general renderer implementations to allow render
data to be filled in externally.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="start" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="686">a #GtkTextIter</doc>
            <type name="Gtk.TextIter"/>
          </parameter>
          <parameter name="end" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="687">a #GtkTextIter</doc>
            <type name="Gtk.TextIter"/>
          </parameter>
          <parameter name="state" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="688">the renderer state</doc>
            <type name="GutterRendererState"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="query-tooltip" when="last">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="651">The ::query-tooltip signal is emitted when the renderer can
show a tooltip.</doc>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="iter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="654">a #GtkTextIter</doc>
            <type name="Gtk.TextIter"/>
          </parameter>
          <parameter name="area" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="655">a #GdkRectangle</doc>
            <type name="Gdk.Rectangle"/>
          </parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="656">the x position (in window coordinates)</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="657">the y position (in window coordinates)</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="tooltip" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="658">a #GtkTooltip</doc>
            <type name="Gtk.Tooltip"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="queue-draw" when="last">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.c"
             line="630">The ::queue-draw signal is emitted when the renderer needs
to be redrawn. Use gtk_source_gutter_renderer_queue_draw()
to emit this signal from an implementation of the
#GtkSourceGutterRenderer interface.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
    </class>
    <enumeration name="GutterRendererAlignmentMode"
                 glib:type-name="GtkSourceGutterRendererAlignmentMode"
                 glib:get-type="gtk_source_gutter_renderer_alignment_mode_get_type"
                 c:type="GtkSourceGutterRendererAlignmentMode">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcegutterrenderer.h"
           line="62">The alignment mode of the renderer, when a cell spans multiple lines (due to
text wrapping).</doc>
      <member name="cell"
              value="0"
              c:identifier="GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_CELL"
              glib:nick="cell"
              glib:name="GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_CELL">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.h"
             line="64">The full cell.</doc>
      </member>
      <member name="first"
              value="1"
              c:identifier="GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_FIRST"
              glib:nick="first"
              glib:name="GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_FIRST">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.h"
             line="65">The first line.</doc>
      </member>
      <member name="last"
              value="2"
              c:identifier="GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_LAST"
              glib:nick="last"
              glib:name="GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_LAST">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.h"
             line="66">The last line.</doc>
      </member>
    </enumeration>
    <record name="GutterRendererClass"
            c:type="GtkSourceGutterRendererClass"
            glib:is-gtype-struct-for="GutterRenderer">
      <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                       line="154"/>
      <field name="parent_class">
        <type name="GObject.InitiallyUnownedClass"
              c:type="GInitiallyUnownedClass"/>
      </field>
      <field name="begin">
        <callback name="begin">
          <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                           line="91"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="renderer" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="823">a #GtkSourceGutterRenderer</doc>
              <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
            </parameter>
            <parameter name="cr" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="824">a #cairo_t</doc>
              <type name="cairo.Context" c:type="cairo_t*"/>
            </parameter>
            <parameter name="background_area" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="825">a #GdkRectangle</doc>
              <type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
            </parameter>
            <parameter name="cell_area" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="826">a #GdkRectangle</doc>
              <type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
            </parameter>
            <parameter name="start" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="827">a #GtkTextIter</doc>
              <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
            </parameter>
            <parameter name="end" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="828">a #GtkTextIter</doc>
              <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="draw">
        <callback name="draw">
          <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                           line="98"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="renderer" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="863">a #GtkSourceGutterRenderer</doc>
              <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
            </parameter>
            <parameter name="cr" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="864">the cairo render context</doc>
              <type name="cairo.Context" c:type="cairo_t*"/>
            </parameter>
            <parameter name="background_area" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="865">a #GdkRectangle indicating the total area to be drawn</doc>
              <type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
            </parameter>
            <parameter name="cell_area" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="866">a #GdkRectangle indicating the area to draw content</doc>
              <type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
            </parameter>
            <parameter name="start" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="867">a #GtkTextIter</doc>
              <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
            </parameter>
            <parameter name="end" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="868">a #GtkTextIter</doc>
              <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
            </parameter>
            <parameter name="state" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="869">a #GtkSourceGutterRendererState</doc>
              <type name="GutterRendererState"
                    c:type="GtkSourceGutterRendererState"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="end">
        <callback name="end">
          <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                           line="106"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="renderer" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="916">a #GtkSourceGutterRenderer</doc>
              <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="change_view">
        <callback name="change_view">
          <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                           line="115"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="renderer" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.h"
                   line="110">a #GtkSourceGutterRenderer.</doc>
              <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
            </parameter>
            <parameter name="old_view"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.h"
                   line="111">the old #GtkTextView.</doc>
              <type name="Gtk.TextView" c:type="GtkTextView*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="change_buffer">
        <callback name="change_buffer">
          <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                           line="125"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="renderer" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.h"
                   line="120">a #GtkSourceGutterRenderer.</doc>
              <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
            </parameter>
            <parameter name="old_buffer"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.h"
                   line="121">the old #GtkTextBuffer.</doc>
              <type name="Gtk.TextBuffer" c:type="GtkTextBuffer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="query_activatable">
        <callback name="query_activatable">
          <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                           line="129"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="943">%TRUE if the renderer can be activated, %FALSE otherwise</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="renderer" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="934">a #GtkSourceGutterRenderer</doc>
              <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
            </parameter>
            <parameter name="iter" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="935">a #GtkTextIter at the start of the line to be activated</doc>
              <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
            </parameter>
            <parameter name="area" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="936">a #GdkRectangle of the cell area to be activated</doc>
              <type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
            </parameter>
            <parameter name="event" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="937">the event that triggered the query</doc>
              <type name="Gdk.Event" c:type="GdkEvent*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="activate">
        <callback name="activate">
          <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                           line="134"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="renderer" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="974">a #GtkSourceGutterRenderer</doc>
              <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
            </parameter>
            <parameter name="iter" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="975">a #GtkTextIter at the start of the line where the renderer is activated</doc>
              <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
            </parameter>
            <parameter name="area" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="976">a #GdkRectangle of the cell area where the renderer is activated</doc>
              <type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
            </parameter>
            <parameter name="event" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="977">the event that triggered the activation</doc>
              <type name="Gdk.Event" c:type="GdkEvent*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="queue_draw">
        <callback name="queue_draw">
          <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                           line="139"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="renderer" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="998">a #GtkSourceGutterRenderer</doc>
              <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="query_tooltip">
        <callback name="query_tooltip">
          <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                           line="141"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderer.c"
                 line="1025">%TRUE if the tooltip has been set, %FALSE otherwise</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="renderer" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="1014">a #GtkSourceGutterRenderer.</doc>
              <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
            </parameter>
            <parameter name="iter" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="1015">a #GtkTextIter.</doc>
              <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
            </parameter>
            <parameter name="area" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="1016">a #GdkRectangle.</doc>
              <type name="Gdk.Rectangle" c:type="GdkRectangle*"/>
            </parameter>
            <parameter name="x" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="1017">The x position of the tooltip.</doc>
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="y" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="1018">The y position of the tooltip.</doc>
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="tooltip" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="1019">a #GtkTooltip.</doc>
              <type name="Gtk.Tooltip" c:type="GtkTooltip*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="query_data">
        <callback name="query_data">
          <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                           line="148"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="renderer" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="1059">a #GtkSourceGutterRenderer.</doc>
              <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
            </parameter>
            <parameter name="start" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="1060">a #GtkTextIter.</doc>
              <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
            </parameter>
            <parameter name="end" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="1061">a #GtkTextIter.</doc>
              <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
            </parameter>
            <parameter name="state" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcegutterrenderer.c"
                   line="1062">a #GtkSourceGutterRendererState.</doc>
              <type name="GutterRendererState"
                    c:type="GtkSourceGutterRendererState"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <class name="GutterRendererPixbuf"
           c:symbol-prefix="gutter_renderer_pixbuf"
           c:type="GtkSourceGutterRendererPixbuf"
           parent="GutterRenderer"
           glib:type-name="GtkSourceGutterRendererPixbuf"
           glib:get-type="gtk_source_gutter_renderer_pixbuf_get_type"
           glib:type-struct="GutterRendererPixbufClass">
      <source-position filename="gtksourceview/gtksourcegutterrendererpixbuf.h"
                       line="60"/>
      <constructor name="new"
                   c:identifier="gtk_source_gutter_renderer_pixbuf_new">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrendererpixbuf.c"
             line="343">Create a new #GtkSourceGutterRendererPixbuf.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrendererpixbuf.h"
                         line="66"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcegutterrendererpixbuf.c"
               line="348">A #GtkSourceGutterRenderer</doc>
          <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
        </return-value>
      </constructor>
      <method name="get_gicon"
              c:identifier="gtk_source_gutter_renderer_pixbuf_get_gicon"
              glib:get-property="gicon">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrendererpixbuf.c"
             line="405">Get the gicon of the renderer</doc>
        <source-position filename="gtksourceview/gtksourcegutterrendererpixbuf.h"
                         line="80"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcegutterrendererpixbuf.c"
               line="411">a #GIcon</doc>
          <type name="Gio.Icon" c:type="GIcon*"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrendererpixbuf.c"
                 line="407">a #GtkSourceGutterRendererPixbuf</doc>
            <type name="GutterRendererPixbuf"
                  c:type="GtkSourceGutterRendererPixbuf*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_icon_name"
              c:identifier="gtk_source_gutter_renderer_pixbuf_get_icon_name"
              glib:get-property="icon-name">
        <source-position filename="gtksourceview/gtksourcegutterrendererpixbuf.h"
                         line="87"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <type name="GutterRendererPixbuf"
                  c:type="GtkSourceGutterRendererPixbuf*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_pixbuf"
              c:identifier="gtk_source_gutter_renderer_pixbuf_get_pixbuf"
              glib:get-property="pixbuf">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrendererpixbuf.c"
             line="373">Get the pixbuf of the renderer.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrendererpixbuf.h"
                         line="73"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcegutterrendererpixbuf.c"
               line="379">a #GdkPixbuf</doc>
          <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrendererpixbuf.c"
                 line="375">a #GtkSourceGutterRendererPixbuf</doc>
            <type name="GutterRendererPixbuf"
                  c:type="GtkSourceGutterRendererPixbuf*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_gicon"
              c:identifier="gtk_source_gutter_renderer_pixbuf_set_gicon"
              glib:set-property="gicon">
        <source-position filename="gtksourceview/gtksourcegutterrendererpixbuf.h"
                         line="76"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrendererpixbuf.c"
                 line="392">a #GtkSourceGutterRendererPixbuf</doc>
            <type name="GutterRendererPixbuf"
                  c:type="GtkSourceGutterRendererPixbuf*"/>
          </instance-parameter>
          <parameter name="icon"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrendererpixbuf.c"
                 line="393">the icon, or %NULL.</doc>
            <type name="Gio.Icon" c:type="GIcon*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_icon_name"
              c:identifier="gtk_source_gutter_renderer_pixbuf_set_icon_name"
              glib:set-property="icon-name">
        <source-position filename="gtksourceview/gtksourcegutterrendererpixbuf.h"
                         line="83"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrendererpixbuf.c"
                 line="424">a #GtkSourceGutterRendererPixbuf</doc>
            <type name="GutterRendererPixbuf"
                  c:type="GtkSourceGutterRendererPixbuf*"/>
          </instance-parameter>
          <parameter name="icon_name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrendererpixbuf.c"
                 line="425">the icon name, or %NULL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_pixbuf"
              c:identifier="gtk_source_gutter_renderer_pixbuf_set_pixbuf"
              glib:set-property="pixbuf">
        <source-position filename="gtksourceview/gtksourcegutterrendererpixbuf.h"
                         line="69"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrendererpixbuf.c"
                 line="359">a #GtkSourceGutterRendererPixbuf</doc>
            <type name="GutterRendererPixbuf"
                  c:type="GtkSourceGutterRendererPixbuf*"/>
          </instance-parameter>
          <parameter name="pixbuf"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrendererpixbuf.c"
                 line="360">the pixbuf, or %NULL.</doc>
            <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
          </parameter>
        </parameters>
      </method>
      <property name="gicon"
                writable="1"
                transfer-ownership="none"
                setter="set_gicon"
                getter="get_gicon">
        <type name="Gio.Icon"/>
      </property>
      <property name="icon-name"
                writable="1"
                transfer-ownership="none"
                setter="set_icon_name"
                getter="get_icon_name"
                default-value="NULL">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="pixbuf"
                writable="1"
                transfer-ownership="none"
                setter="set_pixbuf"
                getter="get_pixbuf">
        <type name="GdkPixbuf.Pixbuf"/>
      </property>
      <field name="parent" readable="0" private="1">
        <type name="GutterRenderer" c:type="GtkSourceGutterRenderer"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="GutterRendererPixbufPrivate"
              c:type="GtkSourceGutterRendererPixbufPrivate*"/>
      </field>
    </class>
    <record name="GutterRendererPixbufClass"
            c:type="GtkSourceGutterRendererPixbufClass"
            glib:is-gtype-struct-for="GutterRendererPixbuf">
      <source-position filename="gtksourceview/gtksourcegutterrendererpixbuf.h"
                       line="60"/>
      <field name="parent_class" readable="0" private="1">
        <type name="GutterRendererClass"
              c:type="GtkSourceGutterRendererClass"/>
      </field>
      <field name="padding" readable="0" private="1">
        <array zero-terminated="0" fixed-size="10">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="GutterRendererPixbufPrivate"
            c:type="GtkSourceGutterRendererPixbufPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gtksourceview/gtksourcegutterrendererpixbuf.h"
                       line="42"/>
    </record>
    <record name="GutterRendererPrivate"
            c:type="GtkSourceGutterRendererPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                       line="42"/>
    </record>
    <bitfield name="GutterRendererState"
              glib:type-name="GtkSourceGutterRendererState"
              glib:get-type="gtk_source_gutter_renderer_state_get_type"
              c:type="GtkSourceGutterRendererState">
      <member name="normal"
              value="0"
              c:identifier="GTK_SOURCE_GUTTER_RENDERER_STATE_NORMAL"
              glib:nick="normal"
              glib:name="GTK_SOURCE_GUTTER_RENDERER_STATE_NORMAL">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.h"
             line="46">normal state</doc>
      </member>
      <member name="cursor"
              value="1"
              c:identifier="GTK_SOURCE_GUTTER_RENDERER_STATE_CURSOR"
              glib:nick="cursor"
              glib:name="GTK_SOURCE_GUTTER_RENDERER_STATE_CURSOR">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.h"
             line="47">area in the renderer represents the
line on which the insert cursor is currently positioned</doc>
      </member>
      <member name="prelit"
              value="2"
              c:identifier="GTK_SOURCE_GUTTER_RENDERER_STATE_PRELIT"
              glib:nick="prelit"
              glib:name="GTK_SOURCE_GUTTER_RENDERER_STATE_PRELIT">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.h"
             line="49">the mouse pointer is currently
over the activatable area of the renderer</doc>
      </member>
      <member name="selected"
              value="4"
              c:identifier="GTK_SOURCE_GUTTER_RENDERER_STATE_SELECTED"
              glib:nick="selected"
              glib:name="GTK_SOURCE_GUTTER_RENDERER_STATE_SELECTED">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderer.h"
             line="51">area in the renderer represents
a line in the buffer which contains part of the selection</doc>
      </member>
    </bitfield>
    <class name="GutterRendererText"
           c:symbol-prefix="gutter_renderer_text"
           c:type="GtkSourceGutterRendererText"
           parent="GutterRenderer"
           glib:type-name="GtkSourceGutterRendererText"
           glib:get-type="gtk_source_gutter_renderer_text_get_type"
           glib:type-struct="GutterRendererTextClass">
      <source-position filename="gtksourceview/gtksourcegutterrenderertext.h"
                       line="60"/>
      <constructor name="new"
                   c:identifier="gtk_source_gutter_renderer_text_new">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderertext.c"
             line="403">Create a new #GtkSourceGutterRendererText.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderertext.h"
                         line="66"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcegutterrenderertext.c"
               line="408">A #GtkSourceGutterRenderer</doc>
          <type name="GutterRenderer" c:type="GtkSourceGutterRenderer*"/>
        </return-value>
      </constructor>
      <method name="measure"
              c:identifier="gtk_source_gutter_renderer_text_measure">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderertext.c"
             line="244">Measures the text provided using the pango layout used by the
#GtkSourceGutterRendererText.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderertext.h"
                         line="79"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderertext.c"
                 line="246">a #GtkSourceGutterRendererText.</doc>
            <type name="GutterRendererText"
                  c:type="GtkSourceGutterRendererText*"/>
          </instance-parameter>
          <parameter name="text" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderertext.c"
                 line="247">the text to measure.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="width"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderertext.c"
                 line="248">location to store the width of the text in pixels,
  or %NULL.</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="height"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderertext.c"
                 line="250">location to store the height of the text in
  pixels, or %NULL.</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="measure_markup"
              c:identifier="gtk_source_gutter_renderer_text_measure_markup">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcegutterrenderertext.c"
             line="268">Measures the pango markup provided using the pango layout used by the
#GtkSourceGutterRendererText.</doc>
        <source-position filename="gtksourceview/gtksourcegutterrenderertext.h"
                         line="85"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderertext.c"
                 line="270">a #GtkSourceGutterRendererText.</doc>
            <type name="GutterRendererText"
                  c:type="GtkSourceGutterRendererText*"/>
          </instance-parameter>
          <parameter name="markup" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderertext.c"
                 line="271">the pango markup to measure.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="width"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderertext.c"
                 line="272">location to store the width of the text in pixels,
  or %NULL.</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="height"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcegutterrenderertext.c"
                 line="274">location to store the height of the text in
  pixels, or %NULL.</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_markup"
              c:identifier="gtk_source_gutter_renderer_text_set_markup"
              glib:set-property="markup">
        <source-position filename="gtksourceview/gtksourcegutterrenderertext.h"
                         line="69"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <type name="GutterRendererText"
                  c:type="GtkSourceGutterRendererText*"/>
          </instance-parameter>
          <parameter name="markup" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="length" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_text"
              c:identifier="gtk_source_gutter_renderer_text_set_text"
              glib:set-property="text">
        <source-position filename="gtksourceview/gtksourcegutterrenderertext.h"
                         line="74"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <type name="GutterRendererText"
                  c:type="GtkSourceGutterRendererText*"/>
          </instance-parameter>
          <parameter name="text" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="length" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <property name="markup"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_markup"
                default-value="NULL">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="text"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_text"
                default-value="NULL">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent" readable="0" private="1">
        <type name="GutterRenderer" c:type="GtkSourceGutterRenderer"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="GutterRendererTextPrivate"
              c:type="GtkSourceGutterRendererTextPrivate*"/>
      </field>
    </class>
    <record name="GutterRendererTextClass"
            c:type="GtkSourceGutterRendererTextClass"
            glib:is-gtype-struct-for="GutterRendererText">
      <source-position filename="gtksourceview/gtksourcegutterrenderertext.h"
                       line="60"/>
      <field name="parent_class" readable="0" private="1">
        <type name="GutterRendererClass"
              c:type="GtkSourceGutterRendererClass"/>
      </field>
      <field name="padding" readable="0" private="1">
        <array zero-terminated="0" fixed-size="10">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="GutterRendererTextPrivate"
            c:type="GtkSourceGutterRendererTextPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gtksourceview/gtksourcegutterrenderertext.h"
                       line="42"/>
    </record>
    <function-macro name="IS_BUFFER"
                    c:identifier="GTK_SOURCE_IS_BUFFER"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcebuffer.h" line="40"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_BUFFER_CLASS"
                    c:identifier="GTK_SOURCE_IS_BUFFER_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcebuffer.h" line="41"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_COMPLETION"
                    c:identifier="GTK_SOURCE_IS_COMPLETION"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletion.h"
                       line="40"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_COMPLETION_CLASS"
                    c:identifier="GTK_SOURCE_IS_COMPLETION_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletion.h"
                       line="41"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_COMPLETION_CONTEXT"
                    c:identifier="GTK_SOURCE_IS_COMPLETION_CONTEXT"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletioncontext.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_COMPLETION_CONTEXT_CLASS"
                    c:identifier="GTK_SOURCE_IS_COMPLETION_CONTEXT_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletioncontext.h"
                       line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_COMPLETION_INFO"
                    c:identifier="GTK_SOURCE_IS_COMPLETION_INFO"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletioninfo.h"
                       line="37"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_COMPLETION_INFO_CLASS"
                    c:identifier="GTK_SOURCE_IS_COMPLETION_INFO_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletioninfo.h"
                       line="38"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_COMPLETION_ITEM"
                    c:identifier="GTK_SOURCE_IS_COMPLETION_ITEM"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletionitem.h"
                       line="37"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_COMPLETION_ITEM_CLASS"
                    c:identifier="GTK_SOURCE_IS_COMPLETION_ITEM_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletionitem.h"
                       line="38"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_COMPLETION_PROPOSAL"
                    c:identifier="GTK_SOURCE_IS_COMPLETION_PROPOSAL"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletionproposal.h"
                       line="37"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_COMPLETION_PROVIDER"
                    c:identifier="GTK_SOURCE_IS_COMPLETION_PROVIDER"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcecompletionprovider.h"
                       line="37"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_COMPLETION_WORDS"
                    c:identifier="GTK_SOURCE_IS_COMPLETION_WORDS"
                    introspectable="0">
      <source-position filename="gtksourceview/completion-providers/words/gtksourcecompletionwords.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_COMPLETION_WORDS_CLASS"
                    c:identifier="GTK_SOURCE_IS_COMPLETION_WORDS_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/completion-providers/words/gtksourcecompletionwords.h"
                       line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_FILE"
                    c:identifier="GTK_SOURCE_IS_FILE"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcefile.h" line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_FILE_CLASS"
                    c:identifier="GTK_SOURCE_IS_FILE_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcefile.h" line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_FILE_LOADER"
                    c:identifier="GTK_SOURCE_IS_FILE_LOADER"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcefileloader.h"
                       line="40"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_FILE_LOADER_CLASS"
                    c:identifier="GTK_SOURCE_IS_FILE_LOADER_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcefileloader.h"
                       line="41"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_FILE_SAVER"
                    c:identifier="GTK_SOURCE_IS_FILE_SAVER"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcefilesaver.h"
                       line="40"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_FILE_SAVER_CLASS"
                    c:identifier="GTK_SOURCE_IS_FILE_SAVER_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcefilesaver.h"
                       line="41"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_GUTTER"
                    c:identifier="GTK_SOURCE_IS_GUTTER"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcegutter.h" line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_GUTTER_CLASS"
                    c:identifier="GTK_SOURCE_IS_GUTTER_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcegutter.h" line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_GUTTER_RENDERER"
                    c:identifier="GTK_SOURCE_IS_GUTTER_RENDERER"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                       line="37"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_GUTTER_RENDERER_CLASS"
                    c:identifier="GTK_SOURCE_IS_GUTTER_RENDERER_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcegutterrenderer.h"
                       line="38"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_GUTTER_RENDERER_PIXBUF"
                    c:identifier="GTK_SOURCE_IS_GUTTER_RENDERER_PIXBUF"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcegutterrendererpixbuf.h"
                       line="37"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_GUTTER_RENDERER_PIXBUF_CLASS"
                    c:identifier="GTK_SOURCE_IS_GUTTER_RENDERER_PIXBUF_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcegutterrendererpixbuf.h"
                       line="38"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_GUTTER_RENDERER_TEXT"
                    c:identifier="GTK_SOURCE_IS_GUTTER_RENDERER_TEXT"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcegutterrenderertext.h"
                       line="37"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_GUTTER_RENDERER_TEXT_CLASS"
                    c:identifier="GTK_SOURCE_IS_GUTTER_RENDERER_TEXT_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcegutterrenderertext.h"
                       line="38"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_LANGUAGE"
                    c:identifier="GTK_SOURCE_IS_LANGUAGE"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcelanguage.h" line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_LANGUAGE_CLASS"
                    c:identifier="GTK_SOURCE_IS_LANGUAGE_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcelanguage.h" line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_LANGUAGE_MANAGER"
                    c:identifier="GTK_SOURCE_IS_LANGUAGE_MANAGER"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcelanguagemanager.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_LANGUAGE_MANAGER_CLASS"
                    c:identifier="GTK_SOURCE_IS_LANGUAGE_MANAGER_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcelanguagemanager.h"
                       line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_MAP"
                    c:identifier="GTK_SOURCE_IS_MAP"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcemap.h" line="37"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_MAP_CLASS"
                    c:identifier="GTK_SOURCE_IS_MAP_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcemap.h" line="38"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_MARK"
                    c:identifier="GTK_SOURCE_IS_MARK"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcemark.h" line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_MARK_ATTRIBUTES"
                    c:identifier="GTK_SOURCE_IS_MARK_ATTRIBUTES"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcemarkattributes.h"
                       line="37"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_MARK_ATTRIBUTES_CLASS"
                    c:identifier="GTK_SOURCE_IS_MARK_ATTRIBUTES_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcemarkattributes.h"
                       line="38"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_MARK_CLASS"
                    c:identifier="GTK_SOURCE_IS_MARK_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcemark.h" line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_PRINT_COMPOSITOR"
                    c:identifier="GTK_SOURCE_IS_PRINT_COMPOSITOR"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                       line="37"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_PRINT_COMPOSITOR_CLASS"
                    c:identifier="GTK_SOURCE_IS_PRINT_COMPOSITOR_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                       line="38"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_SEARCH_CONTEXT"
                    c:identifier="GTK_SOURCE_IS_SEARCH_CONTEXT"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_SEARCH_CONTEXT_CLASS"
                    c:identifier="GTK_SOURCE_IS_SEARCH_CONTEXT_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                       line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_SEARCH_SETTINGS"
                    c:identifier="GTK_SOURCE_IS_SEARCH_SETTINGS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcesearchsettings.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_SEARCH_SETTINGS_CLASS"
                    c:identifier="GTK_SOURCE_IS_SEARCH_SETTINGS_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcesearchsettings.h"
                       line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_SPACE_DRAWER"
                    c:identifier="GTK_SOURCE_IS_SPACE_DRAWER"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcespacedrawer.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_SPACE_DRAWER_CLASS"
                    c:identifier="GTK_SOURCE_IS_SPACE_DRAWER_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcespacedrawer.h"
                       line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_STYLE"
                    c:identifier="GTK_SOURCE_IS_STYLE"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyle.h" line="35"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_STYLE_CLASS"
                    c:identifier="GTK_SOURCE_IS_STYLE_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyle.h" line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_STYLE_SCHEME"
                    c:identifier="GTK_SOURCE_IS_STYLE_SCHEME"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestylescheme.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_STYLE_SCHEME_CHOOSER"
                    c:identifier="GTK_SOURCE_IS_STYLE_SCHEME_CHOOSER"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyleschemechooser.h"
                       line="35"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_STYLE_SCHEME_CHOOSER_BUTTON"
                    c:identifier="GTK_SOURCE_IS_STYLE_SCHEME_CHOOSER_BUTTON"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyleschemechooserbutton.h"
                       line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_STYLE_SCHEME_CHOOSER_BUTTON_CLASS"
                    c:identifier="GTK_SOURCE_IS_STYLE_SCHEME_CHOOSER_BUTTON_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyleschemechooserbutton.h"
                       line="39"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_STYLE_SCHEME_CHOOSER_WIDGET"
                    c:identifier="GTK_SOURCE_IS_STYLE_SCHEME_CHOOSER_WIDGET"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyleschemechooserwidget.h"
                       line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_STYLE_SCHEME_CHOOSER_WIDGET_CLASS"
                    c:identifier="GTK_SOURCE_IS_STYLE_SCHEME_CHOOSER_WIDGET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyleschemechooserwidget.h"
                       line="39"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_STYLE_SCHEME_CLASS"
                    c:identifier="GTK_SOURCE_IS_STYLE_SCHEME_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestylescheme.h"
                       line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_STYLE_SCHEME_MANAGER"
                    c:identifier="GTK_SOURCE_IS_STYLE_SCHEME_MANAGER"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyleschememanager.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_STYLE_SCHEME_MANAGER_CLASS"
                    c:identifier="GTK_SOURCE_IS_STYLE_SCHEME_MANAGER_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyleschememanager.h"
                       line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_UNDO_MANAGER"
                    c:identifier="GTK_SOURCE_IS_UNDO_MANAGER"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourceundomanager.h"
                       line="37"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_VIEW"
                    c:identifier="GTK_SOURCE_IS_VIEW"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourceview.h" line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_VIEW_CLASS"
                    c:identifier="GTK_SOURCE_IS_VIEW_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourceview.h" line="39"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="LANGUAGE"
                    c:identifier="GTK_SOURCE_LANGUAGE"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcelanguage.h" line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="LANGUAGE_CLASS"
                    c:identifier="GTK_SOURCE_LANGUAGE_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcelanguage.h" line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="LANGUAGE_GET_CLASS"
                    c:identifier="GTK_SOURCE_LANGUAGE_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcelanguage.h" line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="LANGUAGE_MANAGER"
                    c:identifier="GTK_SOURCE_LANGUAGE_MANAGER"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcelanguagemanager.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="LANGUAGE_MANAGER_CLASS"
                    c:identifier="GTK_SOURCE_LANGUAGE_MANAGER_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcelanguagemanager.h"
                       line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="LANGUAGE_MANAGER_GET_CLASS"
                    c:identifier="GTK_SOURCE_LANGUAGE_MANAGER_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcelanguagemanager.h"
                       line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <class name="Language"
           c:symbol-prefix="language"
           c:type="GtkSourceLanguage"
           parent="GObject.Object"
           glib:type-name="GtkSourceLanguage"
           glib:get-type="gtk_source_language_get_type"
           glib:type-struct="LanguageClass">
      <source-position filename="gtksourceview/gtksourcelanguage.h" line="57"/>
      <method name="get_globs" c:identifier="gtk_source_language_get_globs">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcelanguage.c"
             line="605">Returns the globs associated to this language. This is just
an utility wrapper around gtk_source_language_get_metadata() to
retrieve the "globs" metadata property and split it into an array.</doc>
        <source-position filename="gtksourceview/gtksourcelanguage.h"
                         line="82"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcelanguage.c"
               line="613">
a newly-allocated %NULL terminated array containing the globs or %NULL
if no globs are found.
The returned array must be freed with g_strfreev().</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="language" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcelanguage.c"
                 line="607">a #GtkSourceLanguage.</doc>
            <type name="Language" c:type="GtkSourceLanguage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_hidden"
              c:identifier="gtk_source_language_get_hidden"
              glib:get-property="hidden">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcelanguage.c"
             line="540">Returns whether the language should be hidden from the user.</doc>
        <source-position filename="gtksourceview/gtksourcelanguage.h"
                         line="72"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcelanguage.c"
               line="546">%TRUE if the language should be hidden, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="language" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcelanguage.c"
                 line="542">a #GtkSourceLanguage</doc>
            <type name="Language" c:type="GtkSourceLanguage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_id"
              c:identifier="gtk_source_language_get_id"
              glib:get-property="id">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcelanguage.c"
             line="481">Returns the ID of the language. The ID is not locale-dependent.
The returned string is owned by @language and should not be freed
or modified.</doc>
        <source-position filename="gtksourceview/gtksourcelanguage.h"
                         line="63"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcelanguage.c"
               line="489">the ID of @language.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="language" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcelanguage.c"
                 line="483">a #GtkSourceLanguage.</doc>
            <type name="Language" c:type="GtkSourceLanguage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_metadata"
              c:identifier="gtk_source_language_get_metadata">
        <source-position filename="gtksourceview/gtksourcelanguage.h"
                         line="75"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcelanguage.c"
               line="561">value of property @name stored in
the metadata of @language or %NULL if language does not contain the
specified metadata property.
The returned string is owned by @language and should not be freed
or modified.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="language" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcelanguage.c"
                 line="558">a #GtkSourceLanguage.</doc>
            <type name="Language" c:type="GtkSourceLanguage*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcelanguage.c"
                 line="559">metadata property name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_mime_types"
              c:identifier="gtk_source_language_get_mime_types">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcelanguage.c"
             line="577">Returns the mime types associated to this language. This is just
an utility wrapper around gtk_source_language_get_metadata() to
retrieve the "mimetypes" metadata property and split it into an
array.</doc>
        <source-position filename="gtksourceview/gtksourcelanguage.h"
                         line="79"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcelanguage.c"
               line="586">
a newly-allocated %NULL terminated array containing the mime types
or %NULL if no mime types are found.
The returned array must be freed with g_strfreev().</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="language" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcelanguage.c"
                 line="579">a #GtkSourceLanguage.</doc>
            <type name="Language" c:type="GtkSourceLanguage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name"
              c:identifier="gtk_source_language_get_name"
              glib:get-property="name">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcelanguage.c"
             line="500">Returns the localized name of the language.
The returned string is owned by @language and should not be freed
or modified.</doc>
        <source-position filename="gtksourceview/gtksourcelanguage.h"
                         line="66"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcelanguage.c"
               line="508">the name of @language.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="language" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcelanguage.c"
                 line="502">a #GtkSourceLanguage.</doc>
            <type name="Language" c:type="GtkSourceLanguage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_section"
              c:identifier="gtk_source_language_get_section"
              glib:get-property="section">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcelanguage.c"
             line="519">Returns the localized section of the language.
Each language belong to a section (ex. HTML belogs to the
Markup section).
The returned string is owned by @language and should not be freed
or modified.</doc>
        <source-position filename="gtksourceview/gtksourcelanguage.h"
                         line="69"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcelanguage.c"
               line="529">the section of @language.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="language" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcelanguage.c"
                 line="521">a #GtkSourceLanguage.</doc>
            <type name="Language" c:type="GtkSourceLanguage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_style_fallback"
              c:identifier="gtk_source_language_get_style_fallback"
              version="3.4">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcelanguage.c"
             line="910">Returns the ID of the style to use if the specified @style_id
is not present in the current style scheme.</doc>
        <source-position filename="gtksourceview/gtksourcelanguage.h"
                         line="92"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcelanguage.c"
               line="918">the ID of the style to use if the
specified @style_id is not present in the current style scheme or %NULL
if the style has no fallback defined.
The returned string is owned by the @language and must not be modified.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="language" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcelanguage.c"
                 line="912">a #GtkSourceLanguage.</doc>
            <type name="Language" c:type="GtkSourceLanguage*"/>
          </instance-parameter>
          <parameter name="style_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcelanguage.c"
                 line="913">a style ID.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_style_ids"
              c:identifier="gtk_source_language_get_style_ids">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcelanguage.c"
             line="845">Returns the ids of the styles defined by this @language.</doc>
        <source-position filename="gtksourceview/gtksourcelanguage.h"
                         line="85"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcelanguage.c"
               line="851">
a newly-allocated %NULL terminated array containing ids of the
styles defined by this @language or %NULL if no style is defined.
The returned array must be freed with g_strfreev().</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="language" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcelanguage.c"
                 line="847">a #GtkSourceLanguage.</doc>
            <type name="Language" c:type="GtkSourceLanguage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_style_name"
              c:identifier="gtk_source_language_get_style_name">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcelanguage.c"
             line="883">Returns the name of the style with ID @style_id defined by this @language.</doc>
        <source-position filename="gtksourceview/gtksourcelanguage.h"
                         line="88"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcelanguage.c"
               line="890">the name of the style with ID @style_id
defined by this @language or %NULL if the style has no name or there is no
style with ID @style_id defined by this @language.
The returned string is owned by the @language and must not be modified.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="language" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcelanguage.c"
                 line="885">a #GtkSourceLanguage.</doc>
            <type name="Language" c:type="GtkSourceLanguage*"/>
          </instance-parameter>
          <parameter name="style_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcelanguage.c"
                 line="886">a style ID.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <property name="hidden"
                transfer-ownership="none"
                getter="get_hidden"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="id"
                transfer-ownership="none"
                getter="get_id"
                default-value="NULL">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="name"
                transfer-ownership="none"
                getter="get_name"
                default-value="NULL">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="section"
                transfer-ownership="none"
                getter="get_section"
                default-value="NULL">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="LanguagePrivate" c:type="GtkSourceLanguagePrivate*"/>
      </field>
    </class>
    <record name="LanguageClass"
            c:type="GtkSourceLanguageClass"
            glib:is-gtype-struct-for="Language">
      <source-position filename="gtksourceview/gtksourcelanguage.h" line="57"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="10">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <class name="LanguageManager"
           c:symbol-prefix="language_manager"
           c:type="GtkSourceLanguageManager"
           parent="GObject.Object"
           glib:type-name="GtkSourceLanguageManager"
           glib:get-type="gtk_source_language_manager_get_type"
           glib:type-struct="LanguageManagerClass">
      <source-position filename="gtksourceview/gtksourcelanguagemanager.h"
                       line="57"/>
      <constructor name="new" c:identifier="gtk_source_language_manager_new">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcelanguagemanager.c"
             line="180">Creates a new language manager. If you do not need more than one language
manager or a private language manager instance then use
gtk_source_language_manager_get_default() instead.</doc>
        <source-position filename="gtksourceview/gtksourcelanguagemanager.h"
                         line="63"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcelanguagemanager.c"
               line="187">a new #GtkSourceLanguageManager.</doc>
          <type name="LanguageManager" c:type="GtkSourceLanguageManager*"/>
        </return-value>
      </constructor>
      <function name="get_default"
                c:identifier="gtk_source_language_manager_get_default">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcelanguagemanager.c"
             line="195">Returns the default #GtkSourceLanguageManager instance.</doc>
        <source-position filename="gtksourceview/gtksourcelanguagemanager.h"
                         line="66"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcelanguagemanager.c"
               line="200">a #GtkSourceLanguageManager.
Return value is owned by GtkSourceView library and must not be unref'ed.</doc>
          <type name="LanguageManager" c:type="GtkSourceLanguageManager*"/>
        </return-value>
      </function>
      <method name="get_language"
              c:identifier="gtk_source_language_manager_get_language">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcelanguagemanager.c"
             line="432">Gets the #GtkSourceLanguage identified by the given @id in the language
manager.</doc>
        <source-position filename="gtksourceview/gtksourcelanguagemanager.h"
                         line="79"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcelanguagemanager.c"
               line="440">a #GtkSourceLanguage, or %NULL
if there is no language identified by the given @id. Return value is
owned by @lm and should not be freed.</doc>
          <type name="Language" c:type="GtkSourceLanguage*"/>
        </return-value>
        <parameters>
          <instance-parameter name="lm" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcelanguagemanager.c"
                 line="434">a #GtkSourceLanguageManager.</doc>
            <type name="LanguageManager" c:type="GtkSourceLanguageManager*"/>
          </instance-parameter>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcelanguagemanager.c"
                 line="435">a language id.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_language_ids"
              c:identifier="gtk_source_language_manager_get_language_ids"
              glib:get-property="language-ids">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcelanguagemanager.c"
             line="410">Returns the ids of the available languages.</doc>
        <source-position filename="gtksourceview/gtksourcelanguagemanager.h"
                         line="76"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcelanguagemanager.c"
               line="416">
a %NULL-terminated array of strings containing the ids of the available
languages or %NULL if no language is available.
The array is sorted alphabetically according to the language name.
The array is owned by @lm and must not be modified.</doc>
          <array c:type="const gchar* const*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="lm" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcelanguagemanager.c"
                 line="412">a #GtkSourceLanguageManager.</doc>
            <type name="LanguageManager" c:type="GtkSourceLanguageManager*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_search_path"
              c:identifier="gtk_source_language_manager_get_search_path"
              glib:get-property="search-path">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcelanguagemanager.c"
             line="272">Gets the list directories where @lm looks for language files.</doc>
        <source-position filename="gtksourceview/gtksourcelanguagemanager.h"
                         line="69"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcelanguagemanager.c"
               line="278">%NULL-terminated array
containg a list of language files directories.
The array is owned by @lm and must not be modified.</doc>
          <array c:type="const gchar* const*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="lm" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcelanguagemanager.c"
                 line="274">a #GtkSourceLanguageManager.</doc>
            <type name="LanguageManager" c:type="GtkSourceLanguageManager*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="guess_language"
              c:identifier="gtk_source_language_manager_guess_language"
              version="2.4">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcelanguagemanager.c"
             line="601">Picks a #GtkSourceLanguage for given file name and content type,
according to the information in lang files. Either @filename or
@content_type may be %NULL. This function can be used as follows:

&lt;informalexample&gt;&lt;programlisting&gt;
  GtkSourceLanguage *lang;
  lang = gtk_source_language_manager_guess_language (filename, NULL);
  gtk_source_buffer_set_language (buffer, lang);
&lt;/programlisting&gt;&lt;/informalexample&gt;

or

&lt;informalexample&gt;&lt;programlisting&gt;
  GtkSourceLanguage *lang = NULL;
  gboolean result_uncertain;
  gchar *content_type;

  content_type = g_content_type_guess (filename, NULL, 0, &amp;result_uncertain);
  if (result_uncertain)
    {
      g_free (content_type);
      content_type = NULL;
    }

  lang = gtk_source_language_manager_guess_language (manager, filename, content_type);
  gtk_source_buffer_set_language (buffer, lang);

  g_free (content_type);
&lt;/programlisting&gt;&lt;/informalexample&gt;

etc. Use gtk_source_language_get_mime_types() and gtk_source_language_get_globs()
if you need full control over file -&gt; language mapping.</doc>
        <source-position filename="gtksourceview/gtksourcelanguagemanager.h"
                         line="83"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcelanguagemanager.c"
               line="640">a #GtkSourceLanguage, or %NULL if there
is no suitable language for given @filename and/or @content_type. Return
value is owned by @lm and should not be freed.</doc>
          <type name="Language" c:type="GtkSourceLanguage*"/>
        </return-value>
        <parameters>
          <instance-parameter name="lm" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcelanguagemanager.c"
                 line="603">a #GtkSourceLanguageManager.</doc>
            <type name="LanguageManager" c:type="GtkSourceLanguageManager*"/>
          </instance-parameter>
          <parameter name="filename"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcelanguagemanager.c"
                 line="604">a filename in Glib filename encoding, or %NULL.</doc>
            <type name="filename" c:type="const gchar*"/>
          </parameter>
          <parameter name="content_type"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcelanguagemanager.c"
                 line="605">a content type (as in GIO API), or %NULL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_search_path"
              c:identifier="gtk_source_language_manager_set_search_path"
              glib:set-property="search-path">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcelanguagemanager.c"
             line="229">Sets the list of directories where the @lm looks for
language files.
If @dirs is %NULL, the search path is reset to default.

&lt;note&gt;
  &lt;para&gt;
    At the moment this function can be called only before the
    language files are loaded for the first time. In practice
    to set a custom search path for a #GtkSourceLanguageManager,
    you have to call this function right after creating it.
  &lt;/para&gt;
&lt;/note&gt;</doc>
        <source-position filename="gtksourceview/gtksourcelanguagemanager.h"
                         line="72"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="lm" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcelanguagemanager.c"
                 line="231">a #GtkSourceLanguageManager.</doc>
            <type name="LanguageManager" c:type="GtkSourceLanguageManager*"/>
          </instance-parameter>
          <parameter name="dirs"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcelanguagemanager.c"
                 line="232">
a %NULL-terminated array of strings or %NULL.</doc>
            <array c:type="gchar**">
              <type name="utf8" c:type="gchar*"/>
            </array>
          </parameter>
        </parameters>
      </method>
      <property name="language-ids"
                transfer-ownership="none"
                getter="get_language_ids">
        <array>
          <type name="utf8"/>
        </array>
      </property>
      <property name="search-path"
                writable="1"
                transfer-ownership="none"
                setter="set_search_path"
                getter="get_search_path">
        <array>
          <type name="utf8"/>
        </array>
      </property>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="LanguageManagerPrivate"
              c:type="GtkSourceLanguageManagerPrivate*"/>
      </field>
    </class>
    <record name="LanguageManagerClass"
            c:type="GtkSourceLanguageManagerClass"
            glib:is-gtype-struct-for="LanguageManager">
      <source-position filename="gtksourceview/gtksourcelanguagemanager.h"
                       line="57"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="10">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="LanguageManagerPrivate"
            c:type="GtkSourceLanguageManagerPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gtksourceview/gtksourcelanguagemanager.h"
                       line="42"/>
    </record>
    <record name="LanguagePrivate"
            c:type="GtkSourceLanguagePrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gtksourceview/gtksourcelanguage.h" line="42"/>
    </record>
    <function-macro name="MAP"
                    c:identifier="GTK_SOURCE_MAP"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcemap.h" line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="MAP_CLASS"
                    c:identifier="GTK_SOURCE_MAP_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcemap.h" line="36"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="MAP_CONST"
                    c:identifier="GTK_SOURCE_MAP_CONST"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcemap.h" line="35"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="MAP_GET_CLASS"
                    c:identifier="GTK_SOURCE_MAP_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcemap.h" line="39"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="MARK"
                    c:identifier="GTK_SOURCE_MARK"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcemark.h" line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="MARK_ATTRIBUTES"
                    c:identifier="GTK_SOURCE_MARK_ATTRIBUTES"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcemarkattributes.h"
                       line="35"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="MARK_ATTRIBUTES_CLASS"
                    c:identifier="GTK_SOURCE_MARK_ATTRIBUTES_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcemarkattributes.h"
                       line="36"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="MARK_ATTRIBUTES_GET_CLASS"
                    c:identifier="GTK_SOURCE_MARK_ATTRIBUTES_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcemarkattributes.h"
                       line="39"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="MARK_CLASS"
                    c:identifier="GTK_SOURCE_MARK_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcemark.h" line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="MARK_GET_CLASS"
                    c:identifier="GTK_SOURCE_MARK_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcemark.h" line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <class name="Map"
           c:symbol-prefix="map"
           c:type="GtkSourceMap"
           parent="View"
           glib:type-name="GtkSourceMap"
           glib:get-type="gtk_source_map_get_type"
           glib:type-struct="MapClass">
      <source-position filename="gtksourceview/gtksourcemap.h" line="53"/>
      <implements name="Atk.ImplementorIface"/>
      <implements name="Gtk.Buildable"/>
      <implements name="Gtk.Scrollable"/>
      <constructor name="new" c:identifier="gtk_source_map_new" version="3.18">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemap.c"
             line="1184">Creates a new #GtkSourceMap.</doc>
        <source-position filename="gtksourceview/gtksourcemap.h" line="59"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcemap.c"
               line="1189">a new #GtkSourceMap.</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
      </constructor>
      <method name="get_view"
              c:identifier="gtk_source_map_get_view"
              glib:get-property="view"
              version="3.18">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemap.c"
             line="1237">Gets the #GtkSourceMap:view property, which is the view this widget is mapping.</doc>
        <source-position filename="gtksourceview/gtksourcemap.h" line="66"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcemap.c"
               line="1243">a #GtkSourceView or %NULL.</doc>
          <type name="View" c:type="GtkSourceView*"/>
        </return-value>
        <parameters>
          <instance-parameter name="map" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemap.c"
                 line="1239">a #GtkSourceMap.</doc>
            <type name="Map" c:type="GtkSourceMap*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_view"
              c:identifier="gtk_source_map_set_view"
              glib:set-property="view"
              version="3.18">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemap.c"
             line="1199">Sets the view that @map will be doing the mapping to.</doc>
        <source-position filename="gtksourceview/gtksourcemap.h" line="62"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="map" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemap.c"
                 line="1201">a #GtkSourceMap</doc>
            <type name="Map" c:type="GtkSourceMap*"/>
          </instance-parameter>
          <parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemap.c"
                 line="1202">a #GtkSourceView</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </parameter>
        </parameters>
      </method>
      <property name="font-desc" writable="1" transfer-ownership="none">
        <type name="Pango.FontDescription"/>
      </property>
      <property name="view"
                writable="1"
                transfer-ownership="none"
                setter="set_view"
                getter="get_view">
        <type name="View"/>
      </property>
      <field name="parent_instance">
        <type name="View" c:type="GtkSourceView"/>
      </field>
    </class>
    <record name="MapClass"
            c:type="GtkSourceMapClass"
            glib:is-gtype-struct-for="Map">
      <source-position filename="gtksourceview/gtksourcemap.h" line="53"/>
      <field name="parent_class">
        <type name="ViewClass" c:type="GtkSourceViewClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="10">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <class name="Mark"
           c:symbol-prefix="mark"
           c:type="GtkSourceMark"
           parent="Gtk.TextMark"
           glib:type-name="GtkSourceMark"
           glib:get-type="gtk_source_mark_get_type"
           glib:type-struct="MarkClass">
      <source-position filename="gtksourceview/gtksourcemark.h" line="57"/>
      <constructor name="new" c:identifier="gtk_source_mark_new" version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemark.c"
             line="156">Creates a text mark. Add it to a buffer using gtk_text_buffer_add_mark().
If name is NULL, the mark is anonymous; otherwise, the mark can be retrieved
by name using gtk_text_buffer_get_mark().
Normally marks are created using the utility function
gtk_source_buffer_create_source_mark().</doc>
        <source-position filename="gtksourceview/gtksourcemark.h" line="63"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcemark.c"
               line="170">a new #GtkSourceMark that can be added using gtk_text_buffer_add_mark().</doc>
          <type name="Mark" c:type="GtkSourceMark*"/>
        </return-value>
        <parameters>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemark.c"
                 line="158">Name of the #GtkSourceMark or %NULL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemark.c"
                 line="159">is used to classify marks according to common characteristics
  (e.g. all the marks representing a bookmark could belong to the "bookmark"
  category, or all the marks representing a compilation error could belong
  to "error" category).</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="get_category"
              c:identifier="gtk_source_mark_get_category"
              glib:get-property="category"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemark.c"
             line="187">Returns the mark category.</doc>
        <source-position filename="gtksourceview/gtksourcemark.h" line="67"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcemark.c"
               line="193">the category of the #GtkSourceMark.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="mark" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemark.c"
                 line="189">a #GtkSourceMark.</doc>
            <type name="Mark" c:type="GtkSourceMark*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="next" c:identifier="gtk_source_mark_next" version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemark.c"
             line="205">Returns the next #GtkSourceMark in the buffer or %NULL if the mark
was not added to a buffer. If there is no next mark, %NULL will be returned.

If @category is %NULL, looks for marks of any category.</doc>
        <source-position filename="gtksourceview/gtksourcemark.h" line="70"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcemark.c"
               line="215">the next #GtkSourceMark, or %NULL.</doc>
          <type name="Mark" c:type="GtkSourceMark*"/>
        </return-value>
        <parameters>
          <instance-parameter name="mark" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemark.c"
                 line="207">a #GtkSourceMark.</doc>
            <type name="Mark" c:type="GtkSourceMark*"/>
          </instance-parameter>
          <parameter name="category"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemark.c"
                 line="208">a string specifying the mark category, or %NULL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="prev" c:identifier="gtk_source_mark_prev" version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemark.c"
             line="239">Returns the previous #GtkSourceMark in the buffer or %NULL if the mark
was not added to a buffer. If there is no previous mark, %NULL is returned.

If @category is %NULL, looks for marks of any category</doc>
        <source-position filename="gtksourceview/gtksourcemark.h" line="74"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcemark.c"
               line="249">the previous #GtkSourceMark, or %NULL.</doc>
          <type name="Mark" c:type="GtkSourceMark*"/>
        </return-value>
        <parameters>
          <instance-parameter name="mark" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemark.c"
                 line="241">a #GtkSourceMark.</doc>
            <type name="Mark" c:type="GtkSourceMark*"/>
          </instance-parameter>
          <parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemark.c"
                 line="242">a string specifying the mark category, or %NULL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <property name="category"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_category"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemark.c"
             line="133">The category of the #GtkSourceMark, classifies the mark and controls
which pixbuf is used and with which priority it is drawn.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent_instance">
        <type name="Gtk.TextMark" c:type="GtkTextMark"/>
      </field>
      <field name="priv">
        <type name="MarkPrivate" c:type="GtkSourceMarkPrivate*"/>
      </field>
    </class>
    <class name="MarkAttributes"
           c:symbol-prefix="mark_attributes"
           c:type="GtkSourceMarkAttributes"
           parent="GObject.Object"
           glib:type-name="GtkSourceMarkAttributes"
           glib:get-type="gtk_source_mark_attributes_get_type"
           glib:type-struct="MarkAttributesClass">
      <source-position filename="gtksourceview/gtksourcemarkattributes.h"
                       line="60"/>
      <constructor name="new" c:identifier="gtk_source_mark_attributes_new">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemarkattributes.c"
             line="370">Creates a new source mark attributes.</doc>
        <source-position filename="gtksourceview/gtksourcemarkattributes.h"
                         line="66"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcemarkattributes.c"
               line="375">a new source mark attributes.</doc>
          <type name="MarkAttributes" c:type="GtkSourceMarkAttributes*"/>
        </return-value>
      </constructor>
      <method name="get_background"
              c:identifier="gtk_source_mark_attributes_get_background"
              glib:get-property="background">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemarkattributes.c"
             line="399">Stores background color in @background.</doc>
        <source-position filename="gtksourceview/gtksourcemarkattributes.h"
                         line="73"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcemarkattributes.c"
               line="406">whether background color for @attributes was set.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="attributes" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemarkattributes.c"
                 line="401">a #GtkSourceMarkAttributes.</doc>
            <type name="MarkAttributes" c:type="GtkSourceMarkAttributes*"/>
          </instance-parameter>
          <parameter name="background"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemarkattributes.c"
                 line="402">a #GdkRGBA.</doc>
            <type name="Gdk.RGBA" c:type="GdkRGBA*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_gicon"
              c:identifier="gtk_source_mark_attributes_get_gicon"
              glib:get-property="gicon">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemarkattributes.c"
             line="471">Gets a #GIcon to be used as a base for rendered icon. Note that the icon can
be %NULL if it wasn't set earlier.</doc>
        <source-position filename="gtksourceview/gtksourcemarkattributes.h"
                         line="88"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcemarkattributes.c"
               line="478">An icon. The icon belongs to @attributes and should
not be unreffed.</doc>
          <type name="Gio.Icon" c:type="GIcon*"/>
        </return-value>
        <parameters>
          <instance-parameter name="attributes" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemarkattributes.c"
                 line="473">a #GtkSourceMarkAttributes.</doc>
            <type name="MarkAttributes" c:type="GtkSourceMarkAttributes*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_icon_name"
              c:identifier="gtk_source_mark_attributes_get_icon_name"
              glib:get-property="icon-name">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemarkattributes.c"
             line="437">Gets a name of an icon to be used as a base for rendered icon. Note that the
icon name can be %NULL if it wasn't set earlier.</doc>
        <source-position filename="gtksourceview/gtksourcemarkattributes.h"
                         line="81"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcemarkattributes.c"
               line="444">An icon name. The string belongs to @attributes and
should not be freed.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="attributes" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemarkattributes.c"
                 line="439">a #GtkSourceMarkAttributes.</doc>
            <type name="MarkAttributes" c:type="GtkSourceMarkAttributes*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_pixbuf"
              c:identifier="gtk_source_mark_attributes_get_pixbuf"
              glib:get-property="pixbuf">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemarkattributes.c"
             line="505">Gets a #GdkPixbuf to be used as a base for rendered icon. Note that the
pixbuf can be %NULL if it wasn't set earlier.</doc>
        <source-position filename="gtksourceview/gtksourcemarkattributes.h"
                         line="95"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcemarkattributes.c"
               line="512">A pixbuf. The pixbuf belongs to @attributes and
should not be unreffed.</doc>
          <type name="GdkPixbuf.Pixbuf" c:type="const GdkPixbuf*"/>
        </return-value>
        <parameters>
          <instance-parameter name="attributes" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemarkattributes.c"
                 line="507">a #GtkSourceMarkAttributes.</doc>
            <type name="MarkAttributes" c:type="GtkSourceMarkAttributes*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_tooltip_markup"
              c:identifier="gtk_source_mark_attributes_get_tooltip_markup">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemarkattributes.c"
             line="578">Queries for a tooltip by emitting
a #GtkSourceMarkAttributes::query-tooltip-markup signal. The tooltip may contain
a markup.</doc>
        <source-position filename="gtksourceview/gtksourcemarkattributes.h"
                         line="107"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcemarkattributes.c"
               line="587">A tooltip. The returned string should be freed by
using g_free() when done with it.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="attributes" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemarkattributes.c"
                 line="580">a #GtkSourceMarkAttributes.</doc>
            <type name="MarkAttributes" c:type="GtkSourceMarkAttributes*"/>
          </instance-parameter>
          <parameter name="mark" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemarkattributes.c"
                 line="581">a #GtkSourceMark.</doc>
            <type name="Mark" c:type="GtkSourceMark*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_tooltip_text"
              c:identifier="gtk_source_mark_attributes_get_tooltip_text">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemarkattributes.c"
             line="551">Queries for a tooltip by emitting
a #GtkSourceMarkAttributes::query-tooltip-text signal. The tooltip is a plain
text.</doc>
        <source-position filename="gtksourceview/gtksourcemarkattributes.h"
                         line="103"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcemarkattributes.c"
               line="560">A tooltip. The returned string should be freed by
using g_free() when done with it.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="attributes" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemarkattributes.c"
                 line="553">a #GtkSourceMarkAttributes.</doc>
            <type name="MarkAttributes" c:type="GtkSourceMarkAttributes*"/>
          </instance-parameter>
          <parameter name="mark" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemarkattributes.c"
                 line="554">a #GtkSourceMark.</doc>
            <type name="Mark" c:type="GtkSourceMark*"/>
          </parameter>
        </parameters>
      </method>
      <method name="render_icon"
              c:identifier="gtk_source_mark_attributes_render_icon">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemarkattributes.c"
             line="523">Renders an icon of given size. The base of the icon is set by the last call
to one of: gtk_source_mark_attributes_set_pixbuf(),
gtk_source_mark_attributes_set_gicon() or
gtk_source_mark_attributes_set_icon_name(). @size cannot be lower than 1.</doc>
        <source-position filename="gtksourceview/gtksourcemarkattributes.h"
                         line="98"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcemarkattributes.c"
               line="534">A rendered pixbuf. The pixbuf belongs to @attributes
and should not be unreffed.</doc>
          <type name="GdkPixbuf.Pixbuf" c:type="const GdkPixbuf*"/>
        </return-value>
        <parameters>
          <instance-parameter name="attributes" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemarkattributes.c"
                 line="525">a #GtkSourceMarkAttributes.</doc>
            <type name="MarkAttributes" c:type="GtkSourceMarkAttributes*"/>
          </instance-parameter>
          <parameter name="widget" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemarkattributes.c"
                 line="526">widget of which style settings may be used.</doc>
            <type name="Gtk.Widget" c:type="GtkWidget*"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemarkattributes.c"
                 line="527">size of the rendered icon.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_background"
              c:identifier="gtk_source_mark_attributes_set_background"
              glib:set-property="background">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemarkattributes.c"
             line="383">Sets background color to the one given in @background.</doc>
        <source-position filename="gtksourceview/gtksourcemarkattributes.h"
                         line="69"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="attributes" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemarkattributes.c"
                 line="385">a #GtkSourceMarkAttributes.</doc>
            <type name="MarkAttributes" c:type="GtkSourceMarkAttributes*"/>
          </instance-parameter>
          <parameter name="background" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemarkattributes.c"
                 line="386">a #GdkRGBA.</doc>
            <type name="Gdk.RGBA" c:type="const GdkRGBA*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_gicon"
              c:identifier="gtk_source_mark_attributes_set_gicon"
              glib:set-property="gicon">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemarkattributes.c"
             line="455">Sets an icon to be used as a base for rendered icon.</doc>
        <source-position filename="gtksourceview/gtksourcemarkattributes.h"
                         line="84"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="attributes" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemarkattributes.c"
                 line="457">a #GtkSourceMarkAttributes.</doc>
            <type name="MarkAttributes" c:type="GtkSourceMarkAttributes*"/>
          </instance-parameter>
          <parameter name="gicon" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemarkattributes.c"
                 line="458">a #GIcon to be used.</doc>
            <type name="Gio.Icon" c:type="GIcon*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_icon_name"
              c:identifier="gtk_source_mark_attributes_set_icon_name"
              glib:set-property="icon-name">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemarkattributes.c"
             line="421">Sets a name of an icon to be used as a base for rendered icon.</doc>
        <source-position filename="gtksourceview/gtksourcemarkattributes.h"
                         line="77"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="attributes" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemarkattributes.c"
                 line="423">a #GtkSourceMarkAttributes.</doc>
            <type name="MarkAttributes" c:type="GtkSourceMarkAttributes*"/>
          </instance-parameter>
          <parameter name="icon_name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemarkattributes.c"
                 line="424">name of an icon to be used.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_pixbuf"
              c:identifier="gtk_source_mark_attributes_set_pixbuf"
              glib:set-property="pixbuf">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemarkattributes.c"
             line="489">Sets a pixbuf to be used as a base for rendered icon.</doc>
        <source-position filename="gtksourceview/gtksourcemarkattributes.h"
                         line="91"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="attributes" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemarkattributes.c"
                 line="491">a #GtkSourceMarkAttributes.</doc>
            <type name="MarkAttributes" c:type="GtkSourceMarkAttributes*"/>
          </instance-parameter>
          <parameter name="pixbuf" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemarkattributes.c"
                 line="492">a #GdkPixbuf to be used.</doc>
            <type name="GdkPixbuf.Pixbuf" c:type="const GdkPixbuf*"/>
          </parameter>
        </parameters>
      </method>
      <property name="background"
                writable="1"
                transfer-ownership="none"
                setter="set_background"
                getter="get_background">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemarkattributes.c"
             line="255">A color used for background of a line.</doc>
        <type name="Gdk.RGBA"/>
      </property>
      <property name="gicon"
                writable="1"
                transfer-ownership="none"
                setter="set_gicon"
                getter="get_gicon">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemarkattributes.c"
             line="297">A #GIcon that may be a base of a rendered icon.</doc>
        <type name="Gio.Icon"/>
      </property>
      <property name="icon-name"
                writable="1"
                transfer-ownership="none"
                setter="set_icon_name"
                getter="get_icon_name"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemarkattributes.c"
             line="283">An icon name that may be a base of a rendered icon.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="pixbuf"
                writable="1"
                transfer-ownership="none"
                setter="set_pixbuf"
                getter="get_pixbuf">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemarkattributes.c"
             line="269">A #GdkPixbuf that may be a base of a rendered icon.</doc>
        <type name="GdkPixbuf.Pixbuf"/>
      </property>
      <field name="parent" readable="0" private="1">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="MarkAttributesPrivate"
              c:type="GtkSourceMarkAttributesPrivate*"/>
      </field>
      <glib:signal name="query-tooltip-markup" when="last">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemarkattributes.c"
             line="336">The code should connect to this signal to provide a tooltip for given
@mark. The tooltip can contain a markup.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcemarkattributes.c"
               line="344">A tooltip. The string should be freed with
g_free() when done with it.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <parameter name="mark" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemarkattributes.c"
                 line="339">The #GtkSourceMark.</doc>
            <type name="Mark"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="query-tooltip-text" when="last">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcemarkattributes.c"
             line="311">The code should connect to this signal to provide a tooltip for given
@mark. The tooltip should be just a plain text.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcemarkattributes.c"
               line="319">A tooltip. The string should be freed with
g_free() when done with it.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <parameter name="mark" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcemarkattributes.c"
                 line="314">The #GtkSourceMark.</doc>
            <type name="Mark"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="MarkAttributesClass"
            c:type="GtkSourceMarkAttributesClass"
            glib:is-gtype-struct-for="MarkAttributes">
      <source-position filename="gtksourceview/gtksourcemarkattributes.h"
                       line="60"/>
      <field name="parent_class" readable="0" private="1">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding" readable="0" private="1">
        <array zero-terminated="0" fixed-size="10">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="MarkAttributesPrivate"
            c:type="GtkSourceMarkAttributesPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gtksourceview/gtksourcemarkattributes.h"
                       line="42"/>
    </record>
    <record name="MarkClass"
            c:type="GtkSourceMarkClass"
            glib:is-gtype-struct-for="Mark">
      <source-position filename="gtksourceview/gtksourcemark.h" line="57"/>
      <field name="parent_class">
        <type name="Gtk.TextMarkClass" c:type="GtkTextMarkClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="10">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="MarkPrivate"
            c:type="GtkSourceMarkPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gtksourceview/gtksourcemark.h" line="42"/>
    </record>
    <callback name="MountOperationFactory"
              c:type="GtkSourceMountOperationFactory"
              version="3.14"
              introspectable="0">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcefile.h"
           line="85">Type definition for a function that will be called to create a
#GMountOperation. This is useful for creating a #GtkMountOperation.</doc>
      <source-position filename="gtksourceview/gtksourcefile.h" line="95"/>
      <return-value>
        <type name="Gio.MountOperation" c:type="GMountOperation*"/>
      </return-value>
      <parameters>
        <parameter name="file" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefile.h"
               line="87">a #GtkSourceFile.</doc>
          <type name="File" c:type="GtkSourceFile*"/>
        </parameter>
        <parameter name="userdata"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcefile.h"
               line="88">user data</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <enumeration name="NewlineType"
                 version="3.14"
                 glib:type-name="GtkSourceNewlineType"
                 glib:get-type="gtk_source_newline_type_get_type"
                 c:type="GtkSourceNewlineType">
      <member name="lf"
              value="0"
              c:identifier="GTK_SOURCE_NEWLINE_TYPE_LF"
              glib:nick="lf"
              glib:name="GTK_SOURCE_NEWLINE_TYPE_LF">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefile.h"
             line="45">line feed, used on UNIX.</doc>
      </member>
      <member name="cr"
              value="1"
              c:identifier="GTK_SOURCE_NEWLINE_TYPE_CR"
              glib:nick="cr"
              glib:name="GTK_SOURCE_NEWLINE_TYPE_CR">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefile.h"
             line="46">carriage return, used on Mac.</doc>
      </member>
      <member name="cr_lf"
              value="2"
              c:identifier="GTK_SOURCE_NEWLINE_TYPE_CR_LF"
              glib:nick="cr-lf"
              glib:name="GTK_SOURCE_NEWLINE_TYPE_CR_LF">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcefile.h"
             line="47">carriage return followed by a line feed, used
  on Windows.</doc>
      </member>
    </enumeration>
    <function-macro name="PRINT_COMPOSITOR"
                    c:identifier="GTK_SOURCE_PRINT_COMPOSITOR"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                       line="35"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="PRINT_COMPOSITOR_CLASS"
                    c:identifier="GTK_SOURCE_PRINT_COMPOSITOR_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                       line="36"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="PRINT_COMPOSITOR_GET_CLASS"
                    c:identifier="GTK_SOURCE_PRINT_COMPOSITOR_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                       line="39"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <class name="PrintCompositor"
           c:symbol-prefix="print_compositor"
           c:type="GtkSourcePrintCompositor"
           parent="GObject.Object"
           glib:type-name="GtkSourcePrintCompositor"
           glib:get-type="gtk_source_print_compositor_get_type"
           glib:type-struct="PrintCompositorClass">
      <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                       line="57"/>
      <constructor name="new"
                   c:identifier="gtk_source_print_compositor_new"
                   version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="753">Creates a new print compositor that can be used to print @buffer.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="64"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceprintcompositor.c"
               line="759">a new print compositor object.</doc>
          <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
        </return-value>
        <parameters>
          <parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="755">the #GtkSourceBuffer to print.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_from_view"
                   c:identifier="gtk_source_print_compositor_new_from_view"
                   version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="773">Creates a new print compositor that can be used to print the buffer
associated with @view.
This constructor sets some configuration properties to make the
printed output match @view as much as possible.  The properties set are
#GtkSourcePrintCompositor:tab-width, #GtkSourcePrintCompositor:highlight-syntax,
#GtkSourcePrintCompositor:wrap-mode, #GtkSourcePrintCompositor:body-font-name and
#GtkSourcePrintCompositor:print-line-numbers.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="67"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceprintcompositor.c"
               line="785">a new print compositor object.</doc>
          <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
        </return-value>
        <parameters>
          <parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="775">a #GtkSourceView to get configuration from.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="draw_page"
              c:identifier="gtk_source_print_compositor_draw_page">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="3012">Draw page @page_nr for printing on the the Cairo context encapsuled in @context.

This method has been designed to be called in the handler of the #GtkPrintOperation::draw_page signal
as shown in the following example:

&lt;informalexample&gt;&lt;programlisting&gt;
// Signal handler for the GtkPrintOperation::draw_page signal

static void
draw_page (GtkPrintOperation *operation,
           GtkPrintContext   *context,
           gint               page_nr,
           gpointer           user_data)
{
    GtkSourcePrintCompositor *compositor;

    compositor = GTK_SOURCE_PRINT_COMPOSITOR (user_data);

    gtk_source_print_compositor_draw_page (compositor,
                                           context,
                                           page_nr);
}
&lt;/programlisting&gt;&lt;/informalexample&gt;</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="217"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="3014">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
          <parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="3015">the #GtkPrintContext encapsulating the context information that is required when
          drawing the page for printing.</doc>
            <type name="Gtk.PrintContext" c:type="GtkPrintContext*"/>
          </parameter>
          <parameter name="page_nr" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="3017">the number of the page to print.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_body_font_name"
              c:identifier="gtk_source_print_compositor_get_body_font_name"
              glib:get-property="body-font-name"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="1300">Returns the name of the font used to print the text body. The returned string
must be freed with g_free().</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="111"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceprintcompositor.c"
               line="1307">a new string containing the name of the font used to print the
text body.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1302">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_bottom_margin"
              c:identifier="gtk_source_print_compositor_get_bottom_margin"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="1565">Gets the bottom margin in units of @unit.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="151"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceprintcompositor.c"
               line="1572">the bottom margin.</doc>
          <type name="gdouble" c:type="gdouble"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1567">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
          <parameter name="unit" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1568">the unit for the return value.</doc>
            <type name="Gtk.Unit" c:type="GtkUnit"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_buffer"
              c:identifier="gtk_source_print_compositor_get_buffer"
              glib:get-property="buffer"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="822">Gets the #GtkSourceBuffer associated with the compositor. The returned
object reference is owned by the compositor object and
should not be unreferenced.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="71"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceprintcompositor.c"
               line="830">the #GtkSourceBuffer associated with the compositor.</doc>
          <type name="Buffer" c:type="GtkSourceBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="824">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_footer_font_name"
              c:identifier="gtk_source_print_compositor_get_footer_font_name"
              glib:get-property="footer-font-name"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="1479">Returns the name of the font used to print the page footer.
The returned string must be freed with g_free().</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="138"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceprintcompositor.c"
               line="1486">a new string containing the name of the font used to print
the page footer.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1481">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_header_font_name"
              c:identifier="gtk_source_print_compositor_get_header_font_name"
              glib:get-property="header-font-name"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="1417">Returns the name of the font used to print the page header.
The returned string must be freed with g_free().</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="129"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceprintcompositor.c"
               line="1424">a new string containing the name of the font used to print
the page header.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1419">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_highlight_syntax"
              c:identifier="gtk_source_print_compositor_get_highlight_syntax"
              glib:get-property="highlight-syntax"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="963">Determines whether the printed text will be highlighted according to the
buffer rules.  Note that highlighting will happen
only if the buffer to print has highlighting activated.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="93"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceprintcompositor.c"
               line="971">%TRUE if the printed output will be highlighted.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="965">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_left_margin"
              c:identifier="gtk_source_print_compositor_get_left_margin"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="1605">Gets the left margin in units of @unit.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="160"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceprintcompositor.c"
               line="1612">the left margin</doc>
          <type name="gdouble" c:type="gdouble"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1607">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
          <parameter name="unit" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1608">the unit for the return value.</doc>
            <type name="Gtk.Unit" c:type="GtkUnit"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_line_numbers_font_name"
              c:identifier="gtk_source_print_compositor_get_line_numbers_font_name"
              glib:get-property="line-numbers-font-name"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="1355">Returns the name of the font used to print line numbers on the left margin.
The returned string must be freed with g_free().</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="120"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceprintcompositor.c"
               line="1362">a new string containing the name of the font used to print
line numbers on the left margin.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1357">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_n_pages"
              c:identifier="gtk_source_print_compositor_get_n_pages"
              glib:get-property="n-pages"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="1665">Returns the number of pages in the document or &lt;code&gt;-1&lt;/code&gt; if the
document has not been completely paginated.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="206"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceprintcompositor.c"
               line="1672">the number of pages in the document or &lt;code&gt;-1&lt;/code&gt; if the
document has not been completely paginated.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1667">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_pagination_progress"
              c:identifier="gtk_source_print_compositor_get_pagination_progress"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="2737">Returns the current fraction of the document pagination that has been completed.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="213"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceprintcompositor.c"
               line="2743">a fraction from 0.0 to 1.0 inclusive.</doc>
          <type name="gdouble" c:type="gdouble"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="2739">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_print_footer"
              c:identifier="gtk_source_print_compositor_get_print_footer"
              glib:get-property="print-footer"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="1106">Determines if a footer is set to be printed for each page.  A
footer will be printed if this function returns %TRUE
&lt;emphasis&gt;and&lt;/emphasis&gt; some format strings have been specified
with gtk_source_print_compositor_set_footer_format().</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="189"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceprintcompositor.c"
               line="1115">%TRUE if the footer is set to be printed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1108">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_print_header"
              c:identifier="gtk_source_print_compositor_get_print_header"
              glib:get-property="print-header"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="1050">Determines if a header is set to be printed for each page.  A
header will be printed if this function returns %TRUE
&lt;emphasis&gt;and&lt;/emphasis&gt; some format strings have been specified
with gtk_source_print_compositor_set_header_format().</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="182"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceprintcompositor.c"
               line="1059">%TRUE if the header is set to be printed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1052">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_print_line_numbers"
              c:identifier="gtk_source_print_compositor_get_print_line_numbers"
              glib:get-property="print-line-numbers"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="1216">Returns the interval used for line number printing.  If the
value is 0, no line numbers will be printed.  The default value is
1 (i.e. numbers printed in all lines).</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="102"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceprintcompositor.c"
               line="1224">the interval of printed line numbers.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1218">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_right_margin"
              c:identifier="gtk_source_print_compositor_get_right_margin"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="1645">Gets the right margin in units of @unit.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="169"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceprintcompositor.c"
               line="1652">the right margin.</doc>
          <type name="gdouble" c:type="gdouble"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1647">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
          <parameter name="unit" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1648">the unit for the return value.</doc>
            <type name="Gtk.Unit" c:type="GtkUnit"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_tab_width"
              c:identifier="gtk_source_print_compositor_get_tab_width"
              glib:get-property="tab-width"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="870">Returns the width of tabulation in characters for printed text.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="78"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceprintcompositor.c"
               line="876">width of tab.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="872">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_top_margin"
              c:identifier="gtk_source_print_compositor_get_top_margin"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="1525">Gets the top margin in units of @unit.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="142"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceprintcompositor.c"
               line="1532">the top margin.</doc>
          <type name="gdouble" c:type="gdouble"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1527">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
          <parameter name="unit" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1528">the unit for the return value.</doc>
            <type name="Gtk.Unit" c:type="GtkUnit"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_wrap_mode"
              c:identifier="gtk_source_print_compositor_get_wrap_mode"
              glib:get-property="wrap-mode"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="915">Gets the line wrapping mode for the printed text.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="85"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceprintcompositor.c"
               line="921">the line wrap mode.</doc>
          <type name="Gtk.WrapMode" c:type="GtkWrapMode"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="917">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="paginate"
              c:identifier="gtk_source_print_compositor_paginate"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="2426">Paginate the document associated with the @compositor.

In order to support non-blocking pagination, document is paginated in small chunks.
Each time gtk_source_print_compositor_paginate() is invoked, a chunk of the document
is paginated. To paginate the entire document, gtk_source_print_compositor_paginate()
must be invoked multiple times.
It returns %TRUE if the document has been completely paginated, otherwise it returns %FALSE.

This method has been designed to be invoked in the handler of the #GtkPrintOperation::paginate signal,
as shown in the following example:

&lt;informalexample&gt;&lt;programlisting&gt;
// Signal handler for the GtkPrintOperation::paginate signal

static gboolean
paginate (GtkPrintOperation *operation,
          GtkPrintContext   *context,
          gpointer           user_data)
{
    GtkSourcePrintCompositor *compositor;

    compositor = GTK_SOURCE_PRINT_COMPOSITOR (user_data);

    if (gtk_source_print_compositor_paginate (compositor, context))
    {
        gint n_pages;

        n_pages = gtk_source_print_compositor_get_n_pages (compositor);
        gtk_print_operation_set_n_pages (operation, n_pages);

        return TRUE;
    }

    return FALSE;
}
&lt;/programlisting&gt;&lt;/informalexample&gt;

If you don't need to do pagination in chunks, you can simply do it all in the
#GtkPrintOperation::begin-print handler, and set the number of pages from there, like
in the following example:

&lt;informalexample&gt;&lt;programlisting&gt;
// Signal handler for the GtkPrintOperation::begin-print signal

static void
begin_print (GtkPrintOperation *operation,
             GtkPrintContext   *context,
             gpointer           user_data)
{
    GtkSourcePrintCompositor *compositor;
    gint n_pages;

    compositor = GTK_SOURCE_PRINT_COMPOSITOR (user_data);

    while (!gtk_source_print_compositor_paginate (compositor, context));

    n_pages = gtk_source_print_compositor_get_n_pages (compositor);
    gtk_print_operation_set_n_pages (operation, n_pages);
}
&lt;/programlisting&gt;&lt;/informalexample&gt;</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="209"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceprintcompositor.c"
               line="2493">%TRUE if the document has been completely paginated, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="2428">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
          <parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="2429">the #GtkPrintContext whose parameters (e.g. paper size, print margins, etc.)
are used by the the @compositor to paginate the document.</doc>
            <type name="Gtk.PrintContext" c:type="GtkPrintContext*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_body_font_name"
              c:identifier="gtk_source_print_compositor_set_body_font_name"
              glib:set-property="body-font-name"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="1267">Sets the default font for the printed text.

@font_name should be a
string representation of a font description Pango can understand.
(e.g. &amp;quot;Monospace 10&amp;quot;). See pango_font_description_from_string()
for a description of the format of the string representation.

This function cannot be called anymore after the first call to the
gtk_source_print_compositor_paginate() function.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="106"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1269">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
          <parameter name="font_name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1270">the name of the default font for the body text.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_bottom_margin"
              c:identifier="gtk_source_print_compositor_set_bottom_margin"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="1545">Sets the bottom margin used by @compositor.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="155"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1547">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
          <parameter name="margin" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1548">the new bottom margin in units of @unit.</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
          <parameter name="unit" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1549">the units for @margin.</doc>
            <type name="Gtk.Unit" c:type="GtkUnit"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_footer_font_name"
              c:identifier="gtk_source_print_compositor_set_footer_font_name"
              glib:set-property="footer-font-name"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="1443">Sets the font for printing the page footer. If
%NULL is supplied, the default font (i.e. the one being used for the
text) will be used instead.

@font_name should be a
string representation of a font description Pango can understand.
(e.g. &amp;quot;Monospace 10&amp;quot;). See pango_font_description_from_string()
for a description of the format of the string representation.

This function cannot be called anymore after the first call to the
gtk_source_print_compositor_paginate() function.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="133"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1445">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
          <parameter name="font_name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1446">the name of the font for the footer text, or %NULL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_footer_format"
              c:identifier="gtk_source_print_compositor_set_footer_format"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="1181">See gtk_source_print_compositor_set_header_format() for more information
about the parameters.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="199"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1183">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
          <parameter name="separator" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1184">%TRUE if you want a separator line to be printed.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="left"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1185">a format string to print on the left of the footer.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="center"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1186">a format string to print on the center of the footer.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="right"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1187">a format string to print on the right of the footer.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_header_font_name"
              c:identifier="gtk_source_print_compositor_set_header_font_name"
              glib:set-property="header-font-name"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="1381">Sets the font for printing the page header. If
%NULL is supplied, the default font (i.e. the one being used for the
text) will be used instead.

@font_name should be a
string representation of a font description Pango can understand.
(e.g. &amp;quot;Monospace 10&amp;quot;). See pango_font_description_from_string()
for a description of the format of the string representation.

This function cannot be called anymore after the first call to the
gtk_source_print_compositor_paginate() function.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="124"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1383">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
          <parameter name="font_name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1384">the name of the font for header text, or %NULL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_header_format"
              c:identifier="gtk_source_print_compositor_set_header_format"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="1127">Sets strftime like header format strings, to be printed on the
left, center and right of the top of each page.  The strings may
include strftime(3) codes which will be expanded at print time.
A subset of strftime() codes are accepted, see g_date_time_format()
for more details on the accepted format specifiers.
Additionally the following format specifiers are accepted:
- #N: the page number
- #Q: the page count.

@separator specifies if a solid line should be drawn to separate
the header from the document text.

If %NULL is given for any of the three arguments, that particular
string will not be printed.

For the header to be printed, in
addition to specifying format strings, you need to enable header
printing with gtk_source_print_compositor_set_print_header().

This function cannot be called anymore after the first call to the
gtk_source_print_compositor_paginate() function.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="192"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1129">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
          <parameter name="separator" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1130">%TRUE if you want a separator line to be printed.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="left"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1131">a format string to print on the left of the header.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="center"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1132">a format string to print on the center of the header.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="right"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1133">a format string to print on the right of the header.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_highlight_syntax"
              c:identifier="gtk_source_print_compositor_set_highlight_syntax"
              glib:set-property="highlight-syntax"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="933">Sets whether the printed text will be highlighted according to the
buffer rules.  Both color and font style are applied.

This function cannot be called anymore after the first call to the
gtk_source_print_compositor_paginate() function.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="88"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="935">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
          <parameter name="highlight" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="936">whether syntax should be highlighted.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_left_margin"
              c:identifier="gtk_source_print_compositor_set_left_margin"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="1585">Sets the left margin used by @compositor.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="164"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1587">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
          <parameter name="margin" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1588">the new left margin in units of @unit.</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
          <parameter name="unit" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1589">the units for @margin.</doc>
            <type name="Gtk.Unit" c:type="GtkUnit"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_line_numbers_font_name"
              c:identifier="gtk_source_print_compositor_set_line_numbers_font_name"
              glib:set-property="line-numbers-font-name"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="1320">Sets the font for printing line numbers on the left margin.  If
%NULL is supplied, the default font (i.e. the one being used for the
text) will be used instead.

@font_name should be a
string representation of a font description Pango can understand.
(e.g. &amp;quot;Monospace 10&amp;quot;). See pango_font_description_from_string()
for a description of the format of the string representation.

This function cannot be called anymore after the first call to the
gtk_source_print_compositor_paginate() function.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="115"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1322">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
          <parameter name="font_name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1323">the name of the font for line numbers, or %NULL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_print_footer"
              c:identifier="gtk_source_print_compositor_set_print_footer"
              glib:set-property="print-footer"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="1071">Sets whether you want to print a footer in each page.  The
footer consists of three pieces of text and an optional line
separator, configurable with
gtk_source_print_compositor_set_footer_format().

Note that by default the footer format is unspecified, and if it's
empty it will not be printed, regardless of this setting.

This function cannot be called anymore after the first call to the
gtk_source_print_compositor_paginate() function.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="185"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1073">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
          <parameter name="print" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1074">%TRUE if you want the footer to be printed.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_print_header"
              c:identifier="gtk_source_print_compositor_set_print_header"
              glib:set-property="print-header"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="1015">Sets whether you want to print a header in each page.  The
header consists of three pieces of text and an optional line
separator, configurable with
gtk_source_print_compositor_set_header_format().

Note that by default the header format is unspecified, and if it's
empty it will not be printed, regardless of this setting.

This function cannot be called anymore after the first call to the
gtk_source_print_compositor_paginate() function.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="178"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1017">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
          <parameter name="print" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1018">%TRUE if you want the header to be printed.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_print_line_numbers"
              c:identifier="gtk_source_print_compositor_set_print_line_numbers"
              glib:set-property="print-line-numbers"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="983">Sets the interval for printed line numbers.  If @interval is 0 no
numbers will be printed.  If greater than 0, a number will be
printed every @interval lines (i.e. 1 will print all line numbers).

Maximum accepted value for @interval is 100.

This function cannot be called anymore after the first call to the
gtk_source_print_compositor_paginate() function.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="97"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="985">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
          <parameter name="interval" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="986">interval for printed line numbers.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_right_margin"
              c:identifier="gtk_source_print_compositor_set_right_margin"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="1625">Sets the right margin used by @compositor.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="173"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1627">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
          <parameter name="margin" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1628">the new right margin in units of @unit.</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
          <parameter name="unit" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1629">the units for @margin.</doc>
            <type name="Gtk.Unit" c:type="GtkUnit"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_tab_width"
              c:identifier="gtk_source_print_compositor_set_tab_width"
              glib:set-property="tab-width"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="842">Sets the width of tabulation in characters for printed text.

This function cannot be called anymore after the first call to the
gtk_source_print_compositor_paginate() function.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="74"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="844">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
          <parameter name="width" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="845">width of tab in characters.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_top_margin"
              c:identifier="gtk_source_print_compositor_set_top_margin"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="1505">Sets the top margin used by @compositor.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="146"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1507">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
          <parameter name="margin" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1508">the new top margin in units of @unit</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
          <parameter name="unit" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="1509">the units for @margin</doc>
            <type name="Gtk.Unit" c:type="GtkUnit"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_wrap_mode"
              c:identifier="gtk_source_print_compositor_set_wrap_mode"
              glib:set-property="wrap-mode"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="888">Sets the line wrapping mode for the printed text.

This function cannot be called anymore after the first call to the
gtk_source_print_compositor_paginate() function.</doc>
        <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                         line="81"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="compositor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="890">a #GtkSourcePrintCompositor.</doc>
            <type name="PrintCompositor" c:type="GtkSourcePrintCompositor*"/>
          </instance-parameter>
          <parameter name="wrap_mode" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceprintcompositor.c"
                 line="891">a #GtkWrapMode.</doc>
            <type name="Gtk.WrapMode" c:type="GtkWrapMode"/>
          </parameter>
        </parameters>
      </method>
      <property name="body-font-name"
                version="2.2"
                writable="1"
                transfer-ownership="none"
                setter="set_body_font_name"
                getter="get_body_font_name"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="578">Name of the font used for the text body.

Accepted values are strings representing a font description Pango can understand.
(e.g. &amp;quot;Monospace 10&amp;quot;). See pango_font_description_from_string()
for a description of the format of the string representation.

The value of this property cannot be changed anymore after the first
call to the gtk_source_print_compositor_paginate() function.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="buffer"
                version="2.2"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_buffer">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="433">The GtkSourceBuffer object to print.</doc>
        <type name="Buffer"/>
      </property>
      <property name="footer-font-name"
                version="2.2"
                writable="1"
                transfer-ownership="none"
                setter="set_footer_font_name"
                getter="get_footer_font_name"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="649">Name of the font used to print page footer.
If this property is unspecified, the text body font is used.

Accepted values are strings representing a font description Pango can understand.
(e.g. &amp;quot;Monospace 10&amp;quot;). See pango_font_description_from_string()
for a description of the format of the string representation.

The value of this property cannot be changed anymore after the first
call to the gtk_source_print_compositor_paginate() function.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="header-font-name"
                version="2.2"
                writable="1"
                transfer-ownership="none"
                setter="set_header_font_name"
                getter="get_header_font_name"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="625">Name of the font used to print page header.
If this property is unspecified, the text body font is used.

Accepted values are strings representing a font description Pango can understand.
(e.g. &amp;quot;Monospace 10&amp;quot;). See pango_font_description_from_string()
for a description of the format of the string representation.

The value of this property cannot be changed anymore after the first
call to the gtk_source_print_compositor_paginate() function.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="highlight-syntax"
                version="2.2"
                writable="1"
                transfer-ownership="none"
                setter="set_highlight_syntax"
                getter="get_highlight_syntax"
                default-value="TRUE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="492">Whether to print the document with highlighted syntax.

The value of this property cannot be changed anymore after the first
call to the gtk_source_print_compositor_paginate() function.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="line-numbers-font-name"
                version="2.2"
                writable="1"
                transfer-ownership="none"
                setter="set_line_numbers_font_name"
                getter="get_line_numbers_font_name"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="601">Name of the font used to print line numbers on the left margin.
If this property is unspecified, the text body font is used.

Accepted values are strings representing a font description Pango can understand.
(e.g. &amp;quot;Monospace 10&amp;quot;). See pango_font_description_from_string()
for a description of the format of the string representation.

The value of this property cannot be changed anymore after the first
call to the gtk_source_print_compositor_paginate() function.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="n-pages"
                version="2.2"
                transfer-ownership="none"
                getter="get_n_pages"
                default-value="-1">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="673">The number of pages in the document or &lt;code&gt;-1&lt;/code&gt; if the
document has not been completely paginated.</doc>
        <type name="gint" c:type="gint"/>
      </property>
      <property name="print-footer"
                version="2.2"
                writable="1"
                transfer-ownership="none"
                setter="set_print_footer"
                getter="get_print_footer"
                default-value="FALSE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="555">Whether to print a footer in each page.

Note that by default the footer format is unspecified, and if it is
unspecified the footer will not be printed, regardless of the value of
this property.

The value of this property cannot be changed anymore after the first
call to the gtk_source_print_compositor_paginate() function.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="print-header"
                version="2.2"
                writable="1"
                transfer-ownership="none"
                setter="set_print_header"
                getter="get_print_header"
                default-value="FALSE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="532">Whether to print a header in each page.

Note that by default the header format is unspecified, and if it is
unspecified the header will not be printed, regardless of the value of
this property.

The value of this property cannot be changed anymore after the first
call to the gtk_source_print_compositor_paginate() function.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="print-line-numbers"
                version="2.2"
                writable="1"
                transfer-ownership="none"
                setter="set_print_line_numbers"
                getter="get_print_line_numbers"
                default-value="1">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="511">Interval of printed line numbers. If this property is set to 0 no
numbers will be printed.  If greater than 0, a number will be
printed every "print-line-numbers" lines (i.e. 1 will print all line numbers).

The value of this property cannot be changed anymore after the first
call to the gtk_source_print_compositor_paginate() function.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="tab-width"
                version="2.2"
                writable="1"
                transfer-ownership="none"
                setter="set_tab_width"
                getter="get_tab_width"
                default-value="8">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="450">Width of a tab character expressed in spaces.

The value of this property cannot be changed anymore after the first
call to the gtk_source_print_compositor_paginate() function.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="wrap-mode"
                version="2.2"
                writable="1"
                transfer-ownership="none"
                setter="set_wrap_mode"
                getter="get_wrap_mode"
                default-value="GTK_WRAP_NONE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceprintcompositor.c"
             line="472">Whether to wrap lines never, at word boundaries, or at character boundaries.

The value of this property cannot be changed anymore after the first
call to the gtk_source_print_compositor_paginate() function.</doc>
        <type name="Gtk.WrapMode"/>
      </property>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="PrintCompositorPrivate"
              c:type="GtkSourcePrintCompositorPrivate*"/>
      </field>
    </class>
    <record name="PrintCompositorClass"
            c:type="GtkSourcePrintCompositorClass"
            glib:is-gtype-struct-for="PrintCompositor">
      <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                       line="57"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="10">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="PrintCompositorPrivate"
            c:type="GtkSourcePrintCompositorPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gtksourceview/gtksourceprintcompositor.h"
                       line="42"/>
    </record>
    <class name="Region"
           c:symbol-prefix="region"
           c:type="GtkSourceRegion"
           parent="GObject.Object"
           glib:type-name="GtkSourceRegion"
           glib:get-type="gtk_source_region_get_type"
           glib:type-struct="RegionClass">
      <source-position filename="gtksourceview/gtksourceregion.h" line="47"/>
      <constructor name="new"
                   c:identifier="gtk_source_region_new"
                   version="3.22">
        <source-position filename="gtksourceview/gtksourceregion.h" line="67"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceregion.c"
               line="331">a new #GtkSourceRegion object for @buffer.</doc>
          <type name="Region" c:type="GtkSourceRegion*"/>
        </return-value>
        <parameters>
          <parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="329">a #GtkTextBuffer.</doc>
            <type name="Gtk.TextBuffer" c:type="GtkTextBuffer*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="add_region"
              c:identifier="gtk_source_region_add_region"
              version="3.22">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceregion.c"
             line="526">Adds @region_to_add to @region. @region_to_add is not modified.</doc>
        <source-position filename="gtksourceview/gtksourceregion.h" line="78"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="528">a #GtkSourceRegion.</doc>
            <type name="Region" c:type="GtkSourceRegion*"/>
          </instance-parameter>
          <parameter name="region_to_add"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="529">the #GtkSourceRegion to add to @region, or %NULL.</doc>
            <type name="Region" c:type="GtkSourceRegion*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_subregion"
              c:identifier="gtk_source_region_add_subregion"
              version="3.22">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceregion.c"
             line="402">Adds the subregion delimited by @_start and @_end to @region.</doc>
        <source-position filename="gtksourceview/gtksourceregion.h" line="73"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="404">a #GtkSourceRegion.</doc>
            <type name="Region" c:type="GtkSourceRegion*"/>
          </instance-parameter>
          <parameter name="_start" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="405">the start of the subregion.</doc>
            <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
          </parameter>
          <parameter name="_end" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="406">the end of the subregion.</doc>
            <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_bounds"
              c:identifier="gtk_source_region_get_bounds"
              version="3.22">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceregion.c"
             line="861">Gets the @start and @end bounds of the @region.</doc>
        <source-position filename="gtksourceview/gtksourceregion.h"
                         line="103"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceregion.c"
               line="871">%TRUE if @start and @end have been set successfully (if non-%NULL),
  or %FALSE if the @region is empty.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="863">a #GtkSourceRegion.</doc>
            <type name="Region" c:type="GtkSourceRegion*"/>
          </instance-parameter>
          <parameter name="start"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="864">iterator to initialize with the start of @region,
  or %NULL.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="end"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="866">iterator to initialize with the end of @region,
  or %NULL.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_buffer"
              c:identifier="gtk_source_region_get_buffer"
              glib:get-property="buffer"
              version="3.22">
        <source-position filename="gtksourceview/gtksourceregion.h" line="70"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceregion.c"
               line="348">the #GtkTextBuffer.</doc>
          <type name="Gtk.TextBuffer" c:type="GtkTextBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="346">a #GtkSourceRegion.</doc>
            <type name="Region" c:type="GtkSourceRegion*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_start_region_iter"
              c:identifier="gtk_source_region_get_start_region_iter"
              version="3.22">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceregion.c"
             line="1188">Initializes a #GtkSourceRegionIter to the first subregion of @region. If
@region is empty, @iter will be initialized to the end iterator.</doc>
        <source-position filename="gtksourceview/gtksourceregion.h"
                         line="108"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="1190">a #GtkSourceRegion.</doc>
            <type name="Region" c:type="GtkSourceRegion*"/>
          </instance-parameter>
          <parameter name="iter"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="1191">iterator to initialize to the first subregion.</doc>
            <type name="RegionIter" c:type="GtkSourceRegionIter*"/>
          </parameter>
        </parameters>
      </method>
      <method name="intersect_region"
              c:identifier="gtk_source_region_intersect_region"
              version="3.22">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceregion.c"
             line="1082">Returns the intersection between @region1 and @region2. @region1 and
@region2 are not modified.</doc>
        <source-position filename="gtksourceview/gtksourceregion.h" line="96"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceregion.c"
               line="1090">the intersection as a #GtkSourceRegion
  object.</doc>
          <type name="Region" c:type="GtkSourceRegion*"/>
        </return-value>
        <parameters>
          <instance-parameter name="region1"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="1084">a #GtkSourceRegion, or %NULL.</doc>
            <type name="Region" c:type="GtkSourceRegion*"/>
          </instance-parameter>
          <parameter name="region2"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="1085">a #GtkSourceRegion, or %NULL.</doc>
            <type name="Region" c:type="GtkSourceRegion*"/>
          </parameter>
        </parameters>
      </method>
      <method name="intersect_subregion"
              c:identifier="gtk_source_region_intersect_subregion"
              version="3.22">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceregion.c"
             line="909">Returns the intersection between @region and the subregion delimited by
@_start and @_end. @region is not modified.</doc>
        <source-position filename="gtksourceview/gtksourceregion.h" line="91"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceregion.c"
               line="918">the intersection as a new
  #GtkSourceRegion.</doc>
          <type name="Region" c:type="GtkSourceRegion*"/>
        </return-value>
        <parameters>
          <instance-parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="911">a #GtkSourceRegion.</doc>
            <type name="Region" c:type="GtkSourceRegion*"/>
          </instance-parameter>
          <parameter name="_start" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="912">the start of the subregion.</doc>
            <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
          </parameter>
          <parameter name="_end" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="913">the end of the subregion.</doc>
            <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_empty"
              c:identifier="gtk_source_region_is_empty"
              version="3.22">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceregion.c"
             line="809">Returns whether the @region is empty. A %NULL @region is considered empty.</doc>
        <source-position filename="gtksourceview/gtksourceregion.h"
                         line="100"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceregion.c"
               line="815">whether the @region is empty.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="region"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="811">a #GtkSourceRegion, or %NULL.</doc>
            <type name="Region" c:type="GtkSourceRegion*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="subtract_region"
              c:identifier="gtk_source_region_subtract_region"
              version="3.22">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceregion.c"
             line="756">Subtracts @region_to_subtract from @region. @region_to_subtract is not
modified.</doc>
        <source-position filename="gtksourceview/gtksourceregion.h" line="87"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="758">a #GtkSourceRegion.</doc>
            <type name="Region" c:type="GtkSourceRegion*"/>
          </instance-parameter>
          <parameter name="region_to_subtract"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="759">the #GtkSourceRegion to subtract from
  @region, or %NULL.</doc>
            <type name="Region" c:type="GtkSourceRegion*"/>
          </parameter>
        </parameters>
      </method>
      <method name="subtract_subregion"
              c:identifier="gtk_source_region_subtract_subregion"
              version="3.22">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceregion.c"
             line="582">Subtracts the subregion delimited by @_start and @_end from @region.</doc>
        <source-position filename="gtksourceview/gtksourceregion.h" line="82"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="584">a #GtkSourceRegion.</doc>
            <type name="Region" c:type="GtkSourceRegion*"/>
          </instance-parameter>
          <parameter name="_start" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="585">the start of the subregion.</doc>
            <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
          </parameter>
          <parameter name="_end" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="586">the end of the subregion.</doc>
            <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_string"
              c:identifier="gtk_source_region_to_string"
              version="3.22">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceregion.c"
             line="1321">Gets a string represention of @region, for debugging purposes.

The returned string contains the character offsets of the subregions. It
doesn't include a newline character at the end of the string.</doc>
        <source-position filename="gtksourceview/gtksourceregion.h"
                         line="123"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceregion.c"
               line="1330">a string represention of @region. Free
  with g_free() when no longer needed.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="1323">a #GtkSourceRegion.</doc>
            <type name="Region" c:type="GtkSourceRegion*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="buffer"
                version="3.22"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_buffer">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceregion.c"
             line="302">The #GtkTextBuffer. The #GtkSourceRegion has a weak reference to the
buffer.</doc>
        <type name="Gtk.TextBuffer"/>
      </property>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="RegionClass"
            c:type="GtkSourceRegionClass"
            glib:is-gtype-struct-for="Region">
      <source-position filename="gtksourceview/gtksourceregion.h" line="47"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="10">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="RegionIter" c:type="GtkSourceRegionIter" version="3.22">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourceregion.h"
           line="49">#GtkSourceRegionIter is an opaque datatype; ignore all its fields.
Initialize the iter with gtk_source_region_get_start_region_iter().</doc>
      <source-position filename="gtksourceview/gtksourceregion.h" line="64"/>
      <field name="dummy1" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="dummy2" readable="0" private="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="dummy3" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <method name="get_subregion"
              c:identifier="gtk_source_region_iter_get_subregion"
              version="3.22">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceregion.c"
             line="1267">Gets the subregion at this iterator.</doc>
        <source-position filename="gtksourceview/gtksourceregion.h"
                         line="118"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceregion.c"
               line="1275">%TRUE if @start and @end have been set successfully (if non-%NULL),
  or %FALSE if @iter is the end iterator or if the region is empty.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="iter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="1269">a #GtkSourceRegionIter.</doc>
            <type name="RegionIter" c:type="GtkSourceRegionIter*"/>
          </instance-parameter>
          <parameter name="start"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="1270">iterator to initialize with the subregion start, or %NULL.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="end"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="1271">iterator to initialize with the subregion end, or %NULL.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_end"
              c:identifier="gtk_source_region_iter_is_end"
              version="3.22">
        <source-position filename="gtksourceview/gtksourceregion.h"
                         line="112"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceregion.c"
               line="1222">whether @iter is the end iterator.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="iter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="1220">a #GtkSourceRegionIter.</doc>
            <type name="RegionIter" c:type="GtkSourceRegionIter*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="next"
              c:identifier="gtk_source_region_iter_next"
              version="3.22">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceregion.c"
             line="1238">Moves @iter to the next subregion.</doc>
        <source-position filename="gtksourceview/gtksourceregion.h"
                         line="115"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceregion.c"
               line="1244">%TRUE if @iter moved and is dereferenceable, or %FALSE if @iter has
  been set to the end iterator.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="iter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceregion.c"
                 line="1240">a #GtkSourceRegionIter.</doc>
            <type name="RegionIter" c:type="GtkSourceRegionIter*"/>
          </instance-parameter>
        </parameters>
      </method>
    </record>
    <function-macro name="SEARCH_CONTEXT"
                    c:identifier="GTK_SOURCE_SEARCH_CONTEXT"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="SEARCH_CONTEXT_CLASS"
                    c:identifier="GTK_SOURCE_SEARCH_CONTEXT_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                       line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="SEARCH_CONTEXT_GET_CLASS"
                    c:identifier="GTK_SOURCE_SEARCH_CONTEXT_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                       line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="SEARCH_SETTINGS"
                    c:identifier="GTK_SOURCE_SEARCH_SETTINGS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcesearchsettings.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="SEARCH_SETTINGS_CLASS"
                    c:identifier="GTK_SOURCE_SEARCH_SETTINGS_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcesearchsettings.h"
                       line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="SEARCH_SETTINGS_GET_CLASS"
                    c:identifier="GTK_SOURCE_SEARCH_SETTINGS_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcesearchsettings.h"
                       line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="SPACE_DRAWER"
                    c:identifier="GTK_SOURCE_SPACE_DRAWER"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcespacedrawer.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="SPACE_DRAWER_CLASS"
                    c:identifier="GTK_SOURCE_SPACE_DRAWER_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcespacedrawer.h"
                       line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="SPACE_DRAWER_GET_CLASS"
                    c:identifier="GTK_SOURCE_SPACE_DRAWER_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcespacedrawer.h"
                       line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STYLE"
                    c:identifier="GTK_SOURCE_STYLE"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyle.h" line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STYLE_CLASS"
                    c:identifier="GTK_SOURCE_STYLE_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyle.h" line="36"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STYLE_GET_CLASS"
                    c:identifier="GTK_SOURCE_STYLE_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyle.h" line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STYLE_SCHEME"
                    c:identifier="GTK_SOURCE_STYLE_SCHEME"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestylescheme.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STYLE_SCHEME_CHOOSER"
                    c:identifier="GTK_SOURCE_STYLE_SCHEME_CHOOSER"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyleschemechooser.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STYLE_SCHEME_CHOOSER_BUTTON"
                    c:identifier="GTK_SOURCE_STYLE_SCHEME_CHOOSER_BUTTON"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyleschemechooserbutton.h"
                       line="35"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STYLE_SCHEME_CHOOSER_BUTTON_CLASS"
                    c:identifier="GTK_SOURCE_STYLE_SCHEME_CHOOSER_BUTTON_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyleschemechooserbutton.h"
                       line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STYLE_SCHEME_CHOOSER_BUTTON_CONST"
                    c:identifier="GTK_SOURCE_STYLE_SCHEME_CHOOSER_BUTTON_CONST"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyleschemechooserbutton.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STYLE_SCHEME_CHOOSER_BUTTON_GET_CLASS"
                    c:identifier="GTK_SOURCE_STYLE_SCHEME_CHOOSER_BUTTON_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyleschemechooserbutton.h"
                       line="40"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STYLE_SCHEME_CHOOSER_GET_IFACE"
                    c:identifier="GTK_SOURCE_STYLE_SCHEME_CHOOSER_GET_IFACE"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyleschemechooser.h"
                       line="36"/>
      <parameters>
        <parameter name="inst">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STYLE_SCHEME_CHOOSER_WIDGET"
                    c:identifier="GTK_SOURCE_STYLE_SCHEME_CHOOSER_WIDGET"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyleschemechooserwidget.h"
                       line="35"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STYLE_SCHEME_CHOOSER_WIDGET_CLASS"
                    c:identifier="GTK_SOURCE_STYLE_SCHEME_CHOOSER_WIDGET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyleschemechooserwidget.h"
                       line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STYLE_SCHEME_CHOOSER_WIDGET_CONST"
                    c:identifier="GTK_SOURCE_STYLE_SCHEME_CHOOSER_WIDGET_CONST"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyleschemechooserwidget.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STYLE_SCHEME_CHOOSER_WIDGET_GET_CLASS"
                    c:identifier="GTK_SOURCE_STYLE_SCHEME_CHOOSER_WIDGET_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyleschemechooserwidget.h"
                       line="40"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STYLE_SCHEME_CLASS"
                    c:identifier="GTK_SOURCE_STYLE_SCHEME_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestylescheme.h"
                       line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STYLE_SCHEME_GET_CLASS"
                    c:identifier="GTK_SOURCE_STYLE_SCHEME_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestylescheme.h"
                       line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STYLE_SCHEME_MANAGER"
                    c:identifier="GTK_SOURCE_STYLE_SCHEME_MANAGER"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyleschememanager.h"
                       line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STYLE_SCHEME_MANAGER_CLASS"
                    c:identifier="GTK_SOURCE_STYLE_SCHEME_MANAGER_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyleschememanager.h"
                       line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STYLE_SCHEME_MANAGER_GET_CLASS"
                    c:identifier="GTK_SOURCE_STYLE_SCHEME_MANAGER_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourcestyleschememanager.h"
                       line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <class name="SearchContext"
           c:symbol-prefix="search_context"
           c:type="GtkSourceSearchContext"
           parent="GObject.Object"
           glib:type-name="GtkSourceSearchContext"
           glib:get-type="gtk_source_search_context_get_type"
           glib:type-struct="SearchContextClass">
      <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                       line="55"/>
      <constructor name="new"
                   c:identifier="gtk_source_search_context_new"
                   version="3.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchcontext.c"
             line="2894">Creates a new search context, associated with @buffer, and customized with
@settings. If @settings is %NULL, a new #GtkSourceSearchSettings object will
be created, that you can retrieve with
gtk_source_search_context_get_settings().</doc>
        <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                         line="61"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcesearchcontext.c"
               line="2904">a new search context.</doc>
          <type name="SearchContext" c:type="GtkSourceSearchContext*"/>
        </return-value>
        <parameters>
          <parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="2896">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </parameter>
          <parameter name="settings"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="2897">a #GtkSourceSearchSettings, or %NULL.</doc>
            <type name="SearchSettings" c:type="GtkSourceSearchSettings*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="backward"
              c:identifier="gtk_source_search_context_backward"
              version="4.0"
              glib:async-func="backward_async">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchcontext.c"
             line="3397">Synchronous backward search. It is recommended to use the asynchronous
functions instead, to not block the user interface. However, if you are sure
that the @buffer is small, this function is more convenient to use.

If the #GtkSourceSearchSettings:wrap-around property is %FALSE, this function
doesn't try to wrap around.

The @has_wrapped_around out parameter is set independently of whether a match
is found. So if this function returns %FALSE, @has_wrapped_around will have
the same value as the #GtkSourceSearchSettings:wrap-around property.</doc>
        <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                         line="118"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcesearchcontext.c"
               line="3417">whether a match was found.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="search" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3399">a #GtkSourceSearchContext.</doc>
            <type name="SearchContext" c:type="GtkSourceSearchContext*"/>
          </instance-parameter>
          <parameter name="iter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3400">start of search.</doc>
            <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
          </parameter>
          <parameter name="match_start"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3401">return location for start of match, or %NULL.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="match_end"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3402">return location for end of match, or %NULL.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="has_wrapped_around"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3403">return location to know whether the
  search has wrapped around, or %NULL.</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </method>
      <method name="backward_async"
              c:identifier="gtk_source_search_context_backward_async"
              version="3.10"
              glib:finish-func="backward_finish"
              glib:sync-func="backward">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchcontext.c"
             line="3473">The asynchronous version of gtk_source_search_context_backward().

See the documentation of gtk_source_search_context_backward() for more
details.

See the #GAsyncResult documentation to know how to use this function.

If the operation is cancelled, the @callback will only be called if
@cancellable was not %NULL. gtk_source_search_context_backward_async() takes
ownership of @cancellable, so you can unref it after calling this function.</doc>
        <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                         line="125"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="search" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3475">a #GtkSourceSearchContext.</doc>
            <type name="SearchContext" c:type="GtkSourceSearchContext*"/>
          </instance-parameter>
          <parameter name="iter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3476">start of search.</doc>
            <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3477">a #GCancellable, or %NULL.</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3478">a #GAsyncReadyCallback to call when the operation is finished.</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3479">the data to pass to the @callback function.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="backward_finish"
              c:identifier="gtk_source_search_context_backward_finish"
              version="4.0"
              throws="1">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchcontext.c"
             line="3515">Finishes a backward search started with
gtk_source_search_context_backward_async().

See the documentation of gtk_source_search_context_backward() for more
details.</doc>
        <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                         line="132"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcesearchcontext.c"
               line="3531">whether a match was found.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="search" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3517">a #GtkSourceSearchContext.</doc>
            <type name="SearchContext" c:type="GtkSourceSearchContext*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3518">a #GAsyncResult.</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
          <parameter name="match_start"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3519">return location for start of match, or %NULL.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="match_end"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3520">return location for end of match, or %NULL.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="has_wrapped_around"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3521">return location to know whether the
  search has wrapped around, or %NULL.</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </method>
      <method name="forward"
              c:identifier="gtk_source_search_context_forward"
              version="4.0"
              glib:async-func="forward_async">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchcontext.c"
             line="3201">Synchronous forward search. It is recommended to use the asynchronous
functions instead, to not block the user interface. However, if you are sure
that the @buffer is small, this function is more convenient to use.

If the #GtkSourceSearchSettings:wrap-around property is %FALSE, this function
doesn't try to wrap around.

The @has_wrapped_around out parameter is set independently of whether a match
is found. So if this function returns %FALSE, @has_wrapped_around will have
the same value as the #GtkSourceSearchSettings:wrap-around property.</doc>
        <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                         line="96"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcesearchcontext.c"
               line="3221">whether a match was found.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="search" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3203">a #GtkSourceSearchContext.</doc>
            <type name="SearchContext" c:type="GtkSourceSearchContext*"/>
          </instance-parameter>
          <parameter name="iter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3204">start of search.</doc>
            <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
          </parameter>
          <parameter name="match_start"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3205">return location for start of match, or %NULL.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="match_end"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3206">return location for end of match, or %NULL.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="has_wrapped_around"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3207">return location to know whether the
  search has wrapped around, or %NULL.</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </method>
      <method name="forward_async"
              c:identifier="gtk_source_search_context_forward_async"
              version="3.10"
              glib:finish-func="forward_finish"
              glib:sync-func="forward">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchcontext.c"
             line="3276">The asynchronous version of gtk_source_search_context_forward().

See the documentation of gtk_source_search_context_forward() for more
details.

See the #GAsyncResult documentation to know how to use this function.

If the operation is cancelled, the @callback will only be called if
@cancellable was not %NULL. gtk_source_search_context_forward_async() takes
ownership of @cancellable, so you can unref it after calling this function.</doc>
        <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                         line="103"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="search" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3278">a #GtkSourceSearchContext.</doc>
            <type name="SearchContext" c:type="GtkSourceSearchContext*"/>
          </instance-parameter>
          <parameter name="iter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3279">start of search.</doc>
            <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3280">a #GCancellable, or %NULL.</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3281">a #GAsyncReadyCallback to call when the operation is finished.</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3282">the data to pass to the @callback function.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="forward_finish"
              c:identifier="gtk_source_search_context_forward_finish"
              version="4.0"
              throws="1">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchcontext.c"
             line="3318">Finishes a forward search started with
gtk_source_search_context_forward_async().

See the documentation of gtk_source_search_context_forward() for more
details.</doc>
        <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                         line="110"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcesearchcontext.c"
               line="3334">whether a match was found.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="search" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3320">a #GtkSourceSearchContext.</doc>
            <type name="SearchContext" c:type="GtkSourceSearchContext*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3321">a #GAsyncResult.</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
          <parameter name="match_start"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3322">return location for start of match, or %NULL.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="match_end"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3323">return location for end of match, or %NULL.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="has_wrapped_around"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3324">return location to know whether the
  search has wrapped around, or %NULL.</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_buffer"
              c:identifier="gtk_source_search_context_get_buffer"
              glib:get-property="buffer"
              version="3.10">
        <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                         line="65"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcesearchcontext.c"
               line="2924">the associated buffer.</doc>
          <type name="Buffer" c:type="GtkSourceBuffer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="search" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="2922">a #GtkSourceSearchContext.</doc>
            <type name="SearchContext" c:type="GtkSourceSearchContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_highlight"
              c:identifier="gtk_source_search_context_get_highlight"
              glib:get-property="highlight"
              version="3.10">
        <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                         line="71"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcesearchcontext.c"
               line="2954">whether to highlight the search occurrences.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="search" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="2952">a #GtkSourceSearchContext.</doc>
            <type name="SearchContext" c:type="GtkSourceSearchContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_match_style"
              c:identifier="gtk_source_search_context_get_match_style"
              glib:get-property="match-style"
              version="3.16">
        <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                         line="78"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcesearchcontext.c"
               line="2995">the #GtkSourceStyle to apply on search matches.</doc>
          <type name="Style" c:type="GtkSourceStyle*"/>
        </return-value>
        <parameters>
          <instance-parameter name="search" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="2993">a #GtkSourceSearchContext.</doc>
            <type name="SearchContext" c:type="GtkSourceSearchContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_occurrence_position"
              c:identifier="gtk_source_search_context_get_occurrence_position"
              version="3.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchcontext.c"
             line="3096">Gets the position of a search occurrence. If the buffer is not already fully
scanned, the position may be unknown, and -1 is returned. If 0 is returned,
it means that this part of the buffer has already been scanned, and that
@match_start and @match_end don't delimit an occurrence.</doc>
        <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                         line="91"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcesearchcontext.c"
               line="3107">the position of the search occurrence. The first occurrence has the
position 1 (not 0). Returns 0 if @match_start and @match_end don't delimit
an occurrence. Returns -1 if the position is not yet known.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="search" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3098">a #GtkSourceSearchContext.</doc>
            <type name="SearchContext" c:type="GtkSourceSearchContext*"/>
          </instance-parameter>
          <parameter name="match_start" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3099">the start of the occurrence.</doc>
            <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
          </parameter>
          <parameter name="match_end" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3100">the end of the occurrence.</doc>
            <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_occurrences_count"
              c:identifier="gtk_source_search_context_get_occurrences_count"
              glib:get-property="occurrences-count"
              version="3.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchcontext.c"
             line="3072">Gets the total number of search occurrences. If the buffer is not already
fully scanned, the total number of occurrences is unknown, and -1 is
returned.</doc>
        <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                         line="88"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcesearchcontext.c"
               line="3080">the total number of search occurrences, or -1 if unknown.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="search" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3074">a #GtkSourceSearchContext.</doc>
            <type name="SearchContext" c:type="GtkSourceSearchContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_regex_error"
              c:identifier="gtk_source_search_context_get_regex_error"
              glib:get-property="regex-error"
              version="3.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchcontext.c"
             line="3046">Regular expression patterns must follow certain rules. If
#GtkSourceSearchSettings:search-text breaks a rule, the error can be retrieved
with this function. The error domain is #G_REGEX_ERROR.

Free the return value with g_error_free().</doc>
        <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                         line="85"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcesearchcontext.c"
               line="3056">the #GError, or %NULL if the pattern is valid.</doc>
          <type name="GLib.Error" c:type="GError*"/>
        </return-value>
        <parameters>
          <instance-parameter name="search" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3048">a #GtkSourceSearchContext.</doc>
            <type name="SearchContext" c:type="GtkSourceSearchContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_settings"
              c:identifier="gtk_source_search_context_get_settings"
              glib:get-property="settings"
              version="3.10">
        <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                         line="68"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcesearchcontext.c"
               line="2939">the search settings.</doc>
          <type name="SearchSettings" c:type="GtkSourceSearchSettings*"/>
        </return-value>
        <parameters>
          <instance-parameter name="search" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="2937">a #GtkSourceSearchContext.</doc>
            <type name="SearchContext" c:type="GtkSourceSearchContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="replace"
              c:identifier="gtk_source_search_context_replace"
              version="4.0"
              throws="1">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchcontext.c"
             line="3647">Replaces a search match by another text. If @match_start and @match_end
doesn't correspond to a search match, %FALSE is returned.

@match_start and @match_end iters are revalidated to point to the replacement
text boundaries.

For a regular expression replacement, you can check if @replace is valid by
calling g_regex_check_replacement(). The @replace text can contain
backreferences; read the g_regex_replace() documentation for more details.</doc>
        <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                         line="140"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcesearchcontext.c"
               line="3666">whether the match has been replaced.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="search" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3649">a #GtkSourceSearchContext.</doc>
            <type name="SearchContext" c:type="GtkSourceSearchContext*"/>
          </instance-parameter>
          <parameter name="match_start" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3650">the start of the match to replace.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="match_end" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3651">the end of the match to replace.</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="replace" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3652">the replacement text.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="replace_length" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3653">the length of @replace in bytes, or -1.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="replace_all"
              c:identifier="gtk_source_search_context_replace_all"
              version="3.10"
              throws="1">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchcontext.c"
             line="3731">Replaces all search matches by another text. It is a synchronous function, so
it can block the user interface.

For a regular expression replacement, you can check if @replace is valid by
calling g_regex_check_replacement(). The @replace text can contain
backreferences; read the g_regex_replace() documentation for more details.</doc>
        <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                         line="148"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcesearchcontext.c"
               line="3745">the number of replaced matches.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="search" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3733">a #GtkSourceSearchContext.</doc>
            <type name="SearchContext" c:type="GtkSourceSearchContext*"/>
          </instance-parameter>
          <parameter name="replace" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3734">the replacement text.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="replace_length" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3735">the length of @replace in bytes, or -1.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_highlight"
              c:identifier="gtk_source_search_context_set_highlight"
              glib:set-property="highlight"
              version="3.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchcontext.c"
             line="2965">Enables or disables the search occurrences highlighting.</doc>
        <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                         line="74"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="search" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="2967">a #GtkSourceSearchContext.</doc>
            <type name="SearchContext" c:type="GtkSourceSearchContext*"/>
          </instance-parameter>
          <parameter name="highlight" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="2968">the setting.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_match_style"
              c:identifier="gtk_source_search_context_set_match_style"
              glib:set-property="match-style"
              version="3.16">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchcontext.c"
             line="3007">Set the style to apply on search matches. If @match_style is %NULL, default
theme's scheme 'match-style' will be used.
To enable or disable the search highlighting, use
gtk_source_search_context_set_highlight().</doc>
        <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                         line="81"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="search" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3009">a #GtkSourceSearchContext.</doc>
            <type name="SearchContext" c:type="GtkSourceSearchContext*"/>
          </instance-parameter>
          <parameter name="match_style"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchcontext.c"
                 line="3010">a #GtkSourceStyle, or %NULL.</doc>
            <type name="Style" c:type="GtkSourceStyle*"/>
          </parameter>
        </parameters>
      </method>
      <property name="buffer"
                version="3.10"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_buffer">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchcontext.c"
             line="2778">The #GtkSourceBuffer associated to the search context.</doc>
        <type name="Buffer"/>
      </property>
      <property name="highlight"
                version="3.10"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_highlight"
                getter="get_highlight"
                default-value="TRUE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchcontext.c"
             line="2814">Highlight the search occurrences.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="match-style"
                version="3.16"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_match_style"
                getter="get_match_style">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchcontext.c"
             line="2831">A #GtkSourceStyle, or %NULL for theme's scheme default style.</doc>
        <type name="Style"/>
      </property>
      <property name="occurrences-count"
                version="3.10"
                transfer-ownership="none"
                getter="get_occurrences_count"
                default-value="0">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchcontext.c"
             line="2848">The total number of search occurrences. If the search is disabled,
the value is 0. If the buffer is not already fully scanned, the value
is -1.</doc>
        <type name="gint" c:type="gint"/>
      </property>
      <property name="regex-error"
                version="3.10"
                transfer-ownership="none"
                getter="get_regex_error">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchcontext.c"
             line="2868">If the regex search pattern doesn't follow all the rules, this
#GError property will be set. If the pattern is valid, the value is
%NULL.

Free with g_error_free().</doc>
        <type name="gpointer" c:type="gpointer"/>
      </property>
      <property name="settings"
                version="3.10"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_settings">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchcontext.c"
             line="2795">The #GtkSourceSearchSettings associated to the search context.

This property is construct-only since version 4.0.</doc>
        <type name="SearchSettings"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="SearchContextPrivate"
              c:type="GtkSourceSearchContextPrivate*"/>
      </field>
    </class>
    <record name="SearchContextClass"
            c:type="GtkSourceSearchContextClass"
            glib:is-gtype-struct-for="SearchContext">
      <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                       line="55"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="10">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="SearchContextPrivate"
            c:type="GtkSourceSearchContextPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gtksourceview/gtksourcesearchcontext.h"
                       line="41"/>
    </record>
    <class name="SearchSettings"
           c:symbol-prefix="search_settings"
           c:type="GtkSourceSearchSettings"
           parent="GObject.Object"
           glib:type-name="GtkSourceSearchSettings"
           glib:get-type="gtk_source_search_settings_get_type"
           glib:type-struct="SearchSettingsClass">
      <source-position filename="gtksourceview/gtksourcesearchsettings.h"
                       line="55"/>
      <constructor name="new"
                   c:identifier="gtk_source_search_settings_new"
                   version="3.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchsettings.c"
             line="256">Creates a new search settings object.</doc>
        <source-position filename="gtksourceview/gtksourcesearchsettings.h"
                         line="61"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcesearchsettings.c"
               line="261">a new search settings object.</doc>
          <type name="SearchSettings" c:type="GtkSourceSearchSettings*"/>
        </return-value>
      </constructor>
      <method name="get_at_word_boundaries"
              c:identifier="gtk_source_search_settings_get_at_word_boundaries"
              glib:get-property="at-word-boundaries"
              version="3.10">
        <source-position filename="gtksourceview/gtksourcesearchsettings.h"
                         line="82"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcesearchsettings.c"
               line="402">whether to search at word boundaries.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="settings" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchsettings.c"
                 line="400">a #GtkSourceSearchSettings.</doc>
            <type name="SearchSettings" c:type="GtkSourceSearchSettings*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_case_sensitive"
              c:identifier="gtk_source_search_settings_get_case_sensitive"
              glib:get-property="case-sensitive"
              version="3.10">
        <source-position filename="gtksourceview/gtksourcesearchsettings.h"
                         line="75"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcesearchsettings.c"
               line="360">whether the search is case sensitive.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="settings" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchsettings.c"
                 line="358">a #GtkSourceSearchSettings.</doc>
            <type name="SearchSettings" c:type="GtkSourceSearchSettings*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_regex_enabled"
              c:identifier="gtk_source_search_settings_get_regex_enabled"
              glib:get-property="regex-enabled"
              version="3.10">
        <source-position filename="gtksourceview/gtksourcesearchsettings.h"
                         line="96"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcesearchsettings.c"
               line="489">whether to search by regular expressions.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="settings" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchsettings.c"
                 line="487">a #GtkSourceSearchSettings.</doc>
            <type name="SearchSettings" c:type="GtkSourceSearchSettings*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_search_text"
              c:identifier="gtk_source_search_settings_get_search_text"
              glib:get-property="search-text"
              version="3.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchsettings.c"
             line="312">Gets the text to search. The return value must not be freed.

You may be interested to call gtk_source_utils_escape_search_text() after
this function.</doc>
        <source-position filename="gtksourceview/gtksourcesearchsettings.h"
                         line="68"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcesearchsettings.c"
               line="321">the text to search, or %NULL if the search is disabled.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="settings" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchsettings.c"
                 line="314">a #GtkSourceSearchSettings.</doc>
            <type name="SearchSettings" c:type="GtkSourceSearchSettings*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_wrap_around"
              c:identifier="gtk_source_search_settings_get_wrap_around"
              glib:get-property="wrap-around"
              version="3.10">
        <source-position filename="gtksourceview/gtksourcesearchsettings.h"
                         line="89"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcesearchsettings.c"
               line="444">whether to wrap around the search.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="settings" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchsettings.c"
                 line="442">a #GtkSourceSearchSettings.</doc>
            <type name="SearchSettings" c:type="GtkSourceSearchSettings*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_at_word_boundaries"
              c:identifier="gtk_source_search_settings_set_at_word_boundaries"
              glib:set-property="at-word-boundaries"
              version="3.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchsettings.c"
             line="371">Change whether the search is done at word boundaries. If @at_word_boundaries
is %TRUE, a search match must start and end a word. The match can span
multiple words. See also gtk_text_iter_starts_word() and
gtk_text_iter_ends_word().</doc>
        <source-position filename="gtksourceview/gtksourcesearchsettings.h"
                         line="78"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="settings" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchsettings.c"
                 line="373">a #GtkSourceSearchSettings.</doc>
            <type name="SearchSettings" c:type="GtkSourceSearchSettings*"/>
          </instance-parameter>
          <parameter name="at_word_boundaries" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchsettings.c"
                 line="374">the setting.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_case_sensitive"
              c:identifier="gtk_source_search_settings_set_case_sensitive"
              glib:set-property="case-sensitive"
              version="3.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchsettings.c"
             line="332">Enables or disables the case sensitivity for the search.</doc>
        <source-position filename="gtksourceview/gtksourcesearchsettings.h"
                         line="71"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="settings" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchsettings.c"
                 line="334">a #GtkSourceSearchSettings.</doc>
            <type name="SearchSettings" c:type="GtkSourceSearchSettings*"/>
          </instance-parameter>
          <parameter name="case_sensitive" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchsettings.c"
                 line="335">the setting.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_regex_enabled"
              c:identifier="gtk_source_search_settings_set_regex_enabled"
              glib:set-property="regex-enabled"
              version="3.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchsettings.c"
             line="455">Enables or disables whether to search by regular expressions.
If enabled, the #GtkSourceSearchSettings:search-text property contains the
pattern of the regular expression.

#GtkSourceSearchContext uses #GRegex when regex search is enabled. See the
[Regular expression syntax](https://developer.gnome.org/glib/stable/glib-regex-syntax.html)
page in the GLib reference manual.</doc>
        <source-position filename="gtksourceview/gtksourcesearchsettings.h"
                         line="92"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="settings" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchsettings.c"
                 line="457">a #GtkSourceSearchSettings.</doc>
            <type name="SearchSettings" c:type="GtkSourceSearchSettings*"/>
          </instance-parameter>
          <parameter name="regex_enabled" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchsettings.c"
                 line="458">the setting.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_search_text"
              c:identifier="gtk_source_search_settings_set_search_text"
              glib:set-property="search-text"
              version="3.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchsettings.c"
             line="270">Sets the text to search. If @search_text is %NULL or is empty, the search
will be disabled. A copy of @search_text will be made, so you can safely free
@search_text after a call to this function.

You may be interested to call gtk_source_utils_unescape_search_text() before
this function.</doc>
        <source-position filename="gtksourceview/gtksourcesearchsettings.h"
                         line="64"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="settings" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchsettings.c"
                 line="272">a #GtkSourceSearchSettings.</doc>
            <type name="SearchSettings" c:type="GtkSourceSearchSettings*"/>
          </instance-parameter>
          <parameter name="search_text"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchsettings.c"
                 line="273">the nul-terminated text to search, or %NULL to disable the search.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_wrap_around"
              c:identifier="gtk_source_search_settings_set_wrap_around"
              glib:set-property="wrap-around"
              version="3.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchsettings.c"
             line="413">Enables or disables the wrap around search. If @wrap_around is %TRUE, the
forward search continues at the beginning of the buffer if no search
occurrences are found. Similarly, the backward search continues to search at
the end of the buffer.</doc>
        <source-position filename="gtksourceview/gtksourcesearchsettings.h"
                         line="85"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="settings" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchsettings.c"
                 line="415">a #GtkSourceSearchSettings.</doc>
            <type name="SearchSettings" c:type="GtkSourceSearchSettings*"/>
          </instance-parameter>
          <parameter name="wrap_around" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcesearchsettings.c"
                 line="416">the setting.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <property name="at-word-boundaries"
                version="3.10"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_at_word_boundaries"
                getter="get_at_word_boundaries"
                default-value="FALSE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchsettings.c"
             line="194">If %TRUE, a search match must start and end a word. The match can
span multiple words.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="case-sensitive"
                version="3.10"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_case_sensitive"
                getter="get_case_sensitive"
                default-value="FALSE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchsettings.c"
             line="177">Whether the search is case sensitive.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="regex-enabled"
                version="3.10"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_regex_enabled"
                getter="get_regex_enabled"
                default-value="FALSE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchsettings.c"
             line="231">Search by regular expressions with
#GtkSourceSearchSettings:search-text as the pattern.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="search-text"
                version="3.10"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_search_text"
                getter="get_search_text"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchsettings.c"
             line="158">A search string, or %NULL if the search is disabled. If the regular
expression search is enabled, #GtkSourceSearchSettings:search-text is
the pattern.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="wrap-around"
                version="3.10"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_wrap_around"
                getter="get_wrap_around"
                default-value="FALSE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcesearchsettings.c"
             line="212">For a forward search, continue at the beginning of the buffer if no
search occurrence is found. For a backward search, continue at the
end of the buffer.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="SearchSettingsPrivate"
              c:type="GtkSourceSearchSettingsPrivate*"/>
      </field>
    </class>
    <record name="SearchSettingsClass"
            c:type="GtkSourceSearchSettingsClass"
            glib:is-gtype-struct-for="SearchSettings">
      <source-position filename="gtksourceview/gtksourcesearchsettings.h"
                       line="55"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="10">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="SearchSettingsPrivate"
            c:type="GtkSourceSearchSettingsPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gtksourceview/gtksourcesearchsettings.h"
                       line="41"/>
    </record>
    <enumeration name="SmartHomeEndType"
                 glib:type-name="GtkSourceSmartHomeEndType"
                 glib:get-type="gtk_source_smart_home_end_type_get_type"
                 c:type="GtkSourceSmartHomeEndType">
      <member name="disabled"
              value="0"
              c:identifier="GTK_SOURCE_SMART_HOME_END_DISABLED"
              glib:nick="disabled"
              glib:name="GTK_SOURCE_SMART_HOME_END_DISABLED">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.h"
             line="60">smart-home-end disabled.</doc>
      </member>
      <member name="before"
              value="1"
              c:identifier="GTK_SOURCE_SMART_HOME_END_BEFORE"
              glib:nick="before"
              glib:name="GTK_SOURCE_SMART_HOME_END_BEFORE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.h"
             line="61">move to the first/last
non-whitespace character on the first press of the HOME/END keys and
to the beginning/end of the line on the second press.</doc>
      </member>
      <member name="after"
              value="2"
              c:identifier="GTK_SOURCE_SMART_HOME_END_AFTER"
              glib:nick="after"
              glib:name="GTK_SOURCE_SMART_HOME_END_AFTER">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.h"
             line="64">move to the beginning/end of the
line on the first press of the HOME/END keys and to the first/last
non-whitespace character on the second press.</doc>
      </member>
      <member name="always"
              value="3"
              c:identifier="GTK_SOURCE_SMART_HOME_END_ALWAYS"
              glib:nick="always"
              glib:name="GTK_SOURCE_SMART_HOME_END_ALWAYS">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.h"
             line="67">always move to the first/last
non-whitespace character when the HOME/END keys are pressed.</doc>
      </member>
    </enumeration>
    <bitfield name="SortFlags"
              version="3.18"
              glib:type-name="GtkSourceSortFlags"
              glib:get-type="gtk_source_sort_flags_get_type"
              c:type="GtkSourceSortFlags">
      <member name="none"
              value="0"
              c:identifier="GTK_SOURCE_SORT_FLAGS_NONE"
              glib:nick="none"
              glib:name="GTK_SOURCE_SORT_FLAGS_NONE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.h"
             line="82">no flags specified</doc>
      </member>
      <member name="case_sensitive"
              value="1"
              c:identifier="GTK_SOURCE_SORT_FLAGS_CASE_SENSITIVE"
              glib:nick="case-sensitive"
              glib:name="GTK_SOURCE_SORT_FLAGS_CASE_SENSITIVE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.h"
             line="83">case sensitive sort</doc>
      </member>
      <member name="reverse_order"
              value="2"
              c:identifier="GTK_SOURCE_SORT_FLAGS_REVERSE_ORDER"
              glib:nick="reverse-order"
              glib:name="GTK_SOURCE_SORT_FLAGS_REVERSE_ORDER">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.h"
             line="84">sort in reverse order</doc>
      </member>
      <member name="remove_duplicates"
              value="4"
              c:identifier="GTK_SOURCE_SORT_FLAGS_REMOVE_DUPLICATES"
              glib:nick="remove-duplicates"
              glib:name="GTK_SOURCE_SORT_FLAGS_REMOVE_DUPLICATES">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcebuffer.h"
             line="85">remove duplicates</doc>
      </member>
    </bitfield>
    <class name="SpaceDrawer"
           c:symbol-prefix="space_drawer"
           c:type="GtkSourceSpaceDrawer"
           parent="GObject.Object"
           glib:type-name="GtkSourceSpaceDrawer"
           glib:get-type="gtk_source_space_drawer_get_type"
           glib:type-struct="SpaceDrawerClass">
      <source-position filename="gtksourceview/gtksourcespacedrawer.h"
                       line="55"/>
      <constructor name="new"
                   c:identifier="gtk_source_space_drawer_new"
                   version="3.24">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcespacedrawer.c"
             line="384">Creates a new #GtkSourceSpaceDrawer object. Useful for storing space drawing
settings independently of a #GtkSourceView.</doc>
        <source-position filename="gtksourceview/gtksourcespacedrawer.h"
                         line="111"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcespacedrawer.c"
               line="390">a new #GtkSourceSpaceDrawer.</doc>
          <type name="SpaceDrawer" c:type="GtkSourceSpaceDrawer*"/>
        </return-value>
      </constructor>
      <method name="bind_matrix_setting"
              c:identifier="gtk_source_space_drawer_bind_matrix_setting"
              version="3.24">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcespacedrawer.c"
             line="653">Binds the #GtkSourceSpaceDrawer:matrix property to a #GSettings key.

The #GSettings key must be of the same type as the
#GtkSourceSpaceDrawer:matrix property, that is, `"au"`.

The g_settings_bind() function cannot be used, because the default GIO
mapping functions don't support #GVariant properties (maybe it will be
supported by a future GIO version, in which case this function can be
deprecated).</doc>
        <source-position filename="gtksourceview/gtksourcespacedrawer.h"
                         line="137"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcespacedrawer.c"
                 line="655">a #GtkSourceSpaceDrawer object.</doc>
            <type name="SpaceDrawer" c:type="GtkSourceSpaceDrawer*"/>
          </instance-parameter>
          <parameter name="settings" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcespacedrawer.c"
                 line="656">a #GSettings object.</doc>
            <type name="Gio.Settings" c:type="GSettings*"/>
          </parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcespacedrawer.c"
                 line="657">the @settings key to bind.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcespacedrawer.c"
                 line="658">flags for the binding.</doc>
            <type name="Gio.SettingsBindFlags" c:type="GSettingsBindFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_enable_matrix"
              c:identifier="gtk_source_space_drawer_get_enable_matrix"
              glib:get-property="enable-matrix"
              version="3.24">
        <source-position filename="gtksourceview/gtksourcespacedrawer.h"
                         line="130"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcespacedrawer.c"
               line="601">whether the #GtkSourceSpaceDrawer:matrix property is enabled.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcespacedrawer.c"
                 line="599">a #GtkSourceSpaceDrawer.</doc>
            <type name="SpaceDrawer" c:type="GtkSourceSpaceDrawer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_matrix"
              c:identifier="gtk_source_space_drawer_get_matrix"
              glib:get-property="matrix"
              version="3.24">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcespacedrawer.c"
             line="469">Gets the value of the #GtkSourceSpaceDrawer:matrix property, as a #GVariant.
An empty array can be returned in case the matrix is a zero matrix.

The gtk_source_space_drawer_get_types_for_locations() function may be more
convenient to use.</doc>
        <source-position filename="gtksourceview/gtksourcespacedrawer.h"
                         line="123"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcespacedrawer.c"
               line="479">the #GtkSourceSpaceDrawer:matrix value as a new floating #GVariant
  instance.</doc>
          <type name="GLib.Variant" c:type="GVariant*"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcespacedrawer.c"
                 line="471">a #GtkSourceSpaceDrawer.</doc>
            <type name="SpaceDrawer" c:type="GtkSourceSpaceDrawer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_types_for_locations"
              c:identifier="gtk_source_space_drawer_get_types_for_locations"
              version="3.24">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcespacedrawer.c"
             line="399">If only one location is specified, this function returns what kind of
white spaces are drawn at that location. The value is retrieved from the
#GtkSourceSpaceDrawer:matrix property.

If several locations are specified, this function returns the logical AND for
those locations. Which means that if a certain kind of white space is present
in the return value, then that kind of white space is drawn at all the
specified @locations.</doc>
        <source-position filename="gtksourceview/gtksourcespacedrawer.h"
                         line="114"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcespacedrawer.c"
               line="413">a combination of #GtkSourceSpaceTypeFlags.</doc>
          <type name="SpaceTypeFlags" c:type="GtkSourceSpaceTypeFlags"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcespacedrawer.c"
                 line="401">a #GtkSourceSpaceDrawer.</doc>
            <type name="SpaceDrawer" c:type="GtkSourceSpaceDrawer*"/>
          </instance-parameter>
          <parameter name="locations" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcespacedrawer.c"
                 line="402">one or several #GtkSourceSpaceLocationFlags.</doc>
            <type name="SpaceLocationFlags"
                  c:type="GtkSourceSpaceLocationFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_enable_matrix"
              c:identifier="gtk_source_space_drawer_set_enable_matrix"
              glib:set-property="enable-matrix"
              version="3.24">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcespacedrawer.c"
             line="612">Sets whether the #GtkSourceSpaceDrawer:matrix property is enabled.</doc>
        <source-position filename="gtksourceview/gtksourcespacedrawer.h"
                         line="133"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcespacedrawer.c"
                 line="614">a #GtkSourceSpaceDrawer.</doc>
            <type name="SpaceDrawer" c:type="GtkSourceSpaceDrawer*"/>
          </instance-parameter>
          <parameter name="enable_matrix" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcespacedrawer.c"
                 line="615">the new value.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_matrix"
              c:identifier="gtk_source_space_drawer_set_matrix"
              glib:set-property="matrix"
              version="3.24">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcespacedrawer.c"
             line="513">Sets a new value to the #GtkSourceSpaceDrawer:matrix property, as a
#GVariant. If @matrix is %NULL, then an empty array is set.

If @matrix is floating, it is consumed.

The gtk_source_space_drawer_set_types_for_locations() function may be more
convenient to use.</doc>
        <source-position filename="gtksourceview/gtksourcespacedrawer.h"
                         line="126"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcespacedrawer.c"
                 line="515">a #GtkSourceSpaceDrawer.</doc>
            <type name="SpaceDrawer" c:type="GtkSourceSpaceDrawer*"/>
          </instance-parameter>
          <parameter name="matrix"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcespacedrawer.c"
                 line="516">the new matrix value, or %NULL.</doc>
            <type name="GLib.Variant" c:type="GVariant*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_types_for_locations"
              c:identifier="gtk_source_space_drawer_set_types_for_locations"
              version="3.24">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcespacedrawer.c"
             line="425">Modifies the #GtkSourceSpaceDrawer:matrix property at the specified
@locations.</doc>
        <source-position filename="gtksourceview/gtksourcespacedrawer.h"
                         line="118"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcespacedrawer.c"
                 line="427">a #GtkSourceSpaceDrawer.</doc>
            <type name="SpaceDrawer" c:type="GtkSourceSpaceDrawer*"/>
          </instance-parameter>
          <parameter name="locations" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcespacedrawer.c"
                 line="428">one or several #GtkSourceSpaceLocationFlags.</doc>
            <type name="SpaceLocationFlags"
                  c:type="GtkSourceSpaceLocationFlags"/>
          </parameter>
          <parameter name="types" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcespacedrawer.c"
                 line="429">a combination of #GtkSourceSpaceTypeFlags.</doc>
            <type name="SpaceTypeFlags" c:type="GtkSourceSpaceTypeFlags"/>
          </parameter>
        </parameters>
      </method>
      <property name="enable-matrix"
                version="3.24"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_enable_matrix"
                getter="get_enable_matrix"
                default-value="FALSE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcespacedrawer.c"
             line="328">Whether the #GtkSourceSpaceDrawer:matrix property is enabled.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="matrix"
                version="3.24"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_matrix"
                getter="get_matrix">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcespacedrawer.c"
             line="344">The :matrix property is a #GVariant property to specify where and
what kind of white spaces to draw.

The #GVariant is of type `"au"`, an array of unsigned integers. Each
integer is a combination of #GtkSourceSpaceTypeFlags. There is one
integer for each #GtkSourceSpaceLocationFlags, in the same order as
they are defined in the enum (%GTK_SOURCE_SPACE_LOCATION_NONE and
%GTK_SOURCE_SPACE_LOCATION_ALL are not taken into account).

If the array is shorter than the number of locations, then the value
for the missing locations will be %GTK_SOURCE_SPACE_TYPE_NONE.

By default, %GTK_SOURCE_SPACE_TYPE_ALL is set for all locations.</doc>
        <type name="GLib.Variant"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="SpaceDrawerPrivate" c:type="GtkSourceSpaceDrawerPrivate*"/>
      </field>
    </class>
    <record name="SpaceDrawerClass"
            c:type="GtkSourceSpaceDrawerClass"
            glib:is-gtype-struct-for="SpaceDrawer">
      <source-position filename="gtksourceview/gtksourcespacedrawer.h"
                       line="55"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="SpaceDrawerPrivate"
            c:type="GtkSourceSpaceDrawerPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gtksourceview/gtksourcespacedrawer.h"
                       line="41"/>
    </record>
    <bitfield name="SpaceLocationFlags"
              version="3.24"
              glib:type-name="GtkSourceSpaceLocationFlags"
              glib:get-type="gtk_source_space_location_flags_get_type"
              c:type="GtkSourceSpaceLocationFlags">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcespacedrawer.h"
           line="82">#GtkSourceSpaceLocationFlags contains flags for white space locations.

If a line contains only white spaces (no text), the white spaces match both
%GTK_SOURCE_SPACE_LOCATION_LEADING and %GTK_SOURCE_SPACE_LOCATION_TRAILING.</doc>
      <member name="none"
              value="0"
              c:identifier="GTK_SOURCE_SPACE_LOCATION_NONE"
              glib:nick="none"
              glib:name="GTK_SOURCE_SPACE_LOCATION_NONE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcespacedrawer.h"
             line="84">No flags.</doc>
      </member>
      <member name="leading"
              value="1"
              c:identifier="GTK_SOURCE_SPACE_LOCATION_LEADING"
              glib:nick="leading"
              glib:name="GTK_SOURCE_SPACE_LOCATION_LEADING">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcespacedrawer.h"
             line="85">Leading white spaces on a line, i.e. the
  indentation.</doc>
      </member>
      <member name="inside_text"
              value="2"
              c:identifier="GTK_SOURCE_SPACE_LOCATION_INSIDE_TEXT"
              glib:nick="inside-text"
              glib:name="GTK_SOURCE_SPACE_LOCATION_INSIDE_TEXT">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcespacedrawer.h"
             line="87">White spaces inside a line of text.</doc>
      </member>
      <member name="trailing"
              value="4"
              c:identifier="GTK_SOURCE_SPACE_LOCATION_TRAILING"
              glib:nick="trailing"
              glib:name="GTK_SOURCE_SPACE_LOCATION_TRAILING">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcespacedrawer.h"
             line="88">Trailing white spaces on a line.</doc>
      </member>
      <member name="all"
              value="7"
              c:identifier="GTK_SOURCE_SPACE_LOCATION_ALL"
              glib:nick="all"
              glib:name="GTK_SOURCE_SPACE_LOCATION_ALL">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcespacedrawer.h"
             line="89">White spaces anywhere.</doc>
      </member>
    </bitfield>
    <bitfield name="SpaceTypeFlags"
              version="3.24"
              glib:type-name="GtkSourceSpaceTypeFlags"
              glib:get-type="gtk_source_space_type_flags_get_type"
              c:type="GtkSourceSpaceTypeFlags">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcespacedrawer.h"
           line="57">#GtkSourceSpaceTypeFlags contains flags for white space types.</doc>
      <member name="none"
              value="0"
              c:identifier="GTK_SOURCE_SPACE_TYPE_NONE"
              glib:nick="none"
              glib:name="GTK_SOURCE_SPACE_TYPE_NONE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcespacedrawer.h"
             line="59">No flags.</doc>
      </member>
      <member name="space"
              value="1"
              c:identifier="GTK_SOURCE_SPACE_TYPE_SPACE"
              glib:nick="space"
              glib:name="GTK_SOURCE_SPACE_TYPE_SPACE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcespacedrawer.h"
             line="60">Space character.</doc>
      </member>
      <member name="tab"
              value="2"
              c:identifier="GTK_SOURCE_SPACE_TYPE_TAB"
              glib:nick="tab"
              glib:name="GTK_SOURCE_SPACE_TYPE_TAB">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcespacedrawer.h"
             line="61">Tab character.</doc>
      </member>
      <member name="newline"
              value="4"
              c:identifier="GTK_SOURCE_SPACE_TYPE_NEWLINE"
              glib:nick="newline"
              glib:name="GTK_SOURCE_SPACE_TYPE_NEWLINE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcespacedrawer.h"
             line="62">Line break character. If the
  #GtkSourceBuffer:implicit-trailing-newline property is %TRUE,
  #GtkSourceSpaceDrawer also draws a line break at the end of the buffer.</doc>
      </member>
      <member name="nbsp"
              value="8"
              c:identifier="GTK_SOURCE_SPACE_TYPE_NBSP"
              glib:nick="nbsp"
              glib:name="GTK_SOURCE_SPACE_TYPE_NBSP">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcespacedrawer.h"
             line="65">Non-breaking space character.</doc>
      </member>
      <member name="all"
              value="15"
              c:identifier="GTK_SOURCE_SPACE_TYPE_ALL"
              glib:nick="all"
              glib:name="GTK_SOURCE_SPACE_TYPE_ALL">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcespacedrawer.h"
             line="66">All white spaces.</doc>
      </member>
    </bitfield>
    <class name="Style"
           c:symbol-prefix="style"
           c:type="GtkSourceStyle"
           parent="GObject.Object"
           glib:type-name="GtkSourceStyle"
           glib:get-type="gtk_source_style_get_type"
           glib:type-struct="StyleClass">
      <source-position filename="gtksourceview/gtksourcestyle.h" line="40"/>
      <method name="apply"
              c:identifier="gtk_source_style_apply"
              version="3.22">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcestyle.c"
             line="524">This function modifies the #GtkTextTag properties that are related to the
#GtkSourceStyle properties. Other #GtkTextTag properties are left untouched.

If @style is non-%NULL, applies @style to @tag.

If @style is %NULL, the related *-set properties of #GtkTextTag are set to
%FALSE.</doc>
        <source-position filename="gtksourceview/gtksourcestyle.h" line="49"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="style"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestyle.c"
                 line="526">a #GtkSourceStyle to apply, or %NULL.</doc>
            <type name="Style" c:type="const GtkSourceStyle*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestyle.c"
                 line="527">a #GtkTextTag to apply styles to.</doc>
            <type name="Gtk.TextTag" c:type="GtkTextTag*"/>
          </parameter>
        </parameters>
      </method>
      <method name="copy" c:identifier="gtk_source_style_copy" version="2.0">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcestyle.c"
             line="489">Creates a copy of @style, that is a new #GtkSourceStyle instance which
has the same attributes set.</doc>
        <source-position filename="gtksourceview/gtksourcestyle.h" line="46"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcestyle.c"
               line="496">copy of @style, call g_object_unref()
when you are done with it.</doc>
          <type name="Style" c:type="GtkSourceStyle*"/>
        </return-value>
        <parameters>
          <instance-parameter name="style" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestyle.c"
                 line="491">a #GtkSourceStyle structure to copy.</doc>
            <type name="Style" c:type="const GtkSourceStyle*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="background"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="NULL">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="background-set"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="bold"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="bold-set"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="foreground"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="NULL">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="foreground-set"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="italic"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="italic-set"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="line-background"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="NULL">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="line-background-set"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="pango-underline"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="PANGO_UNDERLINE_NONE">
        <type name="Pango.Underline"/>
      </property>
      <property name="scale"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="NULL">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="scale-set"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="strikethrough"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="strikethrough-set"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="underline-color"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="NULL">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="underline-color-set"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="underline-set"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
    </class>
    <record name="StyleClass"
            c:type="GtkSourceStyleClass"
            disguised="1"
            opaque="1"
            glib:is-gtype-struct-for="Style">
      <source-position filename="gtksourceview/gtksourcestyle.h" line="40"/>
    </record>
    <class name="StyleScheme"
           c:symbol-prefix="style_scheme"
           c:type="GtkSourceStyleScheme"
           parent="GObject.Object"
           glib:type-name="GtkSourceStyleScheme"
           glib:get-type="gtk_source_style_scheme_get_type"
           glib:type-struct="StyleSchemeClass">
      <source-position filename="gtksourceview/gtksourcestylescheme.h"
                       line="55"/>
      <method name="get_authors"
              c:identifier="gtk_source_style_scheme_get_authors"
              version="2.0">
        <source-position filename="gtksourceview/gtksourcestylescheme.h"
                         line="70"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcestylescheme.c"
               line="346">a
%NULL-terminated array containing the @scheme authors or %NULL if
no author is specified by the style scheme.</doc>
          <array c:type="const gchar* const*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="scheme" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestylescheme.c"
                 line="344">a #GtkSourceStyleScheme.</doc>
            <type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_description"
              c:identifier="gtk_source_style_scheme_get_description"
              glib:get-property="description"
              version="2.0">
        <source-position filename="gtksourceview/gtksourcestylescheme.h"
                         line="67"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcestylescheme.c"
               line="330">@scheme description (if defined), or %NULL.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="scheme" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestylescheme.c"
                 line="328">a #GtkSourceStyleScheme.</doc>
            <type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_filename"
              c:identifier="gtk_source_style_scheme_get_filename"
              glib:get-property="filename"
              version="2.0">
        <source-position filename="gtksourceview/gtksourcestylescheme.h"
                         line="73"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcestylescheme.c"
               line="369">@scheme file name if the scheme was created
parsing a style scheme file or %NULL in the other cases.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="scheme" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestylescheme.c"
                 line="367">a #GtkSourceStyleScheme.</doc>
            <type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_id"
              c:identifier="gtk_source_style_scheme_get_id"
              glib:get-property="id"
              version="2.0">
        <source-position filename="gtksourceview/gtksourcestylescheme.h"
                         line="61"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcestylescheme.c"
               line="296">@scheme id.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="scheme" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestylescheme.c"
                 line="294">a #GtkSourceStyleScheme.</doc>
            <type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name"
              c:identifier="gtk_source_style_scheme_get_name"
              glib:get-property="name"
              version="2.0">
        <source-position filename="gtksourceview/gtksourcestylescheme.h"
                         line="64"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcestylescheme.c"
               line="313">@scheme name.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="scheme" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestylescheme.c"
                 line="311">a #GtkSourceStyleScheme.</doc>
            <type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_style"
              c:identifier="gtk_source_style_scheme_get_style"
              version="2.0">
        <source-position filename="gtksourceview/gtksourcestylescheme.h"
                         line="76"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcestylescheme.c"
               line="542">style which corresponds to @style_id in
the @scheme, or %NULL when no style with this name found.  It is owned by
@scheme and may not be unref'ed.</doc>
          <type name="Style" c:type="GtkSourceStyle*"/>
        </return-value>
        <parameters>
          <instance-parameter name="scheme" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestylescheme.c"
                 line="539">a #GtkSourceStyleScheme.</doc>
            <type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
          </instance-parameter>
          <parameter name="style_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestylescheme.c"
                 line="540">id of the style to retrieve.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <property name="description"
                transfer-ownership="none"
                getter="get_description"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcestylescheme.c"
             line="239">Style scheme description, a translatable string to present to the user.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="filename"
                transfer-ownership="none"
                getter="get_filename"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcestylescheme.c"
             line="252">Style scheme filename or %NULL.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="id"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_id"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcestylescheme.c"
             line="212">Style scheme id, a unique string used to identify the style scheme
in #GtkSourceStyleSchemeManager.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="name"
                transfer-ownership="none"
                getter="get_name"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcestylescheme.c"
             line="226">Style scheme name, a translatable string to present to the user.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="base">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="StyleSchemePrivate" c:type="GtkSourceStyleSchemePrivate*"/>
      </field>
    </class>
    <interface name="StyleSchemeChooser"
               c:symbol-prefix="style_scheme_chooser"
               c:type="GtkSourceStyleSchemeChooser"
               glib:type-name="GtkSourceStyleSchemeChooser"
               glib:get-type="gtk_source_style_scheme_chooser_get_type"
               glib:type-struct="StyleSchemeChooserInterface">
      <source-position filename="gtksourceview/gtksourcestyleschemechooser.h"
                       line="52"/>
      <virtual-method name="get_style_scheme"
                      invoker="get_style_scheme"
                      version="3.16">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcestyleschemechooser.c"
             line="65">Gets the currently-selected scheme.</doc>
        <source-position filename="gtksourceview/gtksourcestyleschemechooser.h"
                         line="45"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcestyleschemechooser.c"
               line="71">the currently-selected scheme.</doc>
          <type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
        </return-value>
        <parameters>
          <instance-parameter name="chooser" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestyleschemechooser.c"
                 line="67">a #GtkSourceStyleSchemeChooser</doc>
            <type name="StyleSchemeChooser"
                  c:type="GtkSourceStyleSchemeChooser*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="set_style_scheme"
                      invoker="set_style_scheme"
                      version="3.16">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcestyleschemechooser.c"
             line="83">Sets the scheme.</doc>
        <source-position filename="gtksourceview/gtksourcestyleschemechooser.h"
                         line="47"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="chooser" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestyleschemechooser.c"
                 line="85">a #GtkSourceStyleSchemeChooser</doc>
            <type name="StyleSchemeChooser"
                  c:type="GtkSourceStyleSchemeChooser*"/>
          </instance-parameter>
          <parameter name="scheme" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestyleschemechooser.c"
                 line="86">a #GtkSourceStyleScheme</doc>
            <type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="get_style_scheme"
              c:identifier="gtk_source_style_scheme_chooser_get_style_scheme"
              glib:get-property="style-scheme"
              version="3.16">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcestyleschemechooser.c"
             line="65">Gets the currently-selected scheme.</doc>
        <source-position filename="gtksourceview/gtksourcestyleschemechooser.h"
                         line="58"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcestyleschemechooser.c"
               line="71">the currently-selected scheme.</doc>
          <type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
        </return-value>
        <parameters>
          <instance-parameter name="chooser" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestyleschemechooser.c"
                 line="67">a #GtkSourceStyleSchemeChooser</doc>
            <type name="StyleSchemeChooser"
                  c:type="GtkSourceStyleSchemeChooser*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_style_scheme"
              c:identifier="gtk_source_style_scheme_chooser_set_style_scheme"
              glib:set-property="style-scheme"
              version="3.16">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcestyleschemechooser.c"
             line="83">Sets the scheme.</doc>
        <source-position filename="gtksourceview/gtksourcestyleschemechooser.h"
                         line="61"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="chooser" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestyleschemechooser.c"
                 line="85">a #GtkSourceStyleSchemeChooser</doc>
            <type name="StyleSchemeChooser"
                  c:type="GtkSourceStyleSchemeChooser*"/>
          </instance-parameter>
          <parameter name="scheme" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestyleschemechooser.c"
                 line="86">a #GtkSourceStyleScheme</doc>
            <type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
          </parameter>
        </parameters>
      </method>
      <property name="style-scheme"
                version="3.16"
                writable="1"
                transfer-ownership="none"
                setter="set_style_scheme"
                getter="get_style_scheme">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcestyleschemechooser.c"
             line="48">The :style-scheme property contains the currently selected style
scheme. The property can be set to change
the current selection programmatically.</doc>
        <type name="StyleScheme"/>
      </property>
    </interface>
    <class name="StyleSchemeChooserButton"
           c:symbol-prefix="style_scheme_chooser_button"
           c:type="GtkSourceStyleSchemeChooserButton"
           parent="Gtk.Button"
           glib:type-name="GtkSourceStyleSchemeChooserButton"
           glib:get-type="gtk_source_style_scheme_chooser_button_get_type"
           glib:type-struct="StyleSchemeChooserButtonClass">
      <source-position filename="gtksourceview/gtksourcestyleschemechooserbutton.h"
                       line="54"/>
      <implements name="Atk.ImplementorIface"/>
      <implements name="Gtk.Actionable"/>
      <implements name="Gtk.Activatable"/>
      <implements name="Gtk.Buildable"/>
      <implements name="StyleSchemeChooser"/>
      <constructor name="new"
                   c:identifier="gtk_source_style_scheme_chooser_button_new"
                   version="3.16">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcestyleschemechooserbutton.c"
             line="302">Creates a new #GtkSourceStyleSchemeChooserButton.</doc>
        <source-position filename="gtksourceview/gtksourcestyleschemechooserbutton.h"
                         line="60"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcestyleschemechooserbutton.c"
               line="307">a new #GtkSourceStyleSchemeChooserButton.</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
      </constructor>
      <field name="parent">
        <type name="Gtk.Button" c:type="GtkButton"/>
      </field>
    </class>
    <record name="StyleSchemeChooserButtonClass"
            c:type="GtkSourceStyleSchemeChooserButtonClass"
            glib:is-gtype-struct-for="StyleSchemeChooserButton">
      <source-position filename="gtksourceview/gtksourcestyleschemechooserbutton.h"
                       line="54"/>
      <field name="parent">
        <type name="Gtk.ButtonClass" c:type="GtkButtonClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="10">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="StyleSchemeChooserInterface"
            c:type="GtkSourceStyleSchemeChooserInterface"
            glib:is-gtype-struct-for="StyleSchemeChooser">
      <source-position filename="gtksourceview/gtksourcestyleschemechooser.h"
                       line="52"/>
      <field name="base_interface">
        <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
      </field>
      <field name="get_style_scheme">
        <callback name="get_style_scheme">
          <source-position filename="gtksourceview/gtksourcestyleschemechooser.h"
                           line="45"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestyleschemechooser.c"
                 line="71">the currently-selected scheme.</doc>
            <type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
          </return-value>
          <parameters>
            <parameter name="chooser" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcestyleschemechooser.c"
                   line="67">a #GtkSourceStyleSchemeChooser</doc>
              <type name="StyleSchemeChooser"
                    c:type="GtkSourceStyleSchemeChooser*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="set_style_scheme">
        <callback name="set_style_scheme">
          <source-position filename="gtksourceview/gtksourcestyleschemechooser.h"
                           line="47"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="chooser" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcestyleschemechooser.c"
                   line="85">a #GtkSourceStyleSchemeChooser</doc>
              <type name="StyleSchemeChooser"
                    c:type="GtkSourceStyleSchemeChooser*"/>
            </parameter>
            <parameter name="scheme" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourcestyleschemechooser.c"
                   line="86">a #GtkSourceStyleScheme</doc>
              <type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="12">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <class name="StyleSchemeChooserWidget"
           c:symbol-prefix="style_scheme_chooser_widget"
           c:type="GtkSourceStyleSchemeChooserWidget"
           parent="Gtk.Bin"
           glib:type-name="GtkSourceStyleSchemeChooserWidget"
           glib:get-type="gtk_source_style_scheme_chooser_widget_get_type"
           glib:type-struct="StyleSchemeChooserWidgetClass">
      <source-position filename="gtksourceview/gtksourcestyleschemechooserwidget.h"
                       line="54"/>
      <implements name="Atk.ImplementorIface"/>
      <implements name="Gtk.Buildable"/>
      <implements name="StyleSchemeChooser"/>
      <constructor name="new"
                   c:identifier="gtk_source_style_scheme_chooser_widget_new"
                   version="3.16">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcestyleschemechooserwidget.c"
             line="349">Creates a new #GtkSourceStyleSchemeChooserWidget.</doc>
        <source-position filename="gtksourceview/gtksourcestyleschemechooserwidget.h"
                         line="60"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcestyleschemechooserwidget.c"
               line="354">a new  #GtkSourceStyleSchemeChooserWidget.</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
      </constructor>
      <field name="parent">
        <type name="Gtk.Bin" c:type="GtkBin"/>
      </field>
    </class>
    <record name="StyleSchemeChooserWidgetClass"
            c:type="GtkSourceStyleSchemeChooserWidgetClass"
            glib:is-gtype-struct-for="StyleSchemeChooserWidget">
      <source-position filename="gtksourceview/gtksourcestyleschemechooserwidget.h"
                       line="54"/>
      <field name="parent">
        <type name="Gtk.BinClass" c:type="GtkBinClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="10">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="StyleSchemeClass"
            c:type="GtkSourceStyleSchemeClass"
            glib:is-gtype-struct-for="StyleScheme">
      <source-position filename="gtksourceview/gtksourcestylescheme.h"
                       line="55"/>
      <field name="base_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="10">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <class name="StyleSchemeManager"
           c:symbol-prefix="style_scheme_manager"
           c:type="GtkSourceStyleSchemeManager"
           parent="GObject.Object"
           glib:type-name="GtkSourceStyleSchemeManager"
           glib:get-type="gtk_source_style_scheme_manager_get_type"
           glib:type-struct="StyleSchemeManagerClass">
      <source-position filename="gtksourceview/gtksourcestyleschememanager.h"
                       line="56"/>
      <constructor name="new"
                   c:identifier="gtk_source_style_scheme_manager_new">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcestyleschememanager.c"
             line="180">Creates a new style manager. If you do not need more than one style
manager then use gtk_source_style_scheme_manager_get_default() instead.</doc>
        <source-position filename="gtksourceview/gtksourcestyleschememanager.h"
                         line="63"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcestyleschememanager.c"
               line="186">a new #GtkSourceStyleSchemeManager.</doc>
          <type name="StyleSchemeManager"
                c:type="GtkSourceStyleSchemeManager*"/>
        </return-value>
      </constructor>
      <function name="get_default"
                c:identifier="gtk_source_style_scheme_manager_get_default">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcestyleschememanager.c"
             line="194">Returns the default #GtkSourceStyleSchemeManager instance.</doc>
        <source-position filename="gtksourceview/gtksourcestyleschememanager.h"
                         line="67"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcestyleschememanager.c"
               line="199">a #GtkSourceStyleSchemeManager. Return value
is owned by GtkSourceView library and must not be unref'ed.</doc>
          <type name="StyleSchemeManager"
                c:type="GtkSourceStyleSchemeManager*"/>
        </return-value>
      </function>
      <method name="append_search_path"
              c:identifier="gtk_source_style_scheme_manager_append_search_path">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcestyleschememanager.c"
             line="435">Appends @path to the list of directories where the @manager looks for
style scheme files.
See gtk_source_style_scheme_manager_set_search_path() for details.</doc>
        <source-position filename="gtksourceview/gtksourcestyleschememanager.h"
                         line="74"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestyleschememanager.c"
                 line="437">a #GtkSourceStyleSchemeManager.</doc>
            <type name="StyleSchemeManager"
                  c:type="GtkSourceStyleSchemeManager*"/>
          </instance-parameter>
          <parameter name="path" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestyleschememanager.c"
                 line="438">a directory or a filename.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="force_rescan"
              c:identifier="gtk_source_style_scheme_manager_force_rescan">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcestyleschememanager.c"
             line="528">Mark any currently cached information about the available style scehems
as invalid. All the available style schemes will be reloaded next time
the @manager is accessed.</doc>
        <source-position filename="gtksourceview/gtksourcestyleschememanager.h"
                         line="85"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestyleschememanager.c"
                 line="530">a #GtkSourceStyleSchemeManager.</doc>
            <type name="StyleSchemeManager"
                  c:type="GtkSourceStyleSchemeManager*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_scheme"
              c:identifier="gtk_source_style_scheme_manager_get_scheme">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcestyleschememanager.c"
             line="568">Looks up style scheme by id.</doc>
        <source-position filename="gtksourceview/gtksourcestyleschememanager.h"
                         line="91"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcestyleschememanager.c"
               line="575">a #GtkSourceStyleScheme object.
  The returned value is owned by @manager and must not be unref'ed.</doc>
          <type name="StyleScheme" c:type="GtkSourceStyleScheme*"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestyleschememanager.c"
                 line="570">a #GtkSourceStyleSchemeManager.</doc>
            <type name="StyleSchemeManager"
                  c:type="GtkSourceStyleSchemeManager*"/>
          </instance-parameter>
          <parameter name="scheme_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestyleschememanager.c"
                 line="571">style scheme id to find.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_scheme_ids"
              c:identifier="gtk_source_style_scheme_manager_get_scheme_ids"
              glib:get-property="scheme-ids">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcestyleschememanager.c"
             line="546">Returns the ids of the available style schemes.</doc>
        <source-position filename="gtksourceview/gtksourcestyleschememanager.h"
                         line="88"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcestyleschememanager.c"
               line="552">
a %NULL-terminated array of strings containing the ids of the available
style schemes or %NULL if no style scheme is available.
The array is sorted alphabetically according to the scheme name.
The array is owned by the @manager and must not be modified.</doc>
          <array c:type="const gchar* const*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestyleschememanager.c"
                 line="548">a #GtkSourceStyleSchemeManager.</doc>
            <type name="StyleSchemeManager"
                  c:type="GtkSourceStyleSchemeManager*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_search_path"
              c:identifier="gtk_source_style_scheme_manager_get_search_path"
              glib:get-property="search-path">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcestyleschememanager.c"
             line="506">Returns the current search path for the @manager.
See gtk_source_style_scheme_manager_set_search_path() for details.</doc>
        <source-position filename="gtksourceview/gtksourcestyleschememanager.h"
                         line="82"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcestyleschememanager.c"
               line="513">a %NULL-terminated array
of string containing the search path.
The array is owned by the @manager and must not be modified.</doc>
          <array c:type="const gchar* const*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestyleschememanager.c"
                 line="508">a #GtkSourceStyleSchemeManager.</doc>
            <type name="StyleSchemeManager"
                  c:type="GtkSourceStyleSchemeManager*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="prepend_search_path"
              c:identifier="gtk_source_style_scheme_manager_prepend_search_path">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcestyleschememanager.c"
             line="470">Prepends @path to the list of directories where the @manager looks
for style scheme files.
See gtk_source_style_scheme_manager_set_search_path() for details.</doc>
        <source-position filename="gtksourceview/gtksourcestyleschememanager.h"
                         line="78"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestyleschememanager.c"
                 line="472">a #GtkSourceStyleSchemeManager.</doc>
            <type name="StyleSchemeManager"
                  c:type="GtkSourceStyleSchemeManager*"/>
          </instance-parameter>
          <parameter name="path" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestyleschememanager.c"
                 line="473">a directory or a filename.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_search_path"
              c:identifier="gtk_source_style_scheme_manager_set_search_path"
              glib:set-property="search-path">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcestyleschememanager.c"
             line="405">Sets the list of directories where the @manager looks for
style scheme files.
If @path is %NULL, the search path is reset to default.</doc>
        <source-position filename="gtksourceview/gtksourcestyleschememanager.h"
                         line="70"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestyleschememanager.c"
                 line="407">a #GtkSourceStyleSchemeManager.</doc>
            <type name="StyleSchemeManager"
                  c:type="GtkSourceStyleSchemeManager*"/>
          </instance-parameter>
          <parameter name="path"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcestyleschememanager.c"
                 line="408">
a %NULL-terminated array of strings or %NULL.</doc>
            <array c:type="gchar**">
              <type name="utf8" c:type="gchar*"/>
            </array>
          </parameter>
        </parameters>
      </method>
      <property name="scheme-ids"
                transfer-ownership="none"
                getter="get_scheme_ids">
        <array>
          <type name="utf8"/>
        </array>
      </property>
      <property name="search-path"
                writable="1"
                transfer-ownership="none"
                setter="set_search_path"
                getter="get_search_path">
        <array>
          <type name="utf8"/>
        </array>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="StyleSchemeManagerPrivate"
              c:type="GtkSourceStyleSchemeManagerPrivate*"/>
      </field>
    </class>
    <record name="StyleSchemeManagerClass"
            c:type="GtkSourceStyleSchemeManagerClass"
            glib:is-gtype-struct-for="StyleSchemeManager">
      <source-position filename="gtksourceview/gtksourcestyleschememanager.h"
                       line="56"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="10">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="StyleSchemeManagerPrivate"
            c:type="GtkSourceStyleSchemeManagerPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gtksourceview/gtksourcestyleschememanager.h"
                       line="41"/>
    </record>
    <record name="StyleSchemePrivate"
            c:type="GtkSourceStyleSchemePrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gtksourceview/gtksourcestylescheme.h"
                       line="40"/>
    </record>
    <class name="Tag"
           c:symbol-prefix="tag"
           c:type="GtkSourceTag"
           parent="Gtk.TextTag"
           glib:type-name="GtkSourceTag"
           glib:get-type="gtk_source_tag_get_type"
           glib:type-struct="TagClass">
      <source-position filename="gtksourceview/gtksourcetag.h" line="47"/>
      <constructor name="new" c:identifier="gtk_source_tag_new" version="3.20">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcetag.c"
             line="170">Creates a #GtkSourceTag. Configure the tag using object arguments,
i.e. using g_object_set().

For usual cases, gtk_source_buffer_create_source_tag() is more convenient to
use.</doc>
        <source-position filename="gtksourceview/gtksourcetag.h" line="50"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourcetag.c"
               line="180">a new #GtkSourceTag.</doc>
          <type name="Gtk.TextTag" c:type="GtkTextTag*"/>
        </return-value>
        <parameters>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourcetag.c"
                 line="172">tag name, or %NULL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <property name="draw-spaces"
                version="3.20"
                writable="1"
                transfer-ownership="none"
                default-value="FALSE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcetag.c"
             line="126">Whether to draw white spaces. This property takes precedence over the value
defined by the GtkSourceSpaceDrawer's #GtkSourceSpaceDrawer:matrix property
(only where the tag is applied).

Setting this property also changes #GtkSourceTag:draw-spaces-set to
%TRUE.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="draw-spaces-set"
                version="3.20"
                writable="1"
                transfer-ownership="none"
                default-value="FALSE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourcetag.c"
             line="147">Whether the #GtkSourceTag:draw-spaces property is set and must be
taken into account.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <field name="parent_instance">
        <type name="Gtk.TextTag" c:type="GtkTextTag"/>
      </field>
    </class>
    <record name="TagClass"
            c:type="GtkSourceTagClass"
            glib:is-gtype-struct-for="Tag">
      <source-position filename="gtksourceview/gtksourcetag.h" line="47"/>
      <field name="parent_class">
        <type name="Gtk.TextTagClass" c:type="GtkTextTagClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="10">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <function-macro name="UNDO_MANAGER"
                    c:identifier="GTK_SOURCE_UNDO_MANAGER"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourceundomanager.h"
                       line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="UNDO_MANAGER_GET_INTERFACE"
                    c:identifier="GTK_SOURCE_UNDO_MANAGER_GET_INTERFACE"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourceundomanager.h"
                       line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <interface name="UndoManager"
               c:symbol-prefix="undo_manager"
               c:type="GtkSourceUndoManager"
               glib:type-name="GtkSourceUndoManager"
               glib:get-type="gtk_source_undo_manager_get_type"
               glib:type-struct="UndoManagerIface">
      <source-position filename="gtksourceview/gtksourceundomanager.h"
                       line="59"/>
      <virtual-method name="begin_not_undoable_action"
                      invoker="begin_not_undoable_action"
                      version="2.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceundomanager.c"
             line="227">Begin a not undoable action on the buffer. All changes between this call
and the call to gtk_source_undo_manager_end_not_undoable_action() cannot
be undone. This function should be re-entrant.</doc>
        <source-position filename="gtksourceview/gtksourceundomanager.h"
                         line="53"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceundomanager.c"
                 line="229">a #GtkSourceUndoManager.</doc>
            <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="can_redo" invoker="can_redo" version="2.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceundomanager.c"
             line="173">Get whether there are redo operations available.</doc>
        <source-position filename="gtksourceview/gtksourceundomanager.h"
                         line="48"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceundomanager.c"
               line="179">%TRUE if there are redo operations available, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceundomanager.c"
                 line="175">a #GtkSourceUndoManager.</doc>
            <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="can_redo_changed"
                      invoker="can_redo_changed"
                      version="2.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceundomanager.c"
             line="277">Emits the #GtkSourceUndoManager::can-redo-changed signal.</doc>
        <source-position filename="gtksourceview/gtksourceundomanager.h"
                         line="58"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceundomanager.c"
                 line="279">a #GtkSourceUndoManager.</doc>
            <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="can_undo" invoker="can_undo" version="2.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceundomanager.c"
             line="155">Get whether there are undo operations available.</doc>
        <source-position filename="gtksourceview/gtksourceundomanager.h"
                         line="47"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceundomanager.c"
               line="161">%TRUE if there are undo operations available, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceundomanager.c"
                 line="157">a #GtkSourceUndoManager.</doc>
            <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="can_undo_changed"
                      invoker="can_undo_changed"
                      version="2.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceundomanager.c"
             line="261">Emits the #GtkSourceUndoManager::can-undo-changed signal.</doc>
        <source-position filename="gtksourceview/gtksourceundomanager.h"
                         line="57"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceundomanager.c"
                 line="263">a #GtkSourceUndoManager.</doc>
            <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="end_not_undoable_action"
                      invoker="end_not_undoable_action"
                      version="2.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceundomanager.c"
             line="245">Ends a not undoable action on the buffer.</doc>
        <source-position filename="gtksourceview/gtksourceundomanager.h"
                         line="54"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceundomanager.c"
                 line="247">a #GtkSourceUndoManager.</doc>
            <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="redo" invoker="redo" version="2.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceundomanager.c"
             line="209">Perform a single redo. Calling this function when there are no redo operations
available is an error. Use gtk_source_undo_manager_can_redo() to find out
if there are redo operations available.</doc>
        <source-position filename="gtksourceview/gtksourceundomanager.h"
                         line="51"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceundomanager.c"
                 line="211">a #GtkSourceUndoManager.</doc>
            <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="undo" invoker="undo" version="2.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceundomanager.c"
             line="191">Perform a single undo. Calling this function when there are no undo operations
available is an error. Use gtk_source_undo_manager_can_undo() to find out
if there are undo operations available.</doc>
        <source-position filename="gtksourceview/gtksourceundomanager.h"
                         line="50"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceundomanager.c"
                 line="193">a #GtkSourceUndoManager.</doc>
            <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <method name="begin_not_undoable_action"
              c:identifier="gtk_source_undo_manager_begin_not_undoable_action"
              version="2.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceundomanager.c"
             line="227">Begin a not undoable action on the buffer. All changes between this call
and the call to gtk_source_undo_manager_end_not_undoable_action() cannot
be undone. This function should be re-entrant.</doc>
        <source-position filename="gtksourceview/gtksourceundomanager.h"
                         line="77"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceundomanager.c"
                 line="229">a #GtkSourceUndoManager.</doc>
            <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="can_redo"
              c:identifier="gtk_source_undo_manager_can_redo"
              version="2.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceundomanager.c"
             line="173">Get whether there are redo operations available.</doc>
        <source-position filename="gtksourceview/gtksourceundomanager.h"
                         line="68"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceundomanager.c"
               line="179">%TRUE if there are redo operations available, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceundomanager.c"
                 line="175">a #GtkSourceUndoManager.</doc>
            <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="can_redo_changed"
              c:identifier="gtk_source_undo_manager_can_redo_changed"
              version="2.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceundomanager.c"
             line="277">Emits the #GtkSourceUndoManager::can-redo-changed signal.</doc>
        <source-position filename="gtksourceview/gtksourceundomanager.h"
                         line="86"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceundomanager.c"
                 line="279">a #GtkSourceUndoManager.</doc>
            <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="can_undo"
              c:identifier="gtk_source_undo_manager_can_undo"
              version="2.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceundomanager.c"
             line="155">Get whether there are undo operations available.</doc>
        <source-position filename="gtksourceview/gtksourceundomanager.h"
                         line="65"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceundomanager.c"
               line="161">%TRUE if there are undo operations available, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceundomanager.c"
                 line="157">a #GtkSourceUndoManager.</doc>
            <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="can_undo_changed"
              c:identifier="gtk_source_undo_manager_can_undo_changed"
              version="2.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceundomanager.c"
             line="261">Emits the #GtkSourceUndoManager::can-undo-changed signal.</doc>
        <source-position filename="gtksourceview/gtksourceundomanager.h"
                         line="83"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceundomanager.c"
                 line="263">a #GtkSourceUndoManager.</doc>
            <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="end_not_undoable_action"
              c:identifier="gtk_source_undo_manager_end_not_undoable_action"
              version="2.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceundomanager.c"
             line="245">Ends a not undoable action on the buffer.</doc>
        <source-position filename="gtksourceview/gtksourceundomanager.h"
                         line="80"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceundomanager.c"
                 line="247">a #GtkSourceUndoManager.</doc>
            <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="redo"
              c:identifier="gtk_source_undo_manager_redo"
              version="2.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceundomanager.c"
             line="209">Perform a single redo. Calling this function when there are no redo operations
available is an error. Use gtk_source_undo_manager_can_redo() to find out
if there are redo operations available.</doc>
        <source-position filename="gtksourceview/gtksourceundomanager.h"
                         line="74"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceundomanager.c"
                 line="211">a #GtkSourceUndoManager.</doc>
            <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="undo"
              c:identifier="gtk_source_undo_manager_undo"
              version="2.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceundomanager.c"
             line="191">Perform a single undo. Calling this function when there are no undo operations
available is an error. Use gtk_source_undo_manager_can_undo() to find out
if there are undo operations available.</doc>
        <source-position filename="gtksourceview/gtksourceundomanager.h"
                         line="71"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceundomanager.c"
                 line="193">a #GtkSourceUndoManager.</doc>
            <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
          </instance-parameter>
        </parameters>
      </method>
      <glib:signal name="can-redo-changed"
                   when="last"
                   action="1"
                   version="2.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceundomanager.c"
             line="132">Emitted when the ability to redo has changed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="can-undo-changed"
                   when="last"
                   action="1"
                   version="2.10">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceundomanager.c"
             line="110">Emitted when the ability to undo has changed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
    </interface>
    <record name="UndoManagerIface"
            c:type="GtkSourceUndoManagerIface"
            glib:is-gtype-struct-for="UndoManager">
      <source-position filename="gtksourceview/gtksourceundomanager.h"
                       line="59"/>
      <field name="parent">
        <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
      </field>
      <field name="can_undo">
        <callback name="can_undo">
          <source-position filename="gtksourceview/gtksourceundomanager.h"
                           line="47"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceundomanager.c"
                 line="161">%TRUE if there are undo operations available, %FALSE otherwise</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="manager" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourceundomanager.c"
                   line="157">a #GtkSourceUndoManager.</doc>
              <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="can_redo">
        <callback name="can_redo">
          <source-position filename="gtksourceview/gtksourceundomanager.h"
                           line="48"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceundomanager.c"
                 line="179">%TRUE if there are redo operations available, %FALSE otherwise</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="manager" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourceundomanager.c"
                   line="175">a #GtkSourceUndoManager.</doc>
              <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="undo">
        <callback name="undo">
          <source-position filename="gtksourceview/gtksourceundomanager.h"
                           line="50"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="manager" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourceundomanager.c"
                   line="193">a #GtkSourceUndoManager.</doc>
              <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="redo">
        <callback name="redo">
          <source-position filename="gtksourceview/gtksourceundomanager.h"
                           line="51"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="manager" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourceundomanager.c"
                   line="211">a #GtkSourceUndoManager.</doc>
              <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="begin_not_undoable_action">
        <callback name="begin_not_undoable_action">
          <source-position filename="gtksourceview/gtksourceundomanager.h"
                           line="53"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="manager" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourceundomanager.c"
                   line="229">a #GtkSourceUndoManager.</doc>
              <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="end_not_undoable_action">
        <callback name="end_not_undoable_action">
          <source-position filename="gtksourceview/gtksourceundomanager.h"
                           line="54"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="manager" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourceundomanager.c"
                   line="247">a #GtkSourceUndoManager.</doc>
              <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="can_undo_changed">
        <callback name="can_undo_changed">
          <source-position filename="gtksourceview/gtksourceundomanager.h"
                           line="57"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="manager" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourceundomanager.c"
                   line="263">a #GtkSourceUndoManager.</doc>
              <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="can_redo_changed">
        <callback name="can_redo_changed">
          <source-position filename="gtksourceview/gtksourceundomanager.h"
                           line="58"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="manager" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gtksourceview/gtksourceundomanager.c"
                   line="279">a #GtkSourceUndoManager.</doc>
              <type name="UndoManager" c:type="GtkSourceUndoManager*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <function-macro name="VIEW"
                    c:identifier="GTK_SOURCE_VIEW"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourceview.h" line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="VIEW_CLASS"
                    c:identifier="GTK_SOURCE_VIEW_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourceview.h" line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="VIEW_GET_CLASS"
                    c:identifier="GTK_SOURCE_VIEW_GET_CLASS"
                    introspectable="0">
      <source-position filename="gtksourceview/gtksourceview.h" line="40"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <class name="View"
           c:symbol-prefix="view"
           c:type="GtkSourceView"
           parent="Gtk.TextView"
           glib:type-name="GtkSourceView"
           glib:get-type="gtk_source_view_get_type"
           glib:type-struct="ViewClass">
      <source-position filename="gtksourceview/gtksourceview.h" line="116"/>
      <implements name="Atk.ImplementorIface"/>
      <implements name="Gtk.Buildable"/>
      <implements name="Gtk.Scrollable"/>
      <constructor name="new" c:identifier="gtk_source_view_new">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="2880">Creates a new #GtkSourceView.

By default, an empty #GtkSourceBuffer will be lazily created and can be
retrieved with gtk_text_view_get_buffer().

If you want to specify your own buffer, either override the
#GtkTextViewClass create_buffer factory method, or use
gtk_source_view_new_with_buffer().</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="122"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceview.c"
               line="2892">a new #GtkSourceView.</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
      </constructor>
      <constructor name="new_with_buffer"
                   c:identifier="gtk_source_view_new_with_buffer">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="2900">Creates a new #GtkSourceView widget displaying the buffer
@buffer. One buffer can be shared among many widgets.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="125"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceview.c"
               line="2907">a new #GtkSourceView.</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
        <parameters>
          <parameter name="buffer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="2902">a #GtkSourceBuffer.</doc>
            <type name="Buffer" c:type="GtkSourceBuffer*"/>
          </parameter>
        </parameters>
      </constructor>
      <virtual-method name="line_mark_activated">
        <source-position filename="gtksourceview/gtksourceview.h" line="104"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
          <parameter name="iter" transfer-ownership="none">
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="event" transfer-ownership="none">
            <type name="Gdk.Event" c:type="GdkEvent*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="move_lines">
        <source-position filename="gtksourceview/gtksourceview.h" line="108"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
          <parameter name="down" transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="move_words">
        <source-position filename="gtksourceview/gtksourceview.h" line="111"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
          <parameter name="step" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="redo">
        <source-position filename="gtksourceview/gtksourceview.h" line="103"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="show_completion">
        <source-position filename="gtksourceview/gtksourceview.h" line="107"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="undo">
        <source-position filename="gtksourceview/gtksourceview.h" line="102"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <method name="get_auto_indent"
              c:identifier="gtk_source_view_get_auto_indent"
              glib:get-property="auto-indent">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="4195">Returns whether auto-indentation of text is enabled.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="153"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceview.c"
               line="4201">%TRUE if auto indentation is enabled.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4197">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_background_pattern"
              c:identifier="gtk_source_view_get_background_pattern"
              glib:get-property="background-pattern"
              version="3.16">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="5031">Returns the #GtkSourceBackgroundPatternType specifying if and how
the background pattern should be displayed for this @view.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="258"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceview.c"
               line="5038">the #GtkSourceBackgroundPatternType.</doc>
          <type name="BackgroundPatternType"
                c:type="GtkSourceBackgroundPatternType"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="5033">a #GtkSourceView</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_completion"
              c:identifier="gtk_source_view_get_completion"
              glib:get-property="completion">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="4876">Gets the #GtkSourceCompletion associated with @view. The returned object is
guaranteed to be the same for the lifetime of @view. Each #GtkSourceView
object has a different #GtkSourceCompletion.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="246"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceview.c"
               line="4884">the #GtkSourceCompletion associated with @view.</doc>
          <type name="Completion" c:type="GtkSourceCompletion*"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4878">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_gutter"
              c:identifier="gtk_source_view_get_gutter"
              version="2.8">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="4899">Returns the #GtkSourceGutter object associated with @window_type for @view.
Only GTK_TEXT_WINDOW_LEFT and GTK_TEXT_WINDOW_RIGHT are supported,
respectively corresponding to the left and right gutter. The line numbers
and mark category icons are rendered in the left gutter.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="249"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceview.c"
               line="4911">the #GtkSourceGutter.</doc>
          <type name="Gutter" c:type="GtkSourceGutter*"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4901">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
          <parameter name="window_type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4902">the gutter window type.</doc>
            <type name="Gtk.TextWindowType" c:type="GtkTextWindowType"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_highlight_current_line"
              c:identifier="gtk_source_view_get_highlight_current_line"
              glib:get-property="highlight-current-line">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="4416">Returns whether the current line is highlighted.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="187"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceview.c"
               line="4422">%TRUE if the current line is highlighted.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4418">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_indent_on_tab"
              c:identifier="gtk_source_view_get_indent_on_tab"
              glib:get-property="indent-on-tab">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="4279">Returns whether when the tab key is pressed the current selection
should get indented instead of replaced with the \t character.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="169"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceview.c"
               line="4286">%TRUE if the selection is indented when tab is pressed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4281">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_indent_width"
              c:identifier="gtk_source_view_get_indent_width"
              glib:get-property="indent-width">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="3175">Returns the number of spaces to use for each step of indent.
See gtk_source_view_set_indent_width() for details.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="146"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceview.c"
               line="3182">indent width.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="3177">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_insert_spaces_instead_of_tabs"
              c:identifier="gtk_source_view_get_insert_spaces_instead_of_tabs"
              glib:get-property="insert-spaces-instead-of-tabs">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="4238">Returns whether when inserting a tabulator character it should
be replaced by a group of space characters.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="161"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceview.c"
               line="4245">%TRUE if spaces are inserted instead of tabs.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4240">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_mark_attributes"
              c:identifier="gtk_source_view_get_mark_attributes">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="4969">Gets attributes and priority for the @category.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="221"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceview.c"
               line="4977">#GtkSourceMarkAttributes for the @category.
The object belongs to @view, so it must not be unreffed.</doc>
          <type name="MarkAttributes" c:type="GtkSourceMarkAttributes*"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4971">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
          <parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4972">the category.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="priority" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4973">place where priority of the category will be stored.</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_right_margin_position"
              c:identifier="gtk_source_view_get_right_margin_position"
              glib:get-property="right-margin-position">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="4498">Gets the position of the right margin in the given @view.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="203"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceview.c"
               line="4504">the position of the right margin.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4500">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_show_line_marks"
              c:identifier="gtk_source_view_get_show_line_marks"
              glib:get-property="show-line-marks"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="2980">Returns whether line marks are displayed beside the text.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="211"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceview.c"
               line="2986">%TRUE if the line marks are displayed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="2982">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_show_line_numbers"
              c:identifier="gtk_source_view_get_show_line_numbers"
              glib:get-property="show-line-numbers">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="2919">Returns whether line numbers are displayed beside the text.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="132"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceview.c"
               line="2925">%TRUE if the line numbers are displayed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="2921">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_show_right_margin"
              c:identifier="gtk_source_view_get_show_right_margin"
              glib:get-property="show-right-margin">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="4457">Returns whether a right margin is displayed.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="195"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceview.c"
               line="4463">%TRUE if the right margin is shown.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4459">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_smart_backspace"
              c:identifier="gtk_source_view_get_smart_backspace"
              glib:get-property="smart-backspace"
              version="3.18">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="4564">Returns %TRUE if pressing the Backspace key will try to delete spaces
up to the previous tab stop.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="230"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceview.c"
               line="4571">%TRUE if smart Backspace handling is enabled.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4566">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_smart_home_end"
              c:identifier="gtk_source_view_get_smart_home_end"
              glib:get-property="smart-home-end">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="4604">Returns a #GtkSourceSmartHomeEndType end value specifying
how the cursor will move when HOME and END keys are pressed.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="238"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceview.c"
               line="4611">a #GtkSourceSmartHomeEndType value.</doc>
          <type name="SmartHomeEndType" c:type="GtkSourceSmartHomeEndType"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4606">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_space_drawer"
              c:identifier="gtk_source_view_get_space_drawer"
              glib:get-property="space-drawer"
              version="3.24">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="5049">Gets the #GtkSourceSpaceDrawer associated with @view. The returned object is
guaranteed to be the same for the lifetime of @view. Each #GtkSourceView
object has a different #GtkSourceSpaceDrawer.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="262"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceview.c"
               line="5057">the #GtkSourceSpaceDrawer associated with @view.</doc>
          <type name="SpaceDrawer" c:type="GtkSourceSpaceDrawer*"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="5051">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_tab_width"
              c:identifier="gtk_source_view_get_tab_width"
              glib:get-property="tab-width">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="3119">Returns the width of tabulation in characters.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="139"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceview.c"
               line="3125">width of tab.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="3121">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_visual_column"
              c:identifier="gtk_source_view_get_visual_column">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="4621">Determines the visual column at @iter taking into consideration the
#GtkSourceView:tab-width of @view.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="241"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceview.c"
               line="4629">the visual column at @iter.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4623">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
          <parameter name="iter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4624">a position in @view.</doc>
            <type name="Gtk.TextIter" c:type="const GtkTextIter*"/>
          </parameter>
        </parameters>
      </method>
      <method name="indent_lines"
              c:identifier="gtk_source_view_indent_lines"
              version="3.16">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="3259">Inserts one indentation level at the beginning of the specified lines. The
empty lines are not indented.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="172"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="3261">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
          <parameter name="start" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="3262">#GtkTextIter of the first line to indent</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="end" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="3263">#GtkTextIter of the last line to indent</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_auto_indent"
              c:identifier="gtk_source_view_set_auto_indent"
              glib:set-property="auto-indent">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="4211">If %TRUE auto-indentation of text is enabled.

When Enter is pressed to create a new line, the auto-indentation inserts the
same indentation as the previous line. This is &lt;emphasis&gt;not&lt;/emphasis&gt; a
"smart indentation" where an indentation level is added or removed depending
on the context.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="149"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4213">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
          <parameter name="enable" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4214">whether to enable auto indentation.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_background_pattern"
              c:identifier="gtk_source_view_set_background_pattern"
              glib:set-property="background-pattern"
              version="3.16">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="5006">Set if and how the background pattern should be displayed.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="253"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="5008">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
          <parameter name="background_pattern" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="5009">the #GtkSourceBackgroundPatternType.</doc>
            <type name="BackgroundPatternType"
                  c:type="GtkSourceBackgroundPatternType"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_highlight_current_line"
              c:identifier="gtk_source_view_set_highlight_current_line"
              glib:set-property="highlight-current-line">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="4432">If @highlight is %TRUE the current line will be highlighted.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="182"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4434">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
          <parameter name="highlight" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4435">whether to highlight the current line.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_indent_on_tab"
              c:identifier="gtk_source_view_set_indent_on_tab"
              glib:set-property="indent-on-tab">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="4296">If %TRUE, when the tab key is pressed when several lines are selected, the
selected lines are indented of one level instead of being replaced with a \t
character. Shift+Tab unindents the selection.

If the first or last line is not selected completely, it is also indented or
unindented.

When the selection doesn't span several lines, the tab key always replaces
the selection with a normal \t character.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="165"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4298">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
          <parameter name="enable" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4299">whether to indent a block when tab is pressed.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_indent_width"
              c:identifier="gtk_source_view_set_indent_width"
              glib:set-property="indent-width">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="3135">Sets the number of spaces to use for each step of indent when the tab key is
pressed. If @width is -1, the value of the #GtkSourceView:tab-width property
will be used.

The #GtkSourceView:indent-width interacts with the
#GtkSourceView:insert-spaces-instead-of-tabs property and
#GtkSourceView:tab-width. An example will be clearer: if the
#GtkSourceView:indent-width is 4 and
#GtkSourceView:tab-width is 8 and
#GtkSourceView:insert-spaces-instead-of-tabs is %FALSE, then pressing the tab
key at the beginning of a line will insert 4 spaces. So far so good. Pressing
the tab key a second time will remove the 4 spaces and insert a \t character
instead (since #GtkSourceView:tab-width is 8). On the other hand, if
#GtkSourceView:insert-spaces-instead-of-tabs is %TRUE, the second tab key
pressed will insert 4 more spaces for a total of 8 spaces in the
#GtkTextBuffer.

The test-widget program (available in the GtkSourceView repository) may be
useful to better understand the indentation settings (enable the space
drawing!).</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="142"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="3137">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
          <parameter name="width" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="3138">indent width in characters.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_insert_spaces_instead_of_tabs"
              c:identifier="gtk_source_view_set_insert_spaces_instead_of_tabs"
              glib:set-property="insert-spaces-instead-of-tabs">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="4255">If %TRUE a tab key pressed is replaced by a group of space characters. Of
course it is still possible to insert a real \t programmatically with the
#GtkTextBuffer API.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="156"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4257">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
          <parameter name="enable" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4258">whether to insert spaces instead of tabs.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_mark_attributes"
              c:identifier="gtk_source_view_set_mark_attributes">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="4941">Sets attributes and priority for the @category.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="214"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4943">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
          <parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4944">the category.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="attributes" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4945">mark attributes.</doc>
            <type name="MarkAttributes" c:type="GtkSourceMarkAttributes*"/>
          </parameter>
          <parameter name="priority" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4946">priority of the category.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_right_margin_position"
              c:identifier="gtk_source_view_set_right_margin_position"
              glib:set-property="right-margin-position">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="4514">Sets the position of the right margin in the given @view.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="198"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4516">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
          <parameter name="pos" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4517">the width in characters where to position the right margin.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_show_line_marks"
              c:identifier="gtk_source_view_set_show_line_marks"
              glib:set-property="show-line-marks"
              version="2.2">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="3012">If %TRUE line marks will be displayed beside the text.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="207"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="3014">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
          <parameter name="show" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="3015">whether line marks should be displayed.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_show_line_numbers"
              c:identifier="gtk_source_view_set_show_line_numbers"
              glib:set-property="show-line-numbers">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="2935">If %TRUE line numbers will be displayed beside the text.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="128"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="2937">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
          <parameter name="show" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="2938">whether line numbers should be displayed.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_show_right_margin"
              c:identifier="gtk_source_view_set_show_right_margin"
              glib:set-property="show-right-margin">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="4473">If %TRUE a right margin is displayed.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="191"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4475">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
          <parameter name="show" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4476">whether to show a right margin.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_smart_backspace"
              c:identifier="gtk_source_view_set_smart_backspace"
              glib:set-property="smart-backspace"
              version="3.18">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="4539">When set to %TRUE, pressing the Backspace key will try to delete spaces
up to the previous tab stop.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="226"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4541">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
          <parameter name="smart_backspace" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4542">whether to enable smart Backspace handling.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_smart_home_end"
              c:identifier="gtk_source_view_set_smart_home_end"
              glib:set-property="smart-home-end">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="4583">Set the desired movement of the cursor when HOME and END keys
are pressed.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="233"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4585">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
          <parameter name="smart_home_end" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="4586">the desired behavior among #GtkSourceSmartHomeEndType.</doc>
            <type name="SmartHomeEndType" c:type="GtkSourceSmartHomeEndType"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_tab_width"
              c:identifier="gtk_source_view_set_tab_width"
              glib:set-property="tab-width">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="3083">Sets the width of tabulation in characters. The #GtkTextBuffer still contains
\t characters, but they can take a different visual width in a #GtkSourceView
widget.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="135"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="3085">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
          <parameter name="width" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="3086">width of tab in characters.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="unindent_lines"
              c:identifier="gtk_source_view_unindent_lines"
              version="3.16">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="3413">Removes one indentation level at the beginning of the
specified lines.</doc>
        <source-position filename="gtksourceview/gtksourceview.h" line="177"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="view" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="3415">a #GtkSourceView.</doc>
            <type name="View" c:type="GtkSourceView*"/>
          </instance-parameter>
          <parameter name="start" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="3416">#GtkTextIter of the first line to indent</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
          <parameter name="end" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="3417">#GtkTextIter of the last line to indent</doc>
            <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
          </parameter>
        </parameters>
      </method>
      <property name="auto-indent"
                writable="1"
                transfer-ownership="none"
                setter="set_auto_indent"
                getter="get_auto_indent"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="background-pattern"
                version="3.16"
                writable="1"
                transfer-ownership="none"
                setter="set_background_pattern"
                getter="get_background_pattern"
                default-value="GTK_SOURCE_BACKGROUND_PATTERN_TYPE_NONE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="673">Draw a specific background pattern on the view.</doc>
        <type name="BackgroundPatternType"/>
      </property>
      <property name="completion"
                transfer-ownership="none"
                getter="get_completion">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="515">The completion object associated with the view</doc>
        <type name="Completion"/>
      </property>
      <property name="highlight-current-line"
                writable="1"
                transfer-ownership="none"
                setter="set_highlight_current_line"
                getter="get_highlight_current_line"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="indent-on-tab"
                writable="1"
                transfer-ownership="none"
                setter="set_indent_on_tab"
                getter="get_indent_on_tab"
                default-value="TRUE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="indent-width"
                writable="1"
                transfer-ownership="none"
                setter="set_indent_width"
                getter="get_indent_width"
                default-value="-1">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="572">Width of an indentation step expressed in number of spaces.</doc>
        <type name="gint" c:type="gint"/>
      </property>
      <property name="insert-spaces-instead-of-tabs"
                writable="1"
                transfer-ownership="none"
                setter="set_insert_spaces_instead_of_tabs"
                getter="get_insert_spaces_instead_of_tabs"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="right-margin-position"
                writable="1"
                transfer-ownership="none"
                setter="set_right_margin_position"
                getter="get_right_margin_position"
                default-value="80">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="620">Position of the right margin.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="show-line-marks"
                writable="1"
                transfer-ownership="none"
                setter="set_show_line_marks"
                getter="get_show_line_marks"
                default-value="FALSE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="542">Whether to display line mark pixbufs</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="show-line-numbers"
                writable="1"
                transfer-ownership="none"
                setter="set_show_line_numbers"
                getter="get_show_line_numbers"
                default-value="FALSE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="529">Whether to display line numbers</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="show-right-margin"
                writable="1"
                transfer-ownership="none"
                setter="set_show_right_margin"
                getter="get_show_right_margin"
                default-value="FALSE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="606">Whether to display the right margin.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="smart-backspace"
                version="3.18"
                writable="1"
                transfer-ownership="none"
                setter="set_smart_backspace"
                getter="get_smart_backspace"
                default-value="FALSE">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="690">Whether smart Backspace should be used.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="smart-home-end"
                version="2.0"
                writable="1"
                transfer-ownership="none"
                setter="set_smart_home_end"
                getter="get_smart_home_end"
                default-value="GTK_SOURCE_SMART_HOME_END_DISABLED">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="636">Set the behavior of the HOME and END keys.</doc>
        <type name="SmartHomeEndType"/>
      </property>
      <property name="space-drawer"
                version="3.24"
                transfer-ownership="none"
                getter="get_space_drawer">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="706">The #GtkSourceSpaceDrawer object associated with the view.</doc>
        <type name="SpaceDrawer"/>
      </property>
      <property name="tab-width"
                writable="1"
                transfer-ownership="none"
                setter="set_tab_width"
                getter="get_tab_width"
                default-value="8">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="556">Width of a tab character expressed in number of spaces.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <field name="parent">
        <type name="Gtk.TextView" c:type="GtkTextView"/>
      </field>
      <field name="priv">
        <type name="ViewPrivate" c:type="GtkSourceViewPrivate*"/>
      </field>
      <glib:signal name="change-case" when="last" action="1" version="3.16">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="922">Keybinding signal to change case of the text at the current cursor position.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="case_type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="925">the case to use</doc>
            <type name="ChangeCaseType"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="change-number" when="last" action="1" version="3.16">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="899">Keybinding signal to edit a number at the current cursor position.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="count" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="902">the number to add to the number at the current position</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="join-lines" when="last" action="1" version="3.16">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="945">Keybinding signal to join the lines currently selected.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="line-mark-activated" when="last">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="773">Emitted when a line mark has been activated (for instance when there
was a button press in the line marks gutter). You can use @iter to
determine on which line the activation took place.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="iter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="776">a #GtkTextIter</doc>
            <type name="Gtk.TextIter"/>
          </parameter>
          <parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="777">the #GdkEvent that activated the event</doc>
            <type name="Gdk.Event"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="move-lines" when="last" action="1">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="798">The ::move-lines signal is a keybinding which gets emitted
when the user initiates moving a line. The default binding key
is Alt+Up/Down arrow. And moves the currently selected lines,
or the current line up or down by one line.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="down" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="801">%TRUE to move down, %FALSE to move up.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="move-to-matching-bracket"
                   when="last"
                   action="1"
                   version="3.16">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="875">Keybinding signal to move the cursor to the matching bracket.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="extend_selection" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="878">%TRUE if the move should extend the selection</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="move-words" when="last" action="1" version="3.0">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="821">The ::move-words signal is a keybinding which gets emitted
when the user initiates moving a word. The default binding key
is Alt+Left/Right Arrow and moves the current selection, or the current
word by one word.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="count" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="824">the number of words to move over</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="redo" when="last" action="1">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="show-completion" when="last" action="1">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="746">The ::show-completion signal is a key binding signal which gets
emitted when the user requests a completion, by pressing
&lt;keycombo&gt;&lt;keycap&gt;Control&lt;/keycap&gt;&lt;keycap&gt;space&lt;/keycap&gt;&lt;/keycombo&gt;.

This will create a #GtkSourceCompletionContext with the activation
type as %GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED.

Applications should not connect to it, but may emit it with
g_signal_emit_by_name() if they need to activate the completion by
another means, for example with another key binding or a menu entry.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="smart-home-end" when="last" version="3.0">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.c"
             line="846">Emitted when a the cursor was moved according to the smart home
end setting. The signal is emitted after the cursor is moved, but
during the GtkTextView::move-cursor action. This can be used to find
out whether the cursor was moved by a normal home/end or by a smart
home/end.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="iter" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="849">a #GtkTextIter</doc>
            <type name="Gtk.TextIter"/>
          </parameter>
          <parameter name="count" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gtksourceview/gtksourceview.c"
                 line="850">the count</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="undo" when="last" action="1">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
    </class>
    <record name="ViewClass"
            c:type="GtkSourceViewClass"
            glib:is-gtype-struct-for="View">
      <source-position filename="gtksourceview/gtksourceview.h" line="116"/>
      <field name="parent_class">
        <type name="Gtk.TextViewClass" c:type="GtkTextViewClass"/>
      </field>
      <field name="undo">
        <callback name="undo">
          <source-position filename="gtksourceview/gtksourceview.h"
                           line="102"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="view" transfer-ownership="none">
              <type name="View" c:type="GtkSourceView*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="redo">
        <callback name="redo">
          <source-position filename="gtksourceview/gtksourceview.h"
                           line="103"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="view" transfer-ownership="none">
              <type name="View" c:type="GtkSourceView*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="line_mark_activated">
        <callback name="line_mark_activated">
          <source-position filename="gtksourceview/gtksourceview.h"
                           line="104"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="view" transfer-ownership="none">
              <type name="View" c:type="GtkSourceView*"/>
            </parameter>
            <parameter name="iter" transfer-ownership="none">
              <type name="Gtk.TextIter" c:type="GtkTextIter*"/>
            </parameter>
            <parameter name="event" transfer-ownership="none">
              <type name="Gdk.Event" c:type="GdkEvent*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="show_completion">
        <callback name="show_completion">
          <source-position filename="gtksourceview/gtksourceview.h"
                           line="107"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="view" transfer-ownership="none">
              <type name="View" c:type="GtkSourceView*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="move_lines">
        <callback name="move_lines">
          <source-position filename="gtksourceview/gtksourceview.h"
                           line="108"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="view" transfer-ownership="none">
              <type name="View" c:type="GtkSourceView*"/>
            </parameter>
            <parameter name="down" transfer-ownership="none">
              <type name="gboolean" c:type="gboolean"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="move_words">
        <callback name="move_words">
          <source-position filename="gtksourceview/gtksourceview.h"
                           line="111"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="view" transfer-ownership="none">
              <type name="View" c:type="GtkSourceView*"/>
            </parameter>
            <parameter name="step" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="20">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <enumeration name="ViewGutterPosition"
                 glib:type-name="GtkSourceViewGutterPosition"
                 glib:get-type="gtk_source_view_gutter_position_get_type"
                 c:type="GtkSourceViewGutterPosition">
      <member name="lines"
              value="-30"
              c:identifier="GTK_SOURCE_VIEW_GUTTER_POSITION_LINES"
              glib:nick="lines"
              glib:name="GTK_SOURCE_VIEW_GUTTER_POSITION_LINES">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.h"
             line="47">the gutter position of the lines
renderer</doc>
      </member>
      <member name="marks"
              value="-20"
              c:identifier="GTK_SOURCE_VIEW_GUTTER_POSITION_MARKS"
              glib:nick="marks"
              glib:name="GTK_SOURCE_VIEW_GUTTER_POSITION_MARKS">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceview.h"
             line="49">the gutter position of the marks
renderer</doc>
      </member>
    </enumeration>
    <record name="ViewPrivate"
            c:type="GtkSourceViewPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gtksourceview/gtksourceview.h" line="43"/>
    </record>
    <docsection name="buffer">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcebuffer.c"
           line="50">A #GtkSourceBuffer object is the model for #GtkSourceView widgets.
It extends the #GtkTextBuffer class by adding features useful to display
and edit source code such as syntax highlighting and bracket matching. It
also implements support for the undo/redo.

To create a #GtkSourceBuffer use gtk_source_buffer_new() or
gtk_source_buffer_new_with_language(). The second form is just a convenience
function which allows you to initially set a #GtkSourceLanguage. You can also
directly create a #GtkSourceView and get its #GtkSourceBuffer with
gtk_text_view_get_buffer().

The highlighting is enabled by default, but you can disable it with
gtk_source_buffer_set_highlight_syntax().

# Undo/Redo

A custom #GtkSourceUndoManager can be implemented and set with
gtk_source_buffer_set_undo_manager(). However the default implementation
should be suitable for most uses, so you can use the API provided by
#GtkSourceBuffer instead of using #GtkSourceUndoManager. By default, actions
that can be undone or redone are defined as groups of operations between a
call to gtk_text_buffer_begin_user_action() and
gtk_text_buffer_end_user_action(). In general, this happens whenever the user
presses any key which modifies the buffer. But the default undo manager will
try to merge similar consecutive actions into one undo/redo level. The
merging is done word by word, so after writing a new sentence (character by
character), each undo will remove the previous word.

The default undo manager remembers the "modified" state of the buffer, and
restores it when an action is undone or redone. It can be useful in a text
editor to know whether the file is saved. See gtk_text_buffer_get_modified()
and gtk_text_buffer_set_modified().

The default undo manager also restores the selected text (or cursor
position), if the selection was related to the action. For example if the
user selects some text and deletes it, an undo will restore the selection. On
the other hand, if some text is selected but a deletion occurs elsewhere (the
deletion was done programmatically), an undo will not restore the selection,
it will only moves the cursor (the cursor is moved so that the user sees the
undo's effect). Warning: the selection restoring behavior might change in the
future.

# Context Classes # {#context-classes}

It is possible to retrieve some information from the syntax highlighting
engine. The default context classes that are applied to regions of a
#GtkSourceBuffer:
 - &lt;emphasis&gt;comment&lt;/emphasis&gt;: the region delimits a comment;
 - &lt;emphasis&gt;no-spell-check&lt;/emphasis&gt;: the region should not be spell checked;
 - &lt;emphasis&gt;path&lt;/emphasis&gt;: the region delimits a path to a file;
 - &lt;emphasis&gt;string&lt;/emphasis&gt;: the region delimits a string.

Custom language definition files can create their own context classes,
since the functions like gtk_source_buffer_iter_has_context_class() take
a string parameter as the context class.

#GtkSourceBuffer provides an API to access the context classes:
gtk_source_buffer_iter_has_context_class(),
gtk_source_buffer_get_context_classes_at_iter(),
gtk_source_buffer_iter_forward_to_context_class_toggle() and
gtk_source_buffer_iter_backward_to_context_class_toggle().

And the #GtkSourceBuffer::highlight-updated signal permits to be notified
when a context class region changes.

Each context class has also an associated #GtkTextTag with the name
&lt;emphasis&gt;gtksourceview:context-classes:&amp;lt;name&amp;gt;&lt;/emphasis&gt;. For example to
retrieve the #GtkTextTag for the string context class, one can write:
|[
GtkTextTagTable *tag_table;
GtkTextTag *tag;

tag_table = gtk_text_buffer_get_tag_table (buffer);
tag = gtk_text_tag_table_lookup (tag_table, "gtksourceview:context-classes:string");
]|

The tag must be used for read-only purposes.

Accessing a context class via the associated #GtkTextTag is less
convenient than the #GtkSourceBuffer API, because:
 - The tag doesn't always exist, you need to listen to the
   #GtkTextTagTable::tag-added and #GtkTextTagTable::tag-removed signals.
 - Instead of the #GtkSourceBuffer::highlight-updated signal, you can listen
   to the #GtkTextBuffer::apply-tag and #GtkTextBuffer::remove-tag signals.

A possible use-case for accessing a context class via the associated
#GtkTextTag is to read the region but without adding a hard dependency on the
GtkSourceView library (for example for a spell-checking library that wants to
read the no-spell-check region).</doc>
    </docsection>
    <docsection name="completion">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcecompletion.c"
           line="23">The completion system helps the user when he/she writes some text,
such as words, command names, functions, and suchlike. Proposals can
be shown, to complete the text the user is writing. Each proposal can
contain an additional piece of information (for example
documentation), that is displayed when the "Details" button is
clicked.

Proposals are created via a #GtkSourceCompletionProvider. There can
be for example a provider to complete words (see
#GtkSourceCompletionWords), another provider for the completion of
function names, etc. To add a provider, call
gtk_source_completion_add_provider().

When the completion is activated, a #GtkSourceCompletionContext object is
created. The providers are asked whether they match the context, with
gtk_source_completion_provider_match(). If a provider doesn't match the
context, it will not be visible in the completion window. On the
other hand, if the provider matches the context, its proposals will
be displayed.

When several providers match, they are all shown in the completion
window, but one can switch between providers: see the
#GtkSourceCompletion::move-page signal. It is also possible to
activate the first proposals with key bindings, see the
#GtkSourceCompletion:accelerators property.

The #GtkSourceCompletionProposal interface represents a proposal.
The #GtkSourceCompletionItem class is a simple implementation of this
interface.

If a proposal contains extra information (see
gtk_source_completion_provider_get_info_widget()), it will be
displayed in a #GtkSourceCompletionInfo window, which appears when
the "Details" button is clicked.

A #GtkSourceCompletionInfo window can also be used to display
calltips. When no proposals are available, it can be useful to
display extra information like a function prototype (number of
parameters, types of parameters, etc).

Each #GtkSourceView object is associated with a #GtkSourceCompletion
instance. This instance can be obtained with
gtk_source_view_get_completion(). The #GtkSourceView class contains also the
#GtkSourceView::show-completion signal.

A same #GtkSourceCompletionProvider object can be used for several
#GtkSourceCompletion's.

# GtkSourceCompletion as GtkBuildable

The GtkSourceCompletion implementation of the #GtkBuildable interface exposes
the info window object (see gtk_source_completion_get_info_window()) with the
internal-child "info_window".

An example of a UI definition fragment with GtkSourceCompletion:
|[
&lt;object class="GtkSourceCompletion"&gt;
  &lt;property name="select_on_show"&gt;False&lt;/property&gt;
  &lt;child internal-child="info_window"&gt;
    &lt;object class="GtkSourceCompletionInfo"&gt;
      &lt;property name="border_width"&gt;6&lt;/property&gt;
    &lt;/object&gt;
  &lt;/child&gt;
&lt;/object&gt;
]|</doc>
    </docsection>
    <function name="completion_error_quark"
              c:identifier="gtk_source_completion_error_quark"
              moved-to="CompletionError.quark">
      <return-value transfer-ownership="none">
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
    </function>
    <docsection name="completioncontext">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcecompletioncontext.c"
           line="21">Initially, the completion window is hidden. For a completion to occur, it has
to be activated. The different possible activations are listed in
#GtkSourceCompletionActivation. When an activation occurs, a
#GtkSourceCompletionContext object is created, and the eligible providers are
asked to add proposals with gtk_source_completion_context_add_proposals().

If no proposals are added, the completion window remains hidden, and the
context is destroyed.

On the other hand, if proposals are added, the completion window becomes
visible, and the user can choose a proposal. If the user is not happy with
the shown proposals, he or she can insert or delete characters, to modify the
completion context and therefore hoping to see the proposal he or she wants.
This means that when an insertion or deletion occurs in the #GtkTextBuffer
when the completion window is visible, the eligible providers are again asked
to add proposals. The #GtkSourceCompletionContext:activation remains the
same in this case.

When the completion window is hidden, the interactive completion is triggered
only on insertion in the buffer, not on deletion. Once the completion window
is visible, then on each insertion or deletion, there is a new population and
the providers are asked to add proposals. If there are no more proposals, the
completion window disappears. So if you want to keep the completion window
visible, but there are no proposals, you can insert a dummy proposal named
"No proposals". For example, the user types progressively the name of
a function, and some proposals appear. The user types a bad character and
there are no proposals anymore. What the user wants is to delete the last
character, and see the previous proposals. If the completion window
disappears, the previous proposals will not reappear on the character
deletion.

A #GtkTextIter is associated with the context, this is where the completion
takes place. With this #GtkTextIter, you can get the associated
#GtkTextBuffer with gtk_text_iter_get_buffer().</doc>
    </docsection>
    <docsection name="completioninfo">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcecompletioninfo.c"
           line="23">This object can be used to show a calltip or help for the
current completion proposal.

The info window has always the same size as the natural size of its child
widget, added with gtk_container_add().  If you want a fixed size instead, a
possibility is to use a scrolled window, as the following example
demonstrates.

&lt;example&gt;
  &lt;title&gt;Fixed size with a scrolled window.&lt;/title&gt;
  &lt;programlisting&gt;
GtkSourceCompletionInfo *info;
GtkWidget *your_widget;
GtkWidget *scrolled_window = gtk_scrolled_window_new (NULL, NULL);

gtk_widget_set_size_request (scrolled_window, 300, 200);
gtk_container_add (GTK_CONTAINER (scrolled_window), your_widget);
gtk_container_add (GTK_CONTAINER (info), scrolled_window);
  &lt;/programlisting&gt;
&lt;/example&gt;

If the calltip is displayed on top of a certain widget, say a #GtkTextView,
you should attach the calltip window to the #GtkTextView with
gtk_window_set_attached_to().  By doing this, the calltip will be hidden when
the #GtkWidget::focus-out-event signal is emitted by the #GtkTextView. You
may also be interested by the #GtkTextBuffer:cursor-position property (when
its value is modified). If you use the #GtkSourceCompletionInfo through the
#GtkSourceCompletion machinery, you don't need to worry about this.</doc>
    </docsection>
    <docsection name="completionitem">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcecompletionitem.c"
           line="22">The #GtkSourceCompletionItem class is a simple implementation of the
#GtkSourceCompletionProposal interface.</doc>
    </docsection>
    <docsection name="completionproposal">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcecompletionproposal.c"
           line="28">The proposal interface represents a completion item in the completion window.
It provides information on how to display the completion item and what action
should be taken when the completion item is activated.

The proposal is displayed in the completion window with a label and
optionally an icon.
The label may be specified using plain text or markup by implementing
the corresponding get function. Only one of those get functions
should return a value different from %NULL.
The icon may be specified as a #GdkPixbuf, as an icon name or as a #GIcon by
implementing the corresponding get function. At most one of those get functions
should return a value different from %NULL, if they all return %NULL no icon
will be used.</doc>
    </docsection>
    <docsection name="completionprovider">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcecompletionprovider.c"
           line="30">You must implement this interface to provide proposals to #GtkSourceCompletion

The provider may be displayed in the completion window as a header row, showing
its name and optionally an icon.
The icon may be specified as a #GdkPixbuf, as an icon name or as a #GIcon by
implementing the corresponding get function. At most one of those get functions
should return a value different from %NULL, if they all return %NULL no icon
will be used.</doc>
    </docsection>
    <docsection name="completionwords">
      <doc xml:space="preserve"
           filename="gtksourceview/completion-providers/words/gtksourcecompletionwords.c"
           line="22">The #GtkSourceCompletionWords is an example of an implementation of
the #GtkSourceCompletionProvider interface. The proposals are words
appearing in the registered #GtkTextBuffer&lt;!-- --&gt;s.</doc>
    </docsection>
    <docsection name="encoding">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourceencoding.c"
           line="30">The #GtkSourceEncoding boxed type represents a character encoding. It is used
for example by #GtkSourceFile. Note that the text in GTK+ widgets is always
encoded in UTF-8.</doc>
    </docsection>
    <function name="encoding_get_all"
              c:identifier="gtk_source_encoding_get_all"
              moved-to="Encoding.get_all"
              version="3.14">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourceencoding.c"
           line="347">Gets all encodings.</doc>
      <source-position filename="gtksourceview/gtksourceencoding.h" line="59"/>
      <return-value transfer-ownership="container">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceencoding.c"
             line="352">a list of
all #GtkSourceEncoding's. Free with g_slist_free().</doc>
        <type name="GLib.SList" c:type="GSList*">
          <type name="Encoding"/>
        </type>
      </return-value>
    </function>
    <function name="encoding_get_current"
              c:identifier="gtk_source_encoding_get_current"
              moved-to="Encoding.get_current"
              version="3.14">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourceencoding.c"
           line="384">Gets the #GtkSourceEncoding for the current locale. See also g_get_charset().</doc>
      <source-position filename="gtksourceview/gtksourceencoding.h" line="56"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceencoding.c"
             line="389">the current locale encoding.</doc>
        <type name="Encoding" c:type="const GtkSourceEncoding*"/>
      </return-value>
    </function>
    <function name="encoding_get_default_candidates"
              c:identifier="gtk_source_encoding_get_default_candidates"
              moved-to="Encoding.get_default_candidates"
              version="3.18">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourceencoding.c"
           line="600">Gets the list of default candidate encodings to try when loading a file. See
gtk_source_file_loader_set_candidate_encodings().

This function returns a different list depending on the current locale (i.e.
language, country and default encoding). The UTF-8 encoding and the current
locale encoding are guaranteed to be present in the returned list.</doc>
      <source-position filename="gtksourceview/gtksourceencoding.h" line="62"/>
      <return-value transfer-ownership="container">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceencoding.c"
             line="610">the list of
default candidate encodings. Free with g_slist_free().</doc>
        <type name="GLib.SList" c:type="GSList*">
          <type name="Encoding"/>
        </type>
      </return-value>
    </function>
    <function name="encoding_get_from_charset"
              c:identifier="gtk_source_encoding_get_from_charset"
              moved-to="Encoding.get_from_charset"
              version="3.14">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourceencoding.c"
           line="305">Gets a #GtkSourceEncoding from a character set such as "UTF-8" or
"ISO-8859-1".</doc>
      <source-position filename="gtksourceview/gtksourceencoding.h" line="41"/>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceencoding.c"
             line="312">the corresponding #GtkSourceEncoding, or %NULL
if not found.</doc>
        <type name="Encoding" c:type="const GtkSourceEncoding*"/>
      </return-value>
      <parameters>
        <parameter name="charset" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceencoding.c"
               line="307">a character set.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="encoding_get_utf8"
              c:identifier="gtk_source_encoding_get_utf8"
              moved-to="Encoding.get_utf8"
              version="3.14">
      <source-position filename="gtksourceview/gtksourceencoding.h" line="53"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceencoding.c"
             line="375">the UTF-8 encoding.</doc>
        <type name="Encoding" c:type="const GtkSourceEncoding*"/>
      </return-value>
    </function>
    <docsection name="file">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcefile.c"
           line="29">A #GtkSourceFile object is the on-disk representation of a #GtkSourceBuffer.
With a #GtkSourceFile, you can create and configure a #GtkSourceFileLoader
and #GtkSourceFileSaver which take by default the values of the
#GtkSourceFile properties (except for the file loader which auto-detect some
properties). On a successful load or save operation, the #GtkSourceFile
properties are updated. If an operation fails, the #GtkSourceFile properties
have still the previous valid values.</doc>
    </docsection>
    <function name="file_loader_error_quark"
              c:identifier="gtk_source_file_loader_error_quark"
              moved-to="FileLoaderError.quark">
      <return-value transfer-ownership="none">
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
    </function>
    <function name="file_saver_error_quark"
              c:identifier="gtk_source_file_saver_error_quark"
              moved-to="FileSaverError.quark">
      <return-value transfer-ownership="none">
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
    </function>
    <docsection name="fileloader">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcefileloader.c"
           line="37">A #GtkSourceFileLoader object permits to load the contents of a #GFile or a
#GInputStream into a #GtkSourceBuffer.

A file loader should be used only for one load operation, including errors
handling. If an error occurs, you can reconfigure the loader and relaunch the
operation with gtk_source_file_loader_load_async().

Running a #GtkSourceFileLoader is an undoable action for the
#GtkSourceBuffer. That is, gtk_source_buffer_begin_not_undoable_action() and
gtk_source_buffer_end_not_undoable_action() are called, which delete the
undo/redo history.

After a file loading, the buffer is reset to the contents provided by the
#GFile or #GInputStream, so the buffer is set as “unmodified”, that is,
gtk_text_buffer_set_modified() is called with %FALSE. If the contents isn't
saved somewhere (for example if you load from stdin), then you should
probably call gtk_text_buffer_set_modified() with %TRUE after calling
gtk_source_file_loader_load_finish().</doc>
    </docsection>
    <docsection name="filesaver">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcefilesaver.c"
           line="37">A #GtkSourceFileSaver object permits to save a #GtkSourceBuffer into a
#GFile.

A file saver should be used only for one save operation, including errors
handling. If an error occurs, you can reconfigure the saver and relaunch the
operation with gtk_source_file_saver_save_async().</doc>
    </docsection>
    <function name="finalize" c:identifier="gtk_source_finalize" version="4.0">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourceinit.c"
           line="166">Free the resources allocated by GtkSourceView. For example it unrefs the
singleton objects.

It is not mandatory to call this function, it's just to be friendlier to
memory debugging tools. This function is meant to be called at the end of
main(). It can be called several times.</doc>
      <source-position filename="gtksourceview/gtksourceinit.h" line="36"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </function>
    <docsection name="gutter">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcegutter.c"
           line="31">The #GtkSourceGutter object represents the left or right gutter of the text
view. It is used by #GtkSourceView to draw the line numbers and
#GtkSourceMark&lt;!-- --&gt;s that might be present on a line. By packing
additional #GtkSourceGutterRenderer objects in the gutter, you can extend the
gutter with your own custom drawings.

To get a #GtkSourceGutter, use the gtk_source_view_get_gutter() function.

The gutter works very much the same way as cells rendered in a #GtkTreeView.
The concept is similar, with the exception that the gutter does not have an
underlying #GtkTreeModel. The builtin line number renderer is at position
#GTK_SOURCE_VIEW_GUTTER_POSITION_LINES (-30) and the marks renderer is at
#GTK_SOURCE_VIEW_GUTTER_POSITION_MARKS (-20). The gutter sorts the renderers
in ascending order, from left to right. So the marks are displayed on the
right of the line numbers.</doc>
    </docsection>
    <docsection name="gutterrenderer">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcegutterrenderer.c"
           line="32">A #GtkSourceGutterRenderer represents a column in a #GtkSourceGutter. The
column contains one cell for each visible line of the #GtkTextBuffer. Due to
text wrapping, a cell can thus span multiple lines of the #GtkTextView. In
this case, #GtkSourceGutterRendererAlignmentMode controls the alignment of
the cell.

The gutter renderer must announce its #GtkSourceGutterRenderer:size. The
height is determined by the text view height. The width must be determined by
the gutter renderer. The width generally takes into account the entire text
buffer. For instance, to display the line numbers, if the buffer contains 100
lines, the gutter renderer will always set its width such as three digits can
be printed, even if only the first 20 lines are shown. Another strategy is to
take into account only the visible lines.  In this case, only two digits are
necessary to display the line numbers of the first 20 lines. To take another
example, the gutter renderer for #GtkSourceMark&lt;!-- --&gt;s doesn't need to take
into account the text buffer to announce its width. It only depends on the
icons size displayed in the gutter column.

An horizontal and vertical padding can be added with
gtk_source_gutter_renderer_set_padding().  The total width of a gutter
renderer is its size (#GtkSourceGutterRenderer:size) plus two times the
horizontal padding (#GtkSourceGutterRenderer:xpad).

When the available size to render a cell is greater than the required size to
render the cell contents, the cell contents can be aligned horizontally and
vertically with gtk_source_gutter_renderer_set_alignment().

The cells rendering occurs in three phases:
- begin: the gtk_source_gutter_renderer_begin() function is called when some
  cells need to be redrawn. It provides the associated region of the
  #GtkTextBuffer. The cells need to be redrawn when the #GtkTextView is
  scrolled, or when the state of the cells change (see
  #GtkSourceGutterRendererState).
- draw: gtk_source_gutter_renderer_draw() is called for each cell that needs
  to be drawn.
- end: finally, gtk_source_gutter_renderer_end() is called.</doc>
    </docsection>
    <docsection name="gutterrendererpixbuf">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcegutterrendererpixbuf.c"
           line="28">A #GtkSourceGutterRendererPixbuf can be used to render an image in a cell of
#GtkSourceGutter.</doc>
    </docsection>
    <docsection name="gutterrenderertext">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcegutterrenderertext.c"
           line="27">A #GtkSourceGutterRendererText can be used to render text in a cell of
#GtkSourceGutter.</doc>
    </docsection>
    <function name="init" c:identifier="gtk_source_init" version="4.0">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourceinit.c"
           line="137">Initializes the GtkSourceView library (e.g. for the internationalization).

This function can be called several times, but is meant to be called at the
beginning of main(), before any other GtkSourceView function call.</doc>
      <source-position filename="gtksourceview/gtksourceinit.h" line="33"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </function>
    <docsection name="language">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcelanguage.c"
           line="43">A #GtkSourceLanguage represents a programming or markup language, affecting
syntax highlighting and [context classes][context-classes].

Use #GtkSourceLanguageManager to obtain a #GtkSourceLanguage instance, and
gtk_source_buffer_set_language() to apply it to a #GtkSourceBuffer.</doc>
    </docsection>
    <docsection name="languagemanager">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcelanguagemanager.c"
           line="34">#GtkSourceLanguageManager is an object which processes language description
files and creates and stores #GtkSourceLanguage objects, and provides API to
access them.
Use gtk_source_language_manager_get_default() to retrieve the default
instance of #GtkSourceLanguageManager, and
gtk_source_language_manager_guess_language() to get a #GtkSourceLanguage for
given file name and content type.</doc>
    </docsection>
    <docsection name="map">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcemap.c"
           line="32">#GtkSourceMap is a widget that maps the content of a #GtkSourceView into
a smaller view so the user can have a quick overview of the whole document.

This works by connecting a #GtkSourceView to to the #GtkSourceMap using
the #GtkSourceMap:view property or gtk_source_map_set_view().

#GtkSourceMap is a #GtkSourceView object. This means that you can add a
#GtkSourceGutterRenderer to a gutter in the same way you would for a
#GtkSourceView. One example might be a #GtkSourceGutterRenderer that shows
which lines have changed in the document.

Additionally, it is desirable to match the font of the #GtkSourceMap and
the #GtkSourceView used for editing. Therefore, #GtkSourceMap:font-desc
should be used to set the target font. You will need to adjust this to the
desired font size for the map. A 1pt font generally seems to be an
appropriate font size. "Monospace 1" is the default. See
pango_font_description_set_size() for how to alter the size of an existing
#PangoFontDescription.</doc>
    </docsection>
    <docsection name="mark">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcemark.c"
           line="29">A #GtkSourceMark marks a position in the text where you want to display
additional info. It is based on #GtkTextMark and thus is still valid after
the text has changed though its position may change.

#GtkSourceMark&lt;!-- --&gt;s are organised in categories which you have to set
when you create the mark. Each category can have a priority, a pixbuf and
other associated attributes. See gtk_source_view_set_mark_attributes().
The pixbuf will be displayed in the margin at the line where the mark
residents if the #GtkSourceView:show-line-marks property is set to %TRUE. If
there are multiple marks in the same line, the pixbufs will be drawn on top
of each other. The mark with the highest priority will be drawn on top.</doc>
    </docsection>
    <docsection name="markattributes">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcemarkattributes.c"
           line="31">#GtkSourceMarkAttributes is an object specifying attributes used by
a #GtkSourceView to visually show lines marked with #GtkSourceMark&lt;!-- --&gt;s
of a specific category. It allows you to define a background color of a line,
an icon shown in gutter and tooltips.

The background color is used as a background of a line where a mark is placed
and it can be set with gtk_source_mark_attributes_set_background(). To check
if any custom background color was defined and what color it is, use
gtk_source_mark_attributes_get_background().

An icon is a graphic element which is shown in the gutter of a view. An
example use is showing a red filled circle in a debugger to show that a
breakpoint was set in certain line. To get an icon that will be placed in
a gutter, first a base for it must be specified and then
gtk_source_mark_attributes_render_icon() must be called.
There are several ways to specify a base for an icon:
&lt;itemizedlist&gt;
 &lt;listitem&gt;
  &lt;para&gt;
   gtk_source_mark_attributes_set_icon_name()
  &lt;/para&gt;
 &lt;/listitem&gt;
 &lt;listitem&gt;
  &lt;para&gt;
   gtk_source_mark_attributes_set_gicon()
  &lt;/para&gt;
 &lt;/listitem&gt;
 &lt;listitem&gt;
  &lt;para&gt;
   gtk_source_mark_attributes_set_pixbuf()
  &lt;/para&gt;
 &lt;/listitem&gt;
&lt;/itemizedlist&gt;
Using any of the above functions overrides the one used earlier. But note
that a getter counterpart of earlier used function can still return some
value, but it is just not used when rendering the proper icon.

To provide meaningful tooltips for a given mark of a category, you should
connect to #GtkSourceMarkAttributes::query-tooltip-text or
#GtkSourceMarkAttributes::query-tooltip-markup where the latter
takes precedence.</doc>
    </docsection>
    <docsection name="printcompositor">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourceprintcompositor.c"
           line="37">The #GtkSourcePrintCompositor object is used to compose a #GtkSourceBuffer
for printing. You can set various configuration options to customize the
printed output. #GtkSourcePrintCompositor is designed to be used with the
high-level printing API of gtk+, i.e. #GtkPrintOperation.

The margins specified in this object are the layout margins: they define the
blank space bordering the printed area of the pages. They must not be
confused with the "print margins", i.e. the parts of the page that the
printer cannot print on, defined in the #GtkPageSetup objects. If the
specified layout margins are smaller than the "print margins", the latter
ones are used as a fallback by the #GtkSourcePrintCompositor object, so that
the printed area is not clipped.</doc>
    </docsection>
    <docsection name="region">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourceregion.c"
           line="28">A #GtkSourceRegion permits to store a group of subregions of a
#GtkTextBuffer. #GtkSourceRegion stores the subregions with pairs of
#GtkTextMark's, so the region is still valid after insertions and deletions
in the #GtkTextBuffer.

The #GtkTextMark for the start of a subregion has a left gravity, while the
#GtkTextMark for the end of a subregion has a right gravity.

The typical use-case of #GtkSourceRegion is to scan a #GtkTextBuffer chunk by
chunk, not the whole buffer at once to not block the user interface. The
#GtkSourceRegion represents in that case the remaining region to scan. You
can listen to the #GtkTextBuffer::insert-text and
#GtkTextBuffer::delete-range signals to update the #GtkSourceRegion
accordingly.

To iterate through the subregions, you need to use a #GtkSourceRegionIter,
for example:
|[
GtkSourceRegion *region;
GtkSourceRegionIter region_iter;

gtk_source_region_get_start_region_iter (region, &amp;region_iter);

while (!gtk_source_region_iter_is_end (&amp;region_iter))
{
        GtkTextIter subregion_start;
        GtkTextIter subregion_end;

        if (!gtk_source_region_iter_get_subregion (&amp;region_iter,
                                                   &amp;subregion_start,
                                                   &amp;subregion_end))
        {
                break;
        }

        // Do something useful with the subregion.

        gtk_source_region_iter_next (&amp;region_iter);
}
]|</doc>
    </docsection>
    <docsection name="searchcontext">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcesearchcontext.c"
           line="38">A #GtkSourceSearchContext is used for the search and replace in a
#GtkSourceBuffer. The search settings are represented by a
#GtkSourceSearchSettings object. There can be a many-to-many relationship
between buffers and search settings, with the search contexts in-between: a
search settings object can be shared between several search contexts; and a
buffer can contain several search contexts at the same time.

The total number of search occurrences can be retrieved with
gtk_source_search_context_get_occurrences_count(). To know the position of a
certain match, use gtk_source_search_context_get_occurrence_position().

The buffer is scanned asynchronously, so it doesn't block the user interface.
For each search, the buffer is scanned at most once. After that, navigating
through the occurrences doesn't require to re-scan the buffer entirely.

To search forward, use gtk_source_search_context_forward() or
gtk_source_search_context_forward_async() for the asynchronous version.
The backward search is done similarly. To replace a search match, or all
matches, use gtk_source_search_context_replace() and
gtk_source_search_context_replace_all().

The search occurrences are highlighted by default. To disable it, use
gtk_source_search_context_set_highlight(). You can enable the search
highlighting for several #GtkSourceSearchContext&lt;!-- --&gt;s attached to the
same buffer. Moreover, each of those #GtkSourceSearchContext&lt;!-- --&gt;s can
have a different text style associated. Use
gtk_source_search_context_set_match_style() to specify the #GtkSourceStyle
to apply on search matches.

Note that the #GtkSourceSearchContext:highlight and
#GtkSourceSearchContext:match-style properties are in the
#GtkSourceSearchContext class, not #GtkSourceSearchSettings. Appearance
settings should be tied to one, and only one buffer, as different buffers can
have different style scheme associated (a #GtkSourceSearchSettings object
can be bound indirectly to several buffers).

The concept of "current match" doesn't exist yet. A way to highlight
differently the current match is to select it.

A search occurrence's position doesn't depend on the cursor position or other
parameters. Take for instance the buffer "aaaa" with the search text "aa".
The two occurrences are at positions [0:2] and [2:4]. If you begin to search
at position 1, you will get the occurrence [2:4], not [1:3]. This is a
prerequisite for regular expression searches. The pattern ".*" matches the
entire line. If the cursor is at the middle of the line, you don't want the
rest of the line as the occurrence, you want an entire line. (As a side note,
regular expression searches can also match multiple lines.)

In the GtkSourceView source code, there is an example of how to use the
search and replace API: see the tests/test-search.c file. It is a mini
application for the search and replace, with a basic user interface.</doc>
    </docsection>
    <docsection name="searchsettings">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcesearchsettings.c"
           line="27">A #GtkSourceSearchSettings object represents the settings of a search. The
search settings can be associated with one or several
#GtkSourceSearchContext&lt;!-- --&gt;s.</doc>
    </docsection>
    <docsection name="spacedrawer">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcespacedrawer.c"
           line="39">#GtkSourceSpaceDrawer provides a way to visualize white spaces, by drawing
symbols.

Call gtk_source_view_get_space_drawer() to get the #GtkSourceSpaceDrawer
instance of a certain #GtkSourceView.

By default, no white spaces are drawn because the
#GtkSourceSpaceDrawer:enable-matrix is %FALSE.

To draw white spaces, gtk_source_space_drawer_set_types_for_locations() can
be called to set the #GtkSourceSpaceDrawer:matrix property (by default all
space types are enabled at all locations). Then call
gtk_source_space_drawer_set_enable_matrix().

For a finer-grained method, there is also the GtkSourceTag's
#GtkSourceTag:draw-spaces property.

# Example

To draw non-breaking spaces everywhere and draw all types of trailing spaces
except newlines:
|[
gtk_source_space_drawer_set_types_for_locations (space_drawer,
                                                 GTK_SOURCE_SPACE_LOCATION_ALL,
                                                 GTK_SOURCE_SPACE_TYPE_NBSP);

gtk_source_space_drawer_set_types_for_locations (space_drawer,
                                                 GTK_SOURCE_SPACE_LOCATION_TRAILING,
                                                 GTK_SOURCE_SPACE_TYPE_ALL &amp;
                                                 ~GTK_SOURCE_SPACE_TYPE_NEWLINE);

gtk_source_space_drawer_set_enable_matrix (space_drawer, TRUE);
]|

# Use-case: draw unwanted white spaces

A possible use-case is to draw only unwanted white spaces. Examples:
- Draw all trailing spaces.
- If the indentation and alignment must be done with spaces, draw tabs.

And non-breaking spaces can always be drawn, everywhere, to distinguish them
from normal spaces.</doc>
    </docsection>
    <docsection name="style">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcestyle.c"
           line="28">The #GtkSourceStyle structure is used to describe text attributes
which are set when given style is used.</doc>
    </docsection>
    <docsection name="stylescheme">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcestylescheme.c"
           line="35">#GtkSourceStyleScheme contains all the text styles to be used in
#GtkSourceView and #GtkSourceBuffer. For instance, it contains text styles
for syntax highlighting, it may contain foreground and background color for
non-highlighted text, color for the line numbers, current line highlighting,
bracket matching, etc.

Style schemes are stored in XML files. The format of a scheme file is
documented in the [style scheme reference][style-reference].

The two style schemes with IDs "classic" and "tango" follow more closely the
GTK+ theme (for example for the background color).</doc>
    </docsection>
    <docsection name="styleschemechooser">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcestyleschemechooser.c"
           line="28">#GtkSourceStyleSchemeChooser is an interface that is implemented by widgets
for choosing style schemes.

In GtkSourceView, the main widgets that implement this interface are
#GtkSourceStyleSchemeChooserWidget and #GtkSourceStyleSchemeChooserButton.</doc>
    </docsection>
    <docsection name="styleschemechooserbutton">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcestyleschemechooserbutton.c"
           line="32">The #GtkSourceStyleSchemeChooserButton is a button which displays
the currently selected style scheme and allows to open a style scheme
selection dialog to change the style scheme.
It is suitable widget for selecting a style scheme in a preference dialog.

In #GtkSourceStyleSchemeChooserButton, a #GtkSourceStyleSchemeChooserWidget
is used to provide a dialog for selecting style schemes.</doc>
    </docsection>
    <docsection name="styleschemechooserwidget">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcestyleschemechooserwidget.c"
           line="35">The #GtkSourceStyleSchemeChooserWidget widget lets the user select a
style scheme. By default, the chooser presents a predefined list
of style schemes.

To change the initially selected style scheme,
use gtk_source_style_scheme_chooser_set_style_scheme().
To get the selected style scheme
use gtk_source_style_scheme_chooser_get_style_scheme().</doc>
    </docsection>
    <docsection name="styleschememanager">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcestyleschememanager.c"
           line="30">Object which provides access to #GtkSourceStyleScheme&lt;!-- --&gt;s.</doc>
    </docsection>
    <docsection name="tag">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourcetag.c"
           line="29">#GtkSourceTag is a subclass of #GtkTextTag that adds properties useful for
the GtkSourceView library.

If, for a certain tag, #GtkTextTag is sufficient, it's better that you create
a #GtkTextTag, not a #GtkSourceTag.</doc>
    </docsection>
    <docsection name="undomanager">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourceundomanager.c"
           line="33">For most uses it isn't needed to use #GtkSourceUndoManager. #GtkSourceBuffer
already provides an API and a default implementation for the undo/redo.

For specific needs, the #GtkSourceUndoManager interface can be implemented to
provide custom undo management. Use gtk_source_buffer_set_undo_manager() to
install a custom undo manager for a particular #GtkSourceBuffer.

Use gtk_source_undo_manager_can_undo_changed() and
gtk_source_undo_manager_can_redo_changed() when respectively the undo state
or redo state of the undo stack has changed.</doc>
    </docsection>
    <docsection name="utils">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourceutils.c"
           line="24">Utility functions.</doc>
    </docsection>
    <function name="utils_escape_search_text"
              c:identifier="gtk_source_utils_escape_search_text"
              version="3.10">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourceutils.c"
           line="135">Use this function to escape the following characters: `\n`, `\r`, `\t` and `\`.

For a regular expression search, use g_regex_escape_string() instead.

One possible use case is to take the #GtkTextBuffer's selection and put it in a
search entry. The selection can contain tabulations, newlines, etc. So it's
better to escape those special characters to better fit in the search entry.

See also: gtk_source_utils_unescape_search_text().

&lt;warning&gt;
Warning: the escape and unescape functions are not reciprocal! For example,
escape (unescape (\)) = \\. So avoid cycles such as: search entry -&gt; unescape
-&gt; search settings -&gt; escape -&gt; search entry. The original search entry text
may be modified.
&lt;/warning&gt;</doc>
      <source-position filename="gtksourceview/gtksourceutils.h" line="37"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceutils.c"
             line="156">the escaped @text.</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="text" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceutils.c"
               line="137">the text to escape.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="utils_unescape_search_text"
              c:identifier="gtk_source_utils_unescape_search_text"
              version="3.10">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourceutils.c"
           line="43">Use this function before gtk_source_search_settings_set_search_text(), to
unescape the following sequences of characters: `\n`, `\r`, `\t` and `\\`.
The purpose is to easily write those characters in a search entry.

Note that unescaping the search text is not needed for regular expression
searches.

See also: gtk_source_utils_escape_search_text().</doc>
      <source-position filename="gtksourceview/gtksourceutils.h" line="34"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="gtksourceview/gtksourceutils.c"
             line="56">the unescaped @text.</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="text" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gtksourceview/gtksourceutils.c"
               line="45">the text to unescape.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <docsection name="view">
      <doc xml:space="preserve"
           filename="gtksourceview/gtksourceview.c"
           line="57">#GtkSourceView is the main class of the GtkSourceView library.
Use a #GtkSourceBuffer to display text with a #GtkSourceView.

This class provides:
 - Show the line numbers;
 - Show a right margin;
 - Highlight the current line;
 - Indentation settings;
 - Configuration for the Home and End keyboard keys;
 - Configure and show line marks;
 - And a few other things.

An easy way to test all these features is to use the test-widget mini-program
provided in the GtkSourceView repository, in the tests/ directory.

# GtkSourceView as GtkBuildable

The GtkSourceView implementation of the #GtkBuildable interface exposes the
#GtkSourceView:completion object with the internal-child "completion".

An example of a UI definition fragment with GtkSourceView:
|[
&lt;object class="GtkSourceView" id="source_view"&gt;
  &lt;property name="tab_width"&gt;4&lt;/property&gt;
  &lt;property name="auto_indent"&gt;True&lt;/property&gt;
  &lt;child internal-child="completion"&gt;
    &lt;object class="GtkSourceCompletion"&gt;
      &lt;property name="select_on_show"&gt;False&lt;/property&gt;
    &lt;/object&gt;
  &lt;/child&gt;
&lt;/object&gt;
]|

# Changing the Font

Gtk CSS provides the best way to change the font for a #GtkSourceView in a
manner that allows for components like #GtkSourceMap to scale the desired
font.

|[
  GtkCssProvider *provider = gtk_css_provider_new ();
  gtk_css_provider_load_from_data (provider,
                                   "textview { font-family: Monospace; font-size: 8pt; }",
                                   -1,
                                   NULL);
  gtk_style_context_add_provider (gtk_widget_get_style_context (view),
                                  GTK_STYLE_PROVIDER (provider),
                                  GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
  g_object_unref (provider);
]|

If you need to adjust the font or size of font within a portion of the
document only, you should use a #GtkTextTag with the #GtkTextTag:family or
#GtkTextTag:scale set so that the font size may be scaled relative to
the default font set in CSS.</doc>
    </docsection>
  </namespace>
</repository>
