~ubuntu-branches/ubuntu/precise/gtksourceview2/precise-proposed

« back to all changes in this revision

Viewing changes to docs/reference/html/GtkSourceBuffer.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2010-05-31 10:35:27 UTC
  • mfrom: (1.4.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 40.
  • Revision ID: james.westby@ubuntu.com-20100531103527-3l3pn56d32uq9qna
New upstream bugfix release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="rn01.html" title="API reference">
9
9
<link rel="prev" href="rn01.html" title="API reference">
10
10
<link rel="next" href="GtkSourceCompletion.html" title="GtkSourceCompletion">
11
 
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
48
48
 
49
49
                    <a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer-struct" title="GtkSourceBuffer">GtkSourceBuffer</a>;
50
50
                    <a class="link" href="GtkSourceBuffer.html#GtkSourceBufferClass" title="GtkSourceBufferClass">GtkSourceBufferClass</a>;
51
 
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *   <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-new" title="gtk_source_buffer_new ()">gtk_source_buffer_new</a>               (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkTextTagTable.html"><span class="type">GtkTextTagTable</span></a> *table</code></em>);
 
51
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *   <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-new" title="gtk_source_buffer_new ()">gtk_source_buffer_new</a>               (<em class="parameter"><code><span class="type">GtkTextTagTable</span> *table</code></em>);
52
52
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *   <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-new-with-language" title="gtk_source_buffer_new_with_language ()">gtk_source_buffer_new_with_language</a> (<em class="parameter"><code><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *language</code></em>);
53
53
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-highlight-syntax" title="gtk_source_buffer_set_highlight_syntax ()">gtk_source_buffer_set_highlight_syntax</a>
54
54
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
55
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> highlight</code></em>);
56
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-highlight-syntax" title="gtk_source_buffer_get_highlight_syntax ()">gtk_source_buffer_get_highlight_syntax</a>
 
55
                                                         <em class="parameter"><code><span class="type">gboolean</span> highlight</code></em>);
 
56
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-highlight-syntax" title="gtk_source_buffer_get_highlight_syntax ()">gtk_source_buffer_get_highlight_syntax</a>
57
57
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
58
58
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-language" title="gtk_source_buffer_set_language ()">gtk_source_buffer_set_language</a>      (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
59
59
                                                         <em class="parameter"><code><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *language</code></em>);
60
60
<a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="returnvalue">GtkSourceLanguage</span></a> * <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-language" title="gtk_source_buffer_get_language ()">gtk_source_buffer_get_language</a>      (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
61
61
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-highlight-matching-brackets" title="gtk_source_buffer_set_highlight_matching_brackets ()">gtk_source_buffer_set_highlight_matching_brackets</a>
62
62
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
63
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> highlight</code></em>);
64
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-highlight-matching-brackets" title="gtk_source_buffer_get_highlight_matching_brackets ()">gtk_source_buffer_get_highlight_matching_brackets</a>
 
63
                                                         <em class="parameter"><code><span class="type">gboolean</span> highlight</code></em>);
 
64
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-highlight-matching-brackets" title="gtk_source_buffer_get_highlight_matching_brackets ()">gtk_source_buffer_get_highlight_matching_brackets</a>
65
65
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
66
66
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-style-scheme" title="gtk_source_buffer_set_style_scheme ()">gtk_source_buffer_set_style_scheme</a>  (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
67
67
                                                         <em class="parameter"><code><a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> *scheme</code></em>);
68
68
<a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="returnvalue">GtkSourceStyleScheme</span></a> * <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-style-scheme" title="gtk_source_buffer_get_style_scheme ()">gtk_source_buffer_get_style_scheme</a>
69
69
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
70
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-max-undo-levels" title="gtk_source_buffer_get_max_undo_levels ()">gtk_source_buffer_get_max_undo_levels</a>
 
70
<span class="returnvalue">gint</span>                <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-max-undo-levels" title="gtk_source_buffer_get_max_undo_levels ()">gtk_source_buffer_get_max_undo_levels</a>
71
71
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
72
72
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-max-undo-levels" title="gtk_source_buffer_set_max_undo_levels ()">gtk_source_buffer_set_max_undo_levels</a>
73
73
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
74
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_undo_levels</code></em>);
 
74
                                                         <em class="parameter"><code><span class="type">gint</span> max_undo_levels</code></em>);
75
75
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-redo" title="gtk_source_buffer_redo ()">gtk_source_buffer_redo</a>              (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
76
76
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-undo" title="gtk_source_buffer_undo ()">gtk_source_buffer_undo</a>              (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
77
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-can-redo" title="gtk_source_buffer_can_redo ()">gtk_source_buffer_can_redo</a>          (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
78
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-can-undo" title="gtk_source_buffer_can_undo ()">gtk_source_buffer_can_undo</a>          (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
 
77
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-can-redo" title="gtk_source_buffer_can_redo ()">gtk_source_buffer_can_redo</a>          (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
 
78
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-can-undo" title="gtk_source_buffer_can_undo ()">gtk_source_buffer_can_undo</a>          (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
79
79
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-begin-not-undoable-action" title="gtk_source_buffer_begin_not_undoable_action ()">gtk_source_buffer_begin_not_undoable_action</a>
80
80
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
81
81
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-end-not-undoable-action" title="gtk_source_buffer_end_not_undoable_action ()">gtk_source_buffer_end_not_undoable_action</a>
82
82
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
83
83
<a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="returnvalue">GtkSourceMark</span></a> *     <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-create-source-mark" title="gtk_source_buffer_create_source_mark ()">gtk_source_buffer_create_source_mark</a>
84
84
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
85
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
86
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
87
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a> *where</code></em>);
88
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *            <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-source-marks-at-line" title="gtk_source_buffer_get_source_marks_at_line ()">gtk_source_buffer_get_source_marks_at_line</a>
89
 
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
90
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> line</code></em>,
91
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);
92
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *            <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-source-marks-at-iter" title="gtk_source_buffer_get_source_marks_at_iter ()">gtk_source_buffer_get_source_marks_at_iter</a>
93
 
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
94
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a> *iter</code></em>,
95
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);
 
85
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
 
86
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>,
 
87
                                                         <em class="parameter"><code>const <span class="type">GtkTextIter</span> *where</code></em>);
 
88
<span class="returnvalue">GSList</span> *            <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-source-marks-at-line" title="gtk_source_buffer_get_source_marks_at_line ()">gtk_source_buffer_get_source_marks_at_line</a>
 
89
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
 
90
                                                         <em class="parameter"><code><span class="type">gint</span> line</code></em>,
 
91
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);
 
92
<span class="returnvalue">GSList</span> *            <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-get-source-marks-at-iter" title="gtk_source_buffer_get_source_marks_at_iter ()">gtk_source_buffer_get_source_marks_at_iter</a>
 
93
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
 
94
                                                         <em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>,
 
95
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);
96
96
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-remove-source-marks" title="gtk_source_buffer_remove_source_marks ()">gtk_source_buffer_remove_source_marks</a>
97
97
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
98
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a> *start</code></em>,
99
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a> *end</code></em>,
100
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);
101
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-forward-iter-to-source-mark" title="gtk_source_buffer_forward_iter_to_source_mark ()">gtk_source_buffer_forward_iter_to_source_mark</a>
102
 
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
103
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a> *iter</code></em>,
104
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);
105
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-backward-iter-to-source-mark" title="gtk_source_buffer_backward_iter_to_source_mark ()">gtk_source_buffer_backward_iter_to_source_mark</a>
106
 
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
107
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a> *iter</code></em>,
108
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);
 
98
                                                         <em class="parameter"><code>const <span class="type">GtkTextIter</span> *start</code></em>,
 
99
                                                         <em class="parameter"><code>const <span class="type">GtkTextIter</span> *end</code></em>,
 
100
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);
 
101
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-forward-iter-to-source-mark" title="gtk_source_buffer_forward_iter_to_source_mark ()">gtk_source_buffer_forward_iter_to_source_mark</a>
 
102
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
 
103
                                                         <em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>,
 
104
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);
 
105
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-backward-iter-to-source-mark" title="gtk_source_buffer_backward_iter_to_source_mark ()">gtk_source_buffer_backward_iter_to_source_mark</a>
 
106
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
 
107
                                                         <em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>,
 
108
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);
109
109
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-ensure-highlight" title="gtk_source_buffer_ensure_highlight ()">gtk_source_buffer_ensure_highlight</a>  (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
110
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a> *start</code></em>,
111
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a> *end</code></em>);
 
110
                                                         <em class="parameter"><code>const <span class="type">GtkTextIter</span> *start</code></em>,
 
111
                                                         <em class="parameter"><code>const <span class="type">GtkTextIter</span> *end</code></em>);
112
112
</pre>
113
113
</div>
114
114
<div class="refsect1" title="Object Hierarchy">
115
115
<a name="GtkSourceBuffer.object-hierarchy"></a><h2>Object Hierarchy</h2>
116
116
<pre class="synopsis">
117
 
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
118
 
   +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkTextBuffer.html">GtkTextBuffer</a>
 
117
  GObject
 
118
   +----GtkTextBuffer
119
119
         +----GtkSourceBuffer
120
120
</pre>
121
121
</div>
122
122
<div class="refsect1" title="Properties">
123
123
<a name="GtkSourceBuffer.properties"></a><h2>Properties</h2>
124
124
<pre class="synopsis">
125
 
  "<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--can-redo" title='The "can-redo" property'>can-redo</a>"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read
126
 
  "<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--can-undo" title='The "can-undo" property'>can-undo</a>"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read
127
 
  "<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--highlight-matching-brackets" title='The "highlight-matching-brackets" property'>highlight-matching-brackets</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
128
 
  "<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--highlight-syntax" title='The "highlight-syntax" property'>highlight-syntax</a>"         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
 
125
  "<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--can-redo" title='The "can-redo" property'>can-redo</a>"                 <span class="type">gboolean</span>              : Read
 
126
  "<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--can-undo" title='The "can-undo" property'>can-undo</a>"                 <span class="type">gboolean</span>              : Read
 
127
  "<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--highlight-matching-brackets" title='The "highlight-matching-brackets" property'>highlight-matching-brackets</a>" <span class="type">gboolean</span>              : Read / Write
 
128
  "<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--highlight-syntax" title='The "highlight-syntax" property'>highlight-syntax</a>"         <span class="type">gboolean</span>              : Read / Write
129
129
  "<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--language" title='The "language" property'>language</a>"                 <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a>*    : Read / Write
130
 
  "<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--max-undo-levels" title='The "max-undo-levels" property'>max-undo-levels</a>"          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
 
130
  "<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--max-undo-levels" title='The "max-undo-levels" property'>max-undo-levels</a>"          <span class="type">gint</span>                  : Read / Write
131
131
  "<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--style-scheme" title='The "style-scheme" property'>style-scheme</a>"             <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a>*  : Read / Write
132
132
  "<a class="link" href="GtkSourceBuffer.html#GtkSourceBuffer--undo-manager" title='The "undo-manager" property'>undo-manager</a>"             <a class="link" href="GtkSourceUndoManager.html" title="GtkSourceUndoManager"><span class="type">GtkSourceUndoManager</span></a>*  : Read / Write / Construct
133
133
</pre>
145
145
<a name="GtkSourceBuffer.description"></a><h2>Description</h2>
146
146
<p>
147
147
The <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> object is the model for <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> widgets.
148
 
It extends the <a href="http://library.gnome.org/devel/gtk/unstable/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a> object by adding features useful to display
 
148
It extends the <span class="type">GtkTextBuffer</span> object by adding features useful to display
149
149
and edit source code as syntax highlighting and bracket matching. It
150
150
also implements support for undo/redo operations.
151
151
</p>
186
186
<hr>
187
187
<div class="refsect2" title="gtk_source_buffer_new ()">
188
188
<a name="gtk-source-buffer-new"></a><h3>gtk_source_buffer_new ()</h3>
189
 
<pre class="programlisting"><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *   gtk_source_buffer_new               (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkTextTagTable.html"><span class="type">GtkTextTagTable</span></a> *table</code></em>);</pre>
 
189
<pre class="programlisting"><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *   gtk_source_buffer_new               (<em class="parameter"><code><span class="type">GtkTextTagTable</span> *table</code></em>);</pre>
190
190
<p>
191
191
Creates a new source buffer.
192
192
</p>
195
195
<tbody>
196
196
<tr>
197
197
<td><p><span class="term"><em class="parameter"><code>table</code></em> :</span></p></td>
198
 
<td>a <a href="http://library.gnome.org/devel/gtk/unstable/GtkTextTagTable.html"><span class="type">GtkTextTagTable</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to create a new one.
 
198
<td>a <span class="type">GtkTextTagTable</span>, or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to create a new one.
199
199
</td>
200
200
</tr>
201
201
<tr>
237
237
<a name="gtk-source-buffer-set-highlight-syntax"></a><h3>gtk_source_buffer_set_highlight_syntax ()</h3>
238
238
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_buffer_set_highlight_syntax
239
239
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
240
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> highlight</code></em>);</pre>
 
240
                                                         <em class="parameter"><code><span class="type">gboolean</span> highlight</code></em>);</pre>
241
241
<p>
242
242
Controls whether syntax is highlighted in the buffer. If <em class="parameter"><code>highlight</code></em>
243
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the text will be highlighted according to the syntax
 
243
is <code class="literal">TRUE</code>, the text will be highlighted according to the syntax
244
244
patterns specified in the language set with
245
 
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-language" title="gtk_source_buffer_set_language ()"><code class="function">gtk_source_buffer_set_language()</code></a>. If <em class="parameter"><code>highlight</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, syntax highlighting
 
245
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-language" title="gtk_source_buffer_set_language ()"><code class="function">gtk_source_buffer_set_language()</code></a>. If <em class="parameter"><code>highlight</code></em> is <code class="literal">FALSE</code>, syntax highlighting
246
246
is disabled and all the GtkTextTag objects that have been added by the
247
247
syntax highlighting engine are removed from the buffer.
248
248
</p>
257
257
<tr>
258
258
<td><p><span class="term"><em class="parameter"><code>highlight</code></em> :</span></p></td>
259
259
<td>
260
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to enable syntax highlighting, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to disable it.
 
260
<code class="literal">TRUE</code> to enable syntax highlighting, <code class="literal">FALSE</code> to disable it.
261
261
</td>
262
262
</tr>
263
263
</tbody>
266
266
<hr>
267
267
<div class="refsect2" title="gtk_source_buffer_get_highlight_syntax ()">
268
268
<a name="gtk-source-buffer-get-highlight-syntax"></a><h3>gtk_source_buffer_get_highlight_syntax ()</h3>
269
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_source_buffer_get_highlight_syntax
 
269
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_source_buffer_get_highlight_syntax
270
270
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
271
271
<p>
272
272
Determines whether syntax highlighting is activated in the source
282
282
</tr>
283
283
<tr>
284
284
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
285
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if syntax highlighting is enabled, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
 
285
<td> <code class="literal">TRUE</code> if syntax highlighting is enabled, <code class="literal">FALSE</code> otherwise.
286
286
</td>
287
287
</tr>
288
288
</tbody>
295
295
                                                         <em class="parameter"><code><a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> *language</code></em>);</pre>
296
296
<p>
297
297
Associate a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> with the source buffer. If <em class="parameter"><code>language</code></em> is
298
 
not-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> and syntax highlighting is enabled (see <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-highlight-syntax" title="gtk_source_buffer_set_highlight_syntax ()"><code class="function">gtk_source_buffer_set_highlight_syntax()</code></a>),
 
298
not-<a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> and syntax highlighting is enabled (see <a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-highlight-syntax" title="gtk_source_buffer_set_highlight_syntax ()"><code class="function">gtk_source_buffer_set_highlight_syntax()</code></a>),
299
299
the syntax patterns defined in <em class="parameter"><code>language</code></em> will be used to highlight the text
300
 
contained in the buffer. If <em class="parameter"><code>language</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the text contained in the
 
300
contained in the buffer. If <em class="parameter"><code>language</code></em> is <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, the text contained in the
301
301
buffer is not highlighted.
302
302
</p>
303
303
<p>
313
313
</tr>
314
314
<tr>
315
315
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
316
 
<td>a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> to set, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
316
<td>a <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> to set, or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.
317
317
</td>
318
318
</tr>
319
319
</tbody>
338
338
</tr>
339
339
<tr>
340
340
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
341
 
<td> <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> associated with the buffer, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
341
<td> <a class="link" href="GtkSourceLanguage.html" title="GtkSourceLanguage"><span class="type">GtkSourceLanguage</span></a> associated with the buffer, or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.
342
342
</td>
343
343
</tr>
344
344
</tbody>
349
349
<a name="gtk-source-buffer-set-highlight-matching-brackets"></a><h3>gtk_source_buffer_set_highlight_matching_brackets ()</h3>
350
350
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_buffer_set_highlight_matching_brackets
351
351
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
352
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> highlight</code></em>);</pre>
 
352
                                                         <em class="parameter"><code><span class="type">gboolean</span> highlight</code></em>);</pre>
353
353
<p>
354
354
Controls the bracket match highlighting function in the buffer.  If
355
355
activated, when you position your cursor over a bracket character
369
369
<tr>
370
370
<td><p><span class="term"><em class="parameter"><code>highlight</code></em> :</span></p></td>
371
371
<td>
372
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if you want matching brackets highlighted.
 
372
<code class="literal">TRUE</code> if you want matching brackets highlighted.
373
373
</td>
374
374
</tr>
375
375
</tbody>
378
378
<hr>
379
379
<div class="refsect2" title="gtk_source_buffer_get_highlight_matching_brackets ()">
380
380
<a name="gtk-source-buffer-get-highlight-matching-brackets"></a><h3>gtk_source_buffer_get_highlight_matching_brackets ()</h3>
381
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_source_buffer_get_highlight_matching_brackets
 
381
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_source_buffer_get_highlight_matching_brackets
382
382
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
383
383
<p>
384
384
Determines whether bracket match highlighting is activated for the
394
394
</tr>
395
395
<tr>
396
396
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
397
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the source buffer will highlight matching
 
397
<td> <code class="literal">TRUE</code> if the source buffer will highlight matching
398
398
brackets.
399
399
</td>
400
400
</tr>
407
407
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_buffer_set_style_scheme  (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
408
408
                                                         <em class="parameter"><code><a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> *scheme</code></em>);</pre>
409
409
<p>
410
 
Sets style scheme used by the buffer. If <em class="parameter"><code>scheme</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> no
 
410
Sets style scheme used by the buffer. If <em class="parameter"><code>scheme</code></em> is <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> no
411
411
style scheme is used.
412
412
</p>
413
413
<div class="variablelist"><table border="0">
445
445
<tr>
446
446
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
447
447
<td> the <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> set by
448
 
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-style-scheme" title="gtk_source_buffer_set_style_scheme ()"><code class="function">gtk_source_buffer_set_style_scheme()</code></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
448
<a class="link" href="GtkSourceBuffer.html#gtk-source-buffer-set-style-scheme" title="gtk_source_buffer_set_style_scheme ()"><code class="function">gtk_source_buffer_set_style_scheme()</code></a>, or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.
449
449
</td>
450
450
</tr>
451
451
</tbody>
454
454
<hr>
455
455
<div class="refsect2" title="gtk_source_buffer_get_max_undo_levels ()">
456
456
<a name="gtk-source-buffer-get-max-undo-levels"></a><h3>gtk_source_buffer_get_max_undo_levels ()</h3>
457
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_source_buffer_get_max_undo_levels
 
457
<pre class="programlisting"><span class="returnvalue">gint</span>                gtk_source_buffer_get_max_undo_levels
458
458
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
459
459
<p>
460
460
Determines the number of undo levels the buffer will track for
482
482
<a name="gtk-source-buffer-set-max-undo-levels"></a><h3>gtk_source_buffer_set_max_undo_levels ()</h3>
483
483
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_buffer_set_max_undo_levels
484
484
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
485
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_undo_levels</code></em>);</pre>
 
485
                                                         <em class="parameter"><code><span class="type">gint</span> max_undo_levels</code></em>);</pre>
486
486
<p>
487
487
Sets the number of undo levels for user actions the buffer will
488
488
track.  If the number of user actions exceeds the limit set by this
493
493
</p>
494
494
<p>
495
495
A new action is started whenever the function
496
 
<a href="http://library.gnome.org/devel/gtk/unstable/GtkTextBuffer.html#gtk-text-buffer-begin-user-action"><code class="function">gtk_text_buffer_begin_user_action()</code></a> is called.  In general, this
 
496
<code class="function">gtk_text_buffer_begin_user_action()</code> is called.  In general, this
497
497
happens whenever the user presses any key which modifies the
498
498
buffer, but the undo manager will try to merge similar consecutive
499
499
actions, such as multiple character insertions into one action.
543
543
</p>
544
544
<p>
545
545
Actions are defined as groups of operations between a call to
546
 
<a href="http://library.gnome.org/devel/gtk/unstable/GtkTextBuffer.html#gtk-text-buffer-begin-user-action"><code class="function">gtk_text_buffer_begin_user_action()</code></a> and
547
 
<a href="http://library.gnome.org/devel/gtk/unstable/GtkTextBuffer.html#gtk-text-buffer-end-user-action"><code class="function">gtk_text_buffer_end_user_action()</code></a>, or sequences of similar edits
 
546
<code class="function">gtk_text_buffer_begin_user_action()</code> and
 
547
<code class="function">gtk_text_buffer_end_user_action()</code>, or sequences of similar edits
548
548
(inserts or deletes) on the same line.
549
549
</p>
550
550
<div class="variablelist"><table border="0">
559
559
<hr>
560
560
<div class="refsect2" title="gtk_source_buffer_can_redo ()">
561
561
<a name="gtk-source-buffer-can-redo"></a><h3>gtk_source_buffer_can_redo ()</h3>
562
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_source_buffer_can_redo          (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
 
562
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_source_buffer_can_redo          (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
563
563
<p>
564
564
Determines whether a source buffer can redo the last action
565
565
(i.e. if the last operation was an undo).
574
574
</tr>
575
575
<tr>
576
576
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
577
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a redo is possible.
 
577
<td> <code class="literal">TRUE</code> if a redo is possible.
578
578
</td>
579
579
</tr>
580
580
</tbody>
583
583
<hr>
584
584
<div class="refsect2" title="gtk_source_buffer_can_undo ()">
585
585
<a name="gtk-source-buffer-can-undo"></a><h3>gtk_source_buffer_can_undo ()</h3>
586
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_source_buffer_can_undo          (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
 
586
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_source_buffer_can_undo          (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
587
587
<p>
588
588
Determines whether a source buffer can undo the last action.
589
589
</p>
597
597
</tr>
598
598
<tr>
599
599
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
600
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if it's possible to undo the last action.
 
600
<td> <code class="literal">TRUE</code> if it's possible to undo the last action.
601
601
</td>
602
602
</tr>
603
603
</tbody>
652
652
<a name="gtk-source-buffer-create-source-mark"></a><h3>gtk_source_buffer_create_source_mark ()</h3>
653
653
<pre class="programlisting"><a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="returnvalue">GtkSourceMark</span></a> *     gtk_source_buffer_create_source_mark
654
654
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
655
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
656
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
657
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a> *where</code></em>);</pre>
 
655
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
 
656
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>,
 
657
                                                         <em class="parameter"><code>const <span class="type">GtkTextIter</span> *where</code></em>);</pre>
658
658
<p>
659
659
Creates a source mark in the <em class="parameter"><code>buffer</code></em> of category <em class="parameter"><code>category</code></em>.  A source mark is
660
 
a <a href="http://library.gnome.org/devel/gtk/unstable/GtkTextMark.html"><span class="type">GtkTextMark</span></a> but organised into categories. Depending on the category
 
660
a <span class="type">GtkTextMark</span> but organised into categories. Depending on the category
661
661
a pixbuf can be specified that will be displayed along the line of the mark.
662
662
</p>
663
663
<p>
664
 
Like a <a href="http://library.gnome.org/devel/gtk/unstable/GtkTextMark.html"><span class="type">GtkTextMark</span></a>, a <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> can be anonymous if the
665
 
passed <em class="parameter"><code>name</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.  Also, the buffer owns the marks so you
 
664
Like a <span class="type">GtkTextMark</span>, a <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> can be anonymous if the
 
665
passed <em class="parameter"><code>name</code></em> is <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.  Also, the buffer owns the marks so you
666
666
shouldn't unreference it.
667
667
</p>
668
668
<p>
683
683
</tr>
684
684
<tr>
685
685
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
686
 
<td>the name of the mark, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
686
<td>the name of the mark, or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.
687
687
</td>
688
688
</tr>
689
689
<tr>
709
709
<hr>
710
710
<div class="refsect2" title="gtk_source_buffer_get_source_marks_at_line ()">
711
711
<a name="gtk-source-buffer-get-source-marks-at-line"></a><h3>gtk_source_buffer_get_source_marks_at_line ()</h3>
712
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *            gtk_source_buffer_get_source_marks_at_line
 
712
<pre class="programlisting"><span class="returnvalue">GSList</span> *            gtk_source_buffer_get_source_marks_at_line
713
713
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
714
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> line</code></em>,
715
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
 
714
                                                         <em class="parameter"><code><span class="type">gint</span> line</code></em>,
 
715
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);</pre>
716
716
<p>
717
717
Returns the list of marks of the given category at <em class="parameter"><code>line</code></em>.
718
718
If <em class="parameter"><code>category</code></em> is NULL, all marks at <em class="parameter"><code>line</code></em> are returned.
732
732
</tr>
733
733
<tr>
734
734
<td><p><span class="term"><em class="parameter"><code>category</code></em> :</span></p></td>
735
 
<td>category to search for or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
735
<td>category to search for or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
736
736
</td>
737
737
</tr>
738
738
<tr>
739
739
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
740
 
<td> a newly allocated <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>.
 
740
<td> a newly allocated <span class="type">GSList</span>.
741
741
 
742
742
</td>
743
743
</tr>
748
748
<hr>
749
749
<div class="refsect2" title="gtk_source_buffer_get_source_marks_at_iter ()">
750
750
<a name="gtk-source-buffer-get-source-marks-at-iter"></a><h3>gtk_source_buffer_get_source_marks_at_iter ()</h3>
751
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *            gtk_source_buffer_get_source_marks_at_iter
 
751
<pre class="programlisting"><span class="returnvalue">GSList</span> *            gtk_source_buffer_get_source_marks_at_iter
752
752
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
753
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a> *iter</code></em>,
754
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
 
753
                                                         <em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>,
 
754
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);</pre>
755
755
<p>
756
756
Returns the list of marks of the given category at <em class="parameter"><code>iter</code></em>. If <em class="parameter"><code>category</code></em>
757
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> it returns all marks at <em class="parameter"><code>iter</code></em>.
 
757
is <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> it returns all marks at <em class="parameter"><code>iter</code></em>.
758
758
</p>
759
759
<div class="variablelist"><table border="0">
760
760
<col align="left" valign="top">
771
771
</tr>
772
772
<tr>
773
773
<td><p><span class="term"><em class="parameter"><code>category</code></em> :</span></p></td>
774
 
<td>category to search for or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
774
<td>category to search for or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
775
775
</td>
776
776
</tr>
777
777
<tr>
778
778
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
779
 
<td> a newly allocated <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>.
 
779
<td> a newly allocated <span class="type">GSList</span>.
780
780
 
781
781
</td>
782
782
</tr>
789
789
<a name="gtk-source-buffer-remove-source-marks"></a><h3>gtk_source_buffer_remove_source_marks ()</h3>
790
790
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_buffer_remove_source_marks
791
791
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
792
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a> *start</code></em>,
793
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a> *end</code></em>,
794
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
 
792
                                                         <em class="parameter"><code>const <span class="type">GtkTextIter</span> *start</code></em>,
 
793
                                                         <em class="parameter"><code>const <span class="type">GtkTextIter</span> *end</code></em>,
 
794
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);</pre>
795
795
<p>
796
796
Remove all marks of <em class="parameter"><code>category</code></em> between <em class="parameter"><code>start</code></em> and <em class="parameter"><code>end</code></em> from the buffer.
797
797
If <em class="parameter"><code>category</code></em> is NULL, all marks in the range will be removed.
806
806
</tr>
807
807
<tr>
808
808
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
809
 
<td>a <a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a>
 
809
<td>a <span class="type">GtkTextIter</span>
810
810
</td>
811
811
</tr>
812
812
<tr>
813
813
<td><p><span class="term"><em class="parameter"><code>end</code></em> :</span></p></td>
814
 
<td>a <a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a>
 
814
<td>a <span class="type">GtkTextIter</span>
815
815
</td>
816
816
</tr>
817
817
<tr>
826
826
<hr>
827
827
<div class="refsect2" title="gtk_source_buffer_forward_iter_to_source_mark ()">
828
828
<a name="gtk-source-buffer-forward-iter-to-source-mark"></a><h3>gtk_source_buffer_forward_iter_to_source_mark ()</h3>
829
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_source_buffer_forward_iter_to_source_mark
 
829
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_source_buffer_forward_iter_to_source_mark
830
830
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
831
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a> *iter</code></em>,
832
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
 
831
                                                         <em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>,
 
832
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);</pre>
833
833
<p>
834
834
Moves <em class="parameter"><code>iter</code></em> to the position of the next <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> of the given
835
 
<em class="parameter"><code>category</code></em>. Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if <em class="parameter"><code>iter</code></em> was moved. If <em class="parameter"><code>category</code></em> is NULL, the
 
835
<em class="parameter"><code>category</code></em>. Returns <span class="type">TRUE</span> if <em class="parameter"><code>iter</code></em> was moved. If <em class="parameter"><code>category</code></em> is NULL, the
836
836
next source mark can be of any category.
837
837
</p>
838
838
<div class="variablelist"><table border="0">
850
850
</tr>
851
851
<tr>
852
852
<td><p><span class="term"><em class="parameter"><code>category</code></em> :</span></p></td>
853
 
<td>category to search for or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
853
<td>category to search for or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
854
854
</td>
855
855
</tr>
856
856
<tr>
866
866
<hr>
867
867
<div class="refsect2" title="gtk_source_buffer_backward_iter_to_source_mark ()">
868
868
<a name="gtk-source-buffer-backward-iter-to-source-mark"></a><h3>gtk_source_buffer_backward_iter_to_source_mark ()</h3>
869
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_source_buffer_backward_iter_to_source_mark
 
869
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_source_buffer_backward_iter_to_source_mark
870
870
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
871
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a> *iter</code></em>,
872
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
 
871
                                                         <em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>,
 
872
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);</pre>
873
873
<p>
874
874
Moves <em class="parameter"><code>iter</code></em> to the position of the previous <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> of the given
875
 
category. Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if <em class="parameter"><code>iter</code></em> was moved. If <em class="parameter"><code>category</code></em> is NULL, the
 
875
category. Returns <span class="type">TRUE</span> if <em class="parameter"><code>iter</code></em> was moved. If <em class="parameter"><code>category</code></em> is NULL, the
876
876
previous source mark can be of any category.
877
877
</p>
878
878
<div class="variablelist"><table border="0">
890
890
</tr>
891
891
<tr>
892
892
<td><p><span class="term"><em class="parameter"><code>category</code></em> :</span></p></td>
893
 
<td>category to search for or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
893
<td>category to search for or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
894
894
</td>
895
895
</tr>
896
896
<tr>
907
907
<div class="refsect2" title="gtk_source_buffer_ensure_highlight ()">
908
908
<a name="gtk-source-buffer-ensure-highlight"></a><h3>gtk_source_buffer_ensure_highlight ()</h3>
909
909
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_buffer_ensure_highlight  (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>,
910
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a> *start</code></em>,
911
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
 
910
                                                         <em class="parameter"><code>const <span class="type">GtkTextIter</span> *start</code></em>,
 
911
                                                         <em class="parameter"><code>const <span class="type">GtkTextIter</span> *end</code></em>);</pre>
912
912
<p>
913
913
Forces buffer to analyze and highlight the given area synchronously.
914
914
</p>
950
950
<a name="GtkSourceBuffer.property-details"></a><h2>Property Details</h2>
951
951
<div class="refsect2" title='The "can-redo" property'>
952
952
<a name="GtkSourceBuffer--can-redo"></a><h3>The <code class="literal">"can-redo"</code> property</h3>
953
 
<pre class="programlisting">  "can-redo"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read</pre>
 
953
<pre class="programlisting">  "can-redo"                 <span class="type">gboolean</span>              : Read</pre>
954
954
<p>Whether Redo operation is possible.</p>
955
955
<p>Default value: FALSE</p>
956
956
</div>
957
957
<hr>
958
958
<div class="refsect2" title='The "can-undo" property'>
959
959
<a name="GtkSourceBuffer--can-undo"></a><h3>The <code class="literal">"can-undo"</code> property</h3>
960
 
<pre class="programlisting">  "can-undo"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read</pre>
 
960
<pre class="programlisting">  "can-undo"                 <span class="type">gboolean</span>              : Read</pre>
961
961
<p>Whether Undo operation is possible.</p>
962
962
<p>Default value: FALSE</p>
963
963
</div>
964
964
<hr>
965
965
<div class="refsect2" title='The "highlight-matching-brackets" property'>
966
966
<a name="GtkSourceBuffer--highlight-matching-brackets"></a><h3>The <code class="literal">"highlight-matching-brackets"</code> property</h3>
967
 
<pre class="programlisting">  "highlight-matching-brackets" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
967
<pre class="programlisting">  "highlight-matching-brackets" <span class="type">gboolean</span>              : Read / Write</pre>
968
968
<p>
969
969
Whether to highlight matching brackets in the buffer.
970
970
</p>
973
973
<hr>
974
974
<div class="refsect2" title='The "highlight-syntax" property'>
975
975
<a name="GtkSourceBuffer--highlight-syntax"></a><h3>The <code class="literal">"highlight-syntax"</code> property</h3>
976
 
<pre class="programlisting">  "highlight-syntax"         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
976
<pre class="programlisting">  "highlight-syntax"         <span class="type">gboolean</span>              : Read / Write</pre>
977
977
<p>
978
978
Whether to highlight syntax in the buffer.
979
979
</p>
988
988
<hr>
989
989
<div class="refsect2" title='The "max-undo-levels" property'>
990
990
<a name="GtkSourceBuffer--max-undo-levels"></a><h3>The <code class="literal">"max-undo-levels"</code> property</h3>
991
 
<pre class="programlisting">  "max-undo-levels"          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
 
991
<pre class="programlisting">  "max-undo-levels"          <span class="type">gint</span>                  : Read / Write</pre>
992
992
<p>
993
993
Number of undo levels for the buffer. -1 means no limit. This property
994
994
will only affect the default undo manager.
1018
1018
<div class="refsect2" title='The "highlight-updated" signal'>
1019
1019
<a name="GtkSourceBuffer-highlight-updated"></a><h3>The <code class="literal">"highlight-updated"</code> signal</h3>
1020
1020
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *sourcebuffer,
1021
 
                                                        <a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a>     *arg1,
1022
 
                                                        <a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a>     *arg2,
1023
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>         user_data)         : Run Last</pre>
 
1021
                                                        <span class="type">GtkTextIter</span>     *arg1,
 
1022
                                                        <span class="type">GtkTextIter</span>     *arg2,
 
1023
                                                        <span class="type">gpointer</span>         user_data)         : Run Last</pre>
1024
1024
</div>
1025
1025
<hr>
1026
1026
<div class="refsect2" title='The "redo" signal'>
1027
1027
<a name="GtkSourceBuffer-redo"></a><h3>The <code class="literal">"redo"</code> signal</h3>
1028
1028
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *sourcebuffer,
1029
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>         user_data)         : Run Last</pre>
 
1029
                                                        <span class="type">gpointer</span>         user_data)         : Run Last</pre>
1030
1030
</div>
1031
1031
<hr>
1032
1032
<div class="refsect2" title='The "source-mark-updated" signal'>
1033
1033
<a name="GtkSourceBuffer-source-mark-updated"></a><h3>The <code class="literal">"source-mark-updated"</code> signal</h3>
1034
1034
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer,
1035
 
                                                        <a href="http://library.gnome.org/devel/gtk/unstable/GtkTextMark.html"><span class="type">GtkTextMark</span></a>     *arg1,
1036
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>         user_data)      : Run Last</pre>
 
1035
                                                        <span class="type">GtkTextMark</span>     *arg1,
 
1036
                                                        <span class="type">gpointer</span>         user_data)      : Run Last</pre>
1037
1037
<p>
1038
1038
The ::source_mark_updated signal is emitted each time
1039
1039
a mark is added to, moved or removed from the <em class="parameter"><code>buffer</code></em>.
1057
1057
<div class="refsect2" title='The "undo" signal'>
1058
1058
<a name="GtkSourceBuffer-undo"></a><h3>The <code class="literal">"undo"</code> signal</h3>
1059
1059
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *sourcebuffer,
1060
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>         user_data)         : Run Last</pre>
 
1060
                                                        <span class="type">gpointer</span>         user_data)         : Run Last</pre>
1061
1061
</div>
1062
1062
</div>
1063
1063
<div class="refsect1" title="See Also">
1064
1064
<a name="GtkSourceBuffer.see-also"></a><h2>See Also</h2>
1065
 
<a href="http://library.gnome.org/devel/gtk/unstable/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a>,<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>
 
1065
<span class="type">GtkTextBuffer</span>,<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>
1066
1066
</div>
1067
1067
</div>
1068
1068
<div class="footer">
1069
1069
<hr>
1070
 
          Generated by GTK-Doc V1.14</div>
 
1070
          Generated by GTK-Doc V1.15.1</div>
1071
1071
</body>
1072
1072
</html>
 
 
b'\\ No newline at end of file'