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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-04-28 15:09:35 UTC
  • mfrom: (1.1.40 upstream) (6.2.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100428150935-4hrru472bmm1ierx
Tags: 2.10.1-0ubuntu1
* New upstream version (lp: #571261):
  - Improvements to some of the lang files
  - Misc bugfixes
  - Updated translations

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="GtkSourceMark.html" title="GtkSourceMark">
10
10
<link rel="next" href="GtkSourceLanguage.html" title="GtkSourceLanguage">
11
 
<meta name="generator" content="GTK-Doc V1.13 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="reference" href="rn01.html" title="API reference">
14
 
<link rel="reference" href="rn02.html" title="Syntax highlighting reference">
15
13
</head>
16
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
17
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
52
50
 
53
51
                    <a class="link" href="GtkSourceView.html#GtkSourceView-struct" title="GtkSourceView">GtkSourceView</a>;
54
52
                    <a class="link" href="GtkSourceView.html#GtkSourceViewClass" title="GtkSourceViewClass">GtkSourceViewClass</a>;
55
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             (<a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()">*GtkSourceViewMarkTooltipFunc</a>)     (<a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="returnvalue">GtkSourceMark</span></a> *mark,
56
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data);
 
53
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             (<a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()">*GtkSourceViewMarkTooltipFunc</a>)     (<em class="parameter"><code><a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> *mark</code></em>,
 
54
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
57
55
enum                <a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType">GtkSourceSmartHomeEndType</a>;
58
56
enum                <a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags">GtkSourceDrawSpacesFlags</a>;
59
57
enum                <a class="link" href="GtkSourceView.html#GtkSourceViewGutterPosition" title="enum GtkSourceViewGutterPosition">GtkSourceViewGutterPosition</a>;
60
 
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkSourceView.html#gtk-source-view-new" title="gtk_source_view_new ()">gtk_source_view_new</a>                 (void);
61
 
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkSourceView.html#gtk-source-view-new-with-buffer" title="gtk_source_view_new_with_buffer ()">gtk_source_view_new_with_buffer</a>     (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *buffer);
62
 
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-auto-indent" title="gtk_source_view_set_auto_indent ()">gtk_source_view_set_auto_indent</a>     (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
63
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> enable);
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="GtkSourceView.html#gtk-source-view-get-auto-indent" title="gtk_source_view_get_auto_indent ()">gtk_source_view_get_auto_indent</a>     (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);
65
 
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-indent-on-tab" title="gtk_source_view_set_indent_on_tab ()">gtk_source_view_set_indent_on_tab</a>   (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
66
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> enable);
67
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-indent-on-tab" title="gtk_source_view_get_indent_on_tab ()">gtk_source_view_get_indent_on_tab</a>   (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);
68
 
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-indent-width" title="gtk_source_view_set_indent_width ()">gtk_source_view_set_indent_width</a>    (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
69
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> width);
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="GtkSourceView.html#gtk-source-view-get-indent-width" title="gtk_source_view_get_indent_width ()">gtk_source_view_get_indent_width</a>    (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);
 
58
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkSourceView.html#gtk-source-view-new" title="gtk_source_view_new ()">gtk_source_view_new</a>                 (<em class="parameter"><code><span class="type">void</span></code></em>);
 
59
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkSourceView.html#gtk-source-view-new-with-buffer" title="gtk_source_view_new_with_buffer ()">gtk_source_view_new_with_buffer</a>     (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
 
60
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-auto-indent" title="gtk_source_view_set_auto_indent ()">gtk_source_view_set_auto_indent</a>     (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
61
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);
 
62
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-auto-indent" title="gtk_source_view_get_auto_indent ()">gtk_source_view_get_auto_indent</a>     (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
 
63
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-indent-on-tab" title="gtk_source_view_set_indent_on_tab ()">gtk_source_view_set_indent_on_tab</a>   (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
64
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);
 
65
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-indent-on-tab" title="gtk_source_view_get_indent_on_tab ()">gtk_source_view_get_indent_on_tab</a>   (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
 
66
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-indent-width" title="gtk_source_view_set_indent_width ()">gtk_source_view_set_indent_width</a>    (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
67
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>);
 
68
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="GtkSourceView.html#gtk-source-view-get-indent-width" title="gtk_source_view_get_indent_width ()">gtk_source_view_get_indent_width</a>    (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
71
69
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-insert-spaces-instead-of-tabs" title="gtk_source_view_set_insert_spaces_instead_of_tabs ()">gtk_source_view_set_insert_spaces_instead_of_tabs</a>
72
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
73
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> enable);
 
70
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
71
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);
74
72
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-insert-spaces-instead-of-tabs" title="gtk_source_view_get_insert_spaces_instead_of_tabs ()">gtk_source_view_get_insert_spaces_instead_of_tabs</a>
75
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);
76
 
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-smart-home-end" title="gtk_source_view_set_smart_home_end ()">gtk_source_view_set_smart_home_end</a>  (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
77
 
                                                         <a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="returnvalue">GtkSourceSmartHomeEndType</span></a> smart_he);
 
73
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
 
74
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-smart-home-end" title="gtk_source_view_set_smart_home_end ()">gtk_source_view_set_smart_home_end</a>  (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
75
                                                         <em class="parameter"><code><a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a> smart_he</code></em>);
78
76
<a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="returnvalue">GtkSourceSmartHomeEndType</span></a>  <a class="link" href="GtkSourceView.html#gtk-source-view-get-smart-home-end" title="gtk_source_view_get_smart_home_end ()">gtk_source_view_get_smart_home_end</a>
79
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);
 
77
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
80
78
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-category-priority" title="gtk_source_view_set_mark_category_priority ()">gtk_source_view_set_mark_category_priority</a>
81
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
82
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *category,
83
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> priority);
 
79
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
80
                                                         <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>,
 
81
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>);
84
82
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="GtkSourceView.html#gtk-source-view-get-mark-category-priority" title="gtk_source_view_get_mark_category_priority ()">gtk_source_view_get_mark_category_priority</a>
85
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
86
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *category);
 
83
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
84
                                                         <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
85
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-category-pixbuf" title="gtk_source_view_set_mark_category_pixbuf ()">gtk_source_view_set_mark_category_pixbuf</a>
88
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
89
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *category,
90
 
                                                         <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *pixbuf);
 
86
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
87
                                                         <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>,
 
88
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);
91
89
<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *         <a class="link" href="GtkSourceView.html#gtk-source-view-get-mark-category-pixbuf" title="gtk_source_view_get_mark_category_pixbuf ()">gtk_source_view_get_mark_category_pixbuf</a>
92
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
93
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *category);
 
90
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</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>);
94
92
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-category-icon-from-pixbuf" title="gtk_source_view_set_mark_category_icon_from_pixbuf ()">gtk_source_view_set_mark_category_icon_from_pixbuf</a>
95
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
96
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *category,
97
 
                                                         <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *pixbuf);
 
93
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
94
                                                         <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>,
 
95
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);
98
96
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-category-icon-from-stock" title="gtk_source_view_set_mark_category_icon_from_stock ()">gtk_source_view_set_mark_category_icon_from_stock</a>
99
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
100
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *category,
101
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *stock_id);
 
97
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
98
                                                         <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>,
 
99
                                                         <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> *stock_id</code></em>);
102
100
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-category-icon-from-icon-name" title="gtk_source_view_set_mark_category_icon_from_icon_name ()">gtk_source_view_set_mark_category_icon_from_icon_name</a>
103
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
104
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *category,
105
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *name);
 
101
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
102
                                                         <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>,
 
103
                                                         <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>);
106
104
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-mark-category-background" title="gtk_source_view_get_mark_category_background ()">gtk_source_view_get_mark_category_background</a>
107
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
108
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *category,
109
 
                                                         <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="returnvalue">GdkColor</span></a> *dest);
 
105
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
106
                                                         <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>,
 
107
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *dest</code></em>);
110
108
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-category-background" title="gtk_source_view_set_mark_category_background ()">gtk_source_view_set_mark_category_background</a>
111
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
112
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *category,
113
 
                                                         const <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="returnvalue">GdkColor</span></a> *color);
 
109
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
110
                                                         <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>,
 
111
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);
114
112
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-category-tooltip-func" title="gtk_source_view_set_mark_category_tooltip_func ()">gtk_source_view_set_mark_category_tooltip_func</a>
115
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
116
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *category,
117
 
                                                         <a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()"><span class="returnvalue">GtkSourceViewMarkTooltipFunc</span></a> func,
118
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data,
119
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="returnvalue">GDestroyNotify</span></a> user_data_notify);
 
113
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
114
                                                         <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>,
 
115
                                                         <em class="parameter"><code><a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()"><span class="type">GtkSourceViewMarkTooltipFunc</span></a> func</code></em>,
 
116
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
117
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> user_data_notify</code></em>);
120
118
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-category-tooltip-markup-func" title="gtk_source_view_set_mark_category_tooltip_markup_func ()">gtk_source_view_set_mark_category_tooltip_markup_func</a>
121
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
122
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *category,
123
 
                                                         <a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()"><span class="returnvalue">GtkSourceViewMarkTooltipFunc</span></a> markup_func,
124
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data,
125
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="returnvalue">GDestroyNotify</span></a> user_data_notify);
 
119
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
120
                                                         <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>,
 
121
                                                         <em class="parameter"><code><a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()"><span class="type">GtkSourceViewMarkTooltipFunc</span></a> markup_func</code></em>,
 
122
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
123
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> user_data_notify</code></em>);
126
124
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-highlight-current-line" title="gtk_source_view_set_highlight_current_line ()">gtk_source_view_set_highlight_current_line</a>
127
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
128
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> show);
 
125
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
126
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);
129
127
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-highlight-current-line" title="gtk_source_view_get_highlight_current_line ()">gtk_source_view_get_highlight_current_line</a>
130
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);
131
 
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-show-line-marks" title="gtk_source_view_set_show_line_marks ()">gtk_source_view_set_show_line_marks</a> (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
132
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> show);
133
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-show-line-marks" title="gtk_source_view_get_show_line_marks ()">gtk_source_view_get_show_line_marks</a> (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);
 
128
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
 
129
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-show-line-marks" title="gtk_source_view_set_show_line_marks ()">gtk_source_view_set_show_line_marks</a> (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
130
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);
 
131
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-show-line-marks" title="gtk_source_view_get_show_line_marks ()">gtk_source_view_get_show_line_marks</a> (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
134
132
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-show-line-numbers" title="gtk_source_view_set_show_line_numbers ()">gtk_source_view_set_show_line_numbers</a>
135
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
136
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> show);
 
133
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
134
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);
137
135
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-show-line-numbers" title="gtk_source_view_get_show_line_numbers ()">gtk_source_view_get_show_line_numbers</a>
138
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);
 
136
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
139
137
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-show-right-margin" title="gtk_source_view_set_show_right_margin ()">gtk_source_view_set_show_right_margin</a>
140
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
141
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> show);
 
138
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
139
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);
142
140
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-show-right-margin" title="gtk_source_view_get_show_right_margin ()">gtk_source_view_get_show_right_margin</a>
143
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);
 
141
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
144
142
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-right-margin-position" title="gtk_source_view_set_right_margin_position ()">gtk_source_view_set_right_margin_position</a>
145
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
146
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> pos);
 
143
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
144
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> pos</code></em>);
147
145
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="GtkSourceView.html#gtk-source-view-get-right-margin-position" title="gtk_source_view_get_right_margin_position ()">gtk_source_view_get_right_margin_position</a>
148
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);
149
 
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-tab-width" title="gtk_source_view_set_tab_width ()">gtk_source_view_set_tab_width</a>       (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
150
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> width);
151
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="GtkSourceView.html#gtk-source-view-get-tab-width" title="gtk_source_view_get_tab_width ()">gtk_source_view_get_tab_width</a>       (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);
152
 
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-draw-spaces" title="gtk_source_view_set_draw_spaces ()">gtk_source_view_set_draw_spaces</a>     (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
153
 
                                                         <a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="returnvalue">GtkSourceDrawSpacesFlags</span></a> flags);
 
146
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
 
147
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-tab-width" title="gtk_source_view_set_tab_width ()">gtk_source_view_set_tab_width</a>       (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
148
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>);
 
149
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="GtkSourceView.html#gtk-source-view-get-tab-width" title="gtk_source_view_get_tab_width ()">gtk_source_view_get_tab_width</a>       (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
 
150
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-draw-spaces" title="gtk_source_view_set_draw_spaces ()">gtk_source_view_set_draw_spaces</a>     (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
151
                                                         <em class="parameter"><code><a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="type">GtkSourceDrawSpacesFlags</span></a> flags</code></em>);
154
152
<a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="returnvalue">GtkSourceDrawSpacesFlags</span></a>  <a class="link" href="GtkSourceView.html#gtk-source-view-get-draw-spaces" title="gtk_source_view_get_draw_spaces ()">gtk_source_view_get_draw_spaces</a>
155
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);
156
 
<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="returnvalue">GtkSourceCompletion</span></a> * <a class="link" href="GtkSourceView.html#gtk-source-view-get-completion" title="gtk_source_view_get_completion ()">gtk_source_view_get_completion</a>    (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);
157
 
<a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="returnvalue">GtkSourceGutter</span></a> *   <a class="link" href="GtkSourceView.html#gtk-source-view-get-gutter" title="gtk_source_view_get_gutter ()">gtk_source_view_get_gutter</a>          (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
158
 
                                                         <a href="http://library.gnome.org/devel/gtk/unstable/GtkTextView.html#GtkTextWindowType"><span class="returnvalue">GtkTextWindowType</span></a> window_type);
 
153
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
 
154
<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="returnvalue">GtkSourceCompletion</span></a> * <a class="link" href="GtkSourceView.html#gtk-source-view-get-completion" title="gtk_source_view_get_completion ()">gtk_source_view_get_completion</a>    (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
 
155
<a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="returnvalue">GtkSourceGutter</span></a> *   <a class="link" href="GtkSourceView.html#gtk-source-view-get-gutter" title="gtk_source_view_get_gutter ()">gtk_source_view_get_gutter</a>          (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
156
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> window_type</code></em>);
159
157
</pre>
160
158
</div>
161
159
<div class="refsect1" title="Object Hierarchy">
209
207
<p>
210
208
GtkSourceView is the main object of the gtksourceview library. It provides
211
209
a text view which syntax highlighting, undo/redo and text marks. Use a 
212
 
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> to display text with a GtkSourceView.</p>
 
210
<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> to display text with a GtkSourceView.
 
211
</p>
213
212
</div>
214
213
<div class="refsect1" title="Details">
215
214
<a name="GtkSourceView.details"></a><h2>Details</h2>
216
215
<div class="refsect2" title="GtkSourceView">
217
216
<a name="GtkSourceView-struct"></a><h3>GtkSourceView</h3>
218
217
<pre class="programlisting">typedef struct _GtkSourceView GtkSourceView;</pre>
219
 
<p>
220
 
</p>
221
218
</div>
222
219
<hr>
223
220
<div class="refsect2" title="GtkSourceViewClass">
239
236
        void (*_gtk_source_reserved1) (void);
240
237
} GtkSourceViewClass;
241
238
</pre>
242
 
<p>
243
 
</p>
244
239
</div>
245
240
<hr>
246
241
<div class="refsect2" title="GtkSourceViewMarkTooltipFunc ()">
247
242
<a name="GtkSourceViewMarkTooltipFunc"></a><h3>GtkSourceViewMarkTooltipFunc ()</h3>
248
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             (*GtkSourceViewMarkTooltipFunc)     (<a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="returnvalue">GtkSourceMark</span></a> *mark,
249
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data);</pre>
 
243
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             (*GtkSourceViewMarkTooltipFunc)     (<em class="parameter"><code><a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> *mark</code></em>,
 
244
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
250
245
<p>
251
 
Function type for setting up a tooltip for <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a>.</p>
 
246
Function type for setting up a tooltip for <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a>.
 
247
</p>
252
248
<div class="variablelist"><table border="0">
253
249
<col align="left" valign="top">
254
250
<tbody>
255
251
<tr>
256
252
<td><p><span class="term"><em class="parameter"><code>mark</code></em> :</span></p></td>
257
 
<td> the <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a>
 
253
<td>the <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a>
258
254
</td>
259
255
</tr>
260
256
<tr>
261
257
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
262
 
<td> user data pointer which was passed to <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-category-tooltip-func" title="gtk_source_view_set_mark_category_tooltip_func ()"><code class="function">gtk_source_view_set_mark_category_tooltip_func()</code></a>
 
258
<td>user data pointer which was passed to <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-category-tooltip-func" title="gtk_source_view_set_mark_category_tooltip_func ()"><code class="function">gtk_source_view_set_mark_category_tooltip_func()</code></a>
263
259
</td>
264
260
</tr>
265
261
<tr>
286
282
<tbody>
287
283
<tr>
288
284
<td><p><a name="GTK-SOURCE-SMART-HOME-END-DISABLED:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_SMART_HOME_END_DISABLED</code></span></p></td>
289
 
<td> smart-home-end disabled.
 
285
<td>smart-home-end disabled.
290
286
</td>
291
287
</tr>
292
288
<tr>
293
289
<td><p><a name="GTK-SOURCE-SMART-HOME-END-BEFORE:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_SMART_HOME_END_BEFORE</code></span></p></td>
294
 
<td> move to the first/last
 
290
<td>move to the first/last
295
291
non-whitespace character on the first press of the HOME/END keys and
296
292
to the beginning/end of the line on the second press.
297
293
</td>
298
294
</tr>
299
295
<tr>
300
296
<td><p><a name="GTK-SOURCE-SMART-HOME-END-AFTER:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_SMART_HOME_END_AFTER</code></span></p></td>
301
 
<td> move to the beginning/end of the
 
297
<td>move to the beginning/end of the
302
298
line on the first press of the HOME/END keys and to the first/last
303
299
non-whitespace character on the second press.
304
300
</td>
305
301
</tr>
306
302
<tr>
307
303
<td><p><a name="GTK-SOURCE-SMART-HOME-END-ALWAYS:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_SMART_HOME_END_ALWAYS</code></span></p></td>
308
 
<td> always move to the first/last
 
304
<td>always move to the first/last
309
305
non-whitespace character when the HOME/END keys are pressed.
310
306
</td>
311
307
</tr>
334
330
} GtkSourceDrawSpacesFlags;
335
331
</pre>
336
332
<p>
337
 
GtkSourceDrawSpacesFlags determine what kind of spaces whould be drawn.</p>
 
333
GtkSourceDrawSpacesFlags determine what kind of spaces whould be drawn.
 
334
</p>
338
335
<div class="variablelist"><table border="0">
339
336
<col align="left" valign="top">
340
337
<tbody>
341
338
<tr>
342
339
<td><p><a name="GTK-SOURCE-DRAW-SPACES-SPACE:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_DRAW_SPACES_SPACE</code></span></p></td>
343
 
<td> whether the space character should be drawn.
 
340
<td>whether the space character should be drawn.
344
341
</td>
345
342
</tr>
346
343
<tr>
347
344
<td><p><a name="GTK-SOURCE-DRAW-SPACES-TAB:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_DRAW_SPACES_TAB</code></span></p></td>
348
 
<td> whether the tab character should be drawn.
 
345
<td>whether the tab character should be drawn.
349
346
</td>
350
347
</tr>
351
348
<tr>
352
349
<td><p><a name="GTK-SOURCE-DRAW-SPACES-NEWLINE:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_DRAW_SPACES_NEWLINE</code></span></p></td>
353
 
<td> whether the line breaks should be drawn.
 
350
<td>whether the line breaks should be drawn.
354
351
</td>
355
352
</tr>
356
353
<tr>
357
354
<td><p><a name="GTK-SOURCE-DRAW-SPACES-NBSP:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_DRAW_SPACES_NBSP</code></span></p></td>
358
 
<td> whether the non-breaking whitespaces should be drawn.
 
355
<td>whether the non-breaking whitespaces should be drawn.
359
356
</td>
360
357
</tr>
361
358
<tr>
362
359
<td><p><a name="GTK-SOURCE-DRAW-SPACES-LEADING:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_DRAW_SPACES_LEADING</code></span></p></td>
363
 
<td>
364
 
</td>
 
360
<td></td>
365
361
</tr>
366
362
<tr>
367
363
<td><p><a name="GTK-SOURCE-DRAW-SPACES-TEXT:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_DRAW_SPACES_TEXT</code></span></p></td>
368
 
<td>
369
 
</td>
 
364
<td></td>
370
365
</tr>
371
366
<tr>
372
367
<td><p><a name="GTK-SOURCE-DRAW-SPACES-TRAILING:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_DRAW_SPACES_TRAILING</code></span></p></td>
373
 
<td>
374
 
</td>
 
368
<td></td>
375
369
</tr>
376
370
<tr>
377
371
<td><p><a name="GTK-SOURCE-DRAW-SPACES-ALL:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_DRAW_SPACES_ALL</code></span></p></td>
378
 
<td> wheter all kind of spaces should be drawn.
 
372
<td>wheter all kind of spaces should be drawn.
379
373
</td>
380
374
</tr>
381
375
</tbody>
395
389
<tbody>
396
390
<tr>
397
391
<td><p><a name="GTK-SOURCE-VIEW-GUTTER-POSITION-LINES:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_VIEW_GUTTER_POSITION_LINES</code></span></p></td>
398
 
<td> the gutter position of the lines
 
392
<td>the gutter position of the lines
399
393
renderer
400
394
</td>
401
395
</tr>
402
396
<tr>
403
397
<td><p><a name="GTK-SOURCE-VIEW-GUTTER-POSITION-MARKS:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_VIEW_GUTTER_POSITION_MARKS</code></span></p></td>
404
 
<td> the gutter position of the marks
 
398
<td>the gutter position of the marks
405
399
renderer
406
400
</td>
407
401
</tr>
411
405
<hr>
412
406
<div class="refsect2" title="gtk_source_view_new ()">
413
407
<a name="gtk-source-view-new"></a><h3>gtk_source_view_new ()</h3>
414
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         gtk_source_view_new                 (void);</pre>
 
408
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         gtk_source_view_new                 (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
415
409
<p>
416
410
Creates a new <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>. An empty default buffer will be
417
411
created for you. If you want to specify your own buffer, consider
418
 
<a class="link" href="GtkSourceView.html#gtk-source-view-new-with-buffer" title="gtk_source_view_new_with_buffer ()"><code class="function">gtk_source_view_new_with_buffer()</code></a>.</p>
 
412
<a class="link" href="GtkSourceView.html#gtk-source-view-new-with-buffer" title="gtk_source_view_new_with_buffer ()"><code class="function">gtk_source_view_new_with_buffer()</code></a>.
 
413
</p>
419
414
<div class="variablelist"><table border="0">
420
415
<col align="left" valign="top">
421
416
<tbody><tr>
428
423
<hr>
429
424
<div class="refsect2" title="gtk_source_view_new_with_buffer ()">
430
425
<a name="gtk-source-view-new-with-buffer"></a><h3>gtk_source_view_new_with_buffer ()</h3>
431
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         gtk_source_view_new_with_buffer     (<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="returnvalue">GtkSourceBuffer</span></a> *buffer);</pre>
 
426
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         gtk_source_view_new_with_buffer     (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
432
427
<p>
433
428
Creates a new <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> widget displaying the buffer
434
 
<em class="parameter"><code>buffer</code></em>. One buffer can be shared among many widgets.</p>
 
429
<em class="parameter"><code>buffer</code></em>. One buffer can be shared among many widgets.
 
430
</p>
435
431
<div class="variablelist"><table border="0">
436
432
<col align="left" valign="top">
437
433
<tbody>
438
434
<tr>
439
435
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
440
 
<td> a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.
 
436
<td>a <a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>.
441
437
</td>
442
438
</tr>
443
439
<tr>
451
447
<hr>
452
448
<div class="refsect2" title="gtk_source_view_set_auto_indent ()">
453
449
<a name="gtk-source-view-set-auto-indent"></a><h3>gtk_source_view_set_auto_indent ()</h3>
454
 
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_auto_indent     (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
455
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> enable);</pre>
 
450
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_auto_indent     (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
451
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);</pre>
456
452
<p>
457
 
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> auto indentation of text is enabled.</p>
 
453
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> auto indentation of text is enabled.
 
454
</p>
458
455
<div class="variablelist"><table border="0">
459
456
<col align="left" valign="top">
460
457
<tbody>
461
458
<tr>
462
459
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
463
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
460
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
464
461
</td>
465
462
</tr>
466
463
<tr>
467
464
<td><p><span class="term"><em class="parameter"><code>enable</code></em> :</span></p></td>
468
 
<td> whether to enable auto indentation.
 
465
<td>whether to enable auto indentation.
469
466
</td>
470
467
</tr>
471
468
</tbody>
474
471
<hr>
475
472
<div class="refsect2" title="gtk_source_view_get_auto_indent ()">
476
473
<a name="gtk-source-view-get-auto-indent"></a><h3>gtk_source_view_get_auto_indent ()</h3>
477
 
<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_view_get_auto_indent     (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);</pre>
 
474
<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_view_get_auto_indent     (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
478
475
<p>
479
 
Returns whether auto indentation of text is enabled.</p>
 
476
Returns whether auto indentation of text is enabled.
 
477
</p>
480
478
<div class="variablelist"><table border="0">
481
479
<col align="left" valign="top">
482
480
<tbody>
483
481
<tr>
484
482
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
485
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
483
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
486
484
</td>
487
485
</tr>
488
486
<tr>
496
494
<hr>
497
495
<div class="refsect2" title="gtk_source_view_set_indent_on_tab ()">
498
496
<a name="gtk-source-view-set-indent-on-tab"></a><h3>gtk_source_view_set_indent_on_tab ()</h3>
499
 
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_indent_on_tab   (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
500
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> enable);</pre>
 
497
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_indent_on_tab   (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
498
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);</pre>
501
499
<p>
502
500
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, when the tab key is pressed and there is a selection, the
503
501
selected text is indented of one level instead of being replaced with
504
 
the \t characters. Shift+Tab unindents the selection.</p>
 
502
the \t characters. Shift+Tab unindents the selection.
 
503
</p>
505
504
<div class="variablelist"><table border="0">
506
505
<col align="left" valign="top">
507
506
<tbody>
508
507
<tr>
509
508
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
510
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
509
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
511
510
</td>
512
511
</tr>
513
512
<tr>
514
513
<td><p><span class="term"><em class="parameter"><code>enable</code></em> :</span></p></td>
515
 
<td> whether to indent a block when tab is pressed.
 
514
<td>whether to indent a block when tab is pressed.
516
515
</td>
517
516
</tr>
518
517
</tbody>
522
521
<hr>
523
522
<div class="refsect2" title="gtk_source_view_get_indent_on_tab ()">
524
523
<a name="gtk-source-view-get-indent-on-tab"></a><h3>gtk_source_view_get_indent_on_tab ()</h3>
525
 
<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_view_get_indent_on_tab   (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);</pre>
 
524
<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_view_get_indent_on_tab   (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
526
525
<p>
527
526
Returns whether when the tab key is pressed the current selection
528
 
should get indented instead of replaced with the \t character.</p>
 
527
should get indented instead of replaced with the \t character.
 
528
</p>
529
529
<div class="variablelist"><table border="0">
530
530
<col align="left" valign="top">
531
531
<tbody>
532
532
<tr>
533
533
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
534
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
534
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
535
535
</td>
536
536
</tr>
537
537
<tr>
547
547
<hr>
548
548
<div class="refsect2" title="gtk_source_view_set_indent_width ()">
549
549
<a name="gtk-source-view-set-indent-width"></a><h3>gtk_source_view_set_indent_width ()</h3>
550
 
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_indent_width    (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
551
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> width);</pre>
 
550
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_indent_width    (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
551
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>);</pre>
552
552
<p>
553
553
Sets the number of spaces to use for each step of indent.
554
554
If <em class="parameter"><code>width</code></em> is -1, the value of the GtkSourceView::tab-width property
555
 
will be used.</p>
 
555
will be used.
 
556
</p>
556
557
<div class="variablelist"><table border="0">
557
558
<col align="left" valign="top">
558
559
<tbody>
559
560
<tr>
560
561
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
561
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
562
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
562
563
</td>
563
564
</tr>
564
565
<tr>
565
566
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
566
 
<td> indent width in characters.
 
567
<td>indent width in characters.
567
568
</td>
568
569
</tr>
569
570
</tbody>
572
573
<hr>
573
574
<div class="refsect2" title="gtk_source_view_get_indent_width ()">
574
575
<a name="gtk-source-view-get-indent-width"></a><h3>gtk_source_view_get_indent_width ()</h3>
575
 
<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_view_get_indent_width    (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);</pre>
 
576
<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_view_get_indent_width    (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
576
577
<p>
577
578
Returns the number of spaces to use for each step of indent.
578
 
See <a class="link" href="GtkSourceView.html#gtk-source-view-set-indent-width" title="gtk_source_view_set_indent_width ()"><code class="function">gtk_source_view_set_indent_width()</code></a> for details.</p>
 
579
See <a class="link" href="GtkSourceView.html#gtk-source-view-set-indent-width" title="gtk_source_view_set_indent_width ()"><code class="function">gtk_source_view_set_indent_width()</code></a> for details.
 
580
</p>
579
581
<div class="variablelist"><table border="0">
580
582
<col align="left" valign="top">
581
583
<tbody>
582
584
<tr>
583
585
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
584
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
586
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
585
587
</td>
586
588
</tr>
587
589
<tr>
596
598
<div class="refsect2" title="gtk_source_view_set_insert_spaces_instead_of_tabs ()">
597
599
<a name="gtk-source-view-set-insert-spaces-instead-of-tabs"></a><h3>gtk_source_view_set_insert_spaces_instead_of_tabs ()</h3>
598
600
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_insert_spaces_instead_of_tabs
599
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
600
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> enable);</pre>
 
601
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
602
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);</pre>
601
603
<p>
602
604
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> any tabulator character inserted is replaced by a group
603
 
of space characters.</p>
 
605
of space characters.
 
606
</p>
604
607
<div class="variablelist"><table border="0">
605
608
<col align="left" valign="top">
606
609
<tbody>
607
610
<tr>
608
611
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
609
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
612
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
610
613
</td>
611
614
</tr>
612
615
<tr>
613
616
<td><p><span class="term"><em class="parameter"><code>enable</code></em> :</span></p></td>
614
 
<td> whether to insert spaces instead of tabs.
 
617
<td>whether to insert spaces instead of tabs.
615
618
</td>
616
619
</tr>
617
620
</tbody>
621
624
<div class="refsect2" title="gtk_source_view_get_insert_spaces_instead_of_tabs ()">
622
625
<a name="gtk-source-view-get-insert-spaces-instead-of-tabs"></a><h3>gtk_source_view_get_insert_spaces_instead_of_tabs ()</h3>
623
626
<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_view_get_insert_spaces_instead_of_tabs
624
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);</pre>
 
627
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
625
628
<p>
626
629
Returns whether when inserting a tabulator character it should
627
 
be replaced by a group of space characters.</p>
 
630
be replaced by a group of space characters.
 
631
</p>
628
632
<div class="variablelist"><table border="0">
629
633
<col align="left" valign="top">
630
634
<tbody>
631
635
<tr>
632
636
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
633
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
637
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
634
638
</td>
635
639
</tr>
636
640
<tr>
644
648
<hr>
645
649
<div class="refsect2" title="gtk_source_view_set_smart_home_end ()">
646
650
<a name="gtk-source-view-set-smart-home-end"></a><h3>gtk_source_view_set_smart_home_end ()</h3>
647
 
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_smart_home_end  (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
648
 
                                                         <a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="returnvalue">GtkSourceSmartHomeEndType</span></a> smart_he);</pre>
 
651
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_smart_home_end  (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
652
                                                         <em class="parameter"><code><a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a> smart_he</code></em>);</pre>
649
653
<p>
650
654
Set the desired movement of the cursor when HOME and END keys
651
 
are pressed.</p>
 
655
are pressed.
 
656
</p>
652
657
<div class="variablelist"><table border="0">
653
658
<col align="left" valign="top">
654
659
<tbody>
655
660
<tr>
656
661
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
657
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
662
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
658
663
</td>
659
664
</tr>
660
665
<tr>
661
666
<td><p><span class="term"><em class="parameter"><code>smart_he</code></em> :</span></p></td>
662
 
<td> the desired behavior among <a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a>.
 
667
<td>the desired behavior among <a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a>.
663
668
</td>
664
669
</tr>
665
670
</tbody>
669
674
<div class="refsect2" title="gtk_source_view_get_smart_home_end ()">
670
675
<a name="gtk-source-view-get-smart-home-end"></a><h3>gtk_source_view_get_smart_home_end ()</h3>
671
676
<pre class="programlisting"><a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="returnvalue">GtkSourceSmartHomeEndType</span></a>  gtk_source_view_get_smart_home_end
672
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);</pre>
 
677
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
673
678
<p>
674
679
Returns a <a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a> end value specifying
675
 
how the cursor will move when HOME and END keys are pressed.</p>
 
680
how the cursor will move when HOME and END keys are pressed.
 
681
</p>
676
682
<div class="variablelist"><table border="0">
677
683
<col align="left" valign="top">
678
684
<tbody>
679
685
<tr>
680
686
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
681
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
687
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
682
688
</td>
683
689
</tr>
684
690
<tr>
693
699
<div class="refsect2" title="gtk_source_view_set_mark_category_priority ()">
694
700
<a name="gtk-source-view-set-mark-category-priority"></a><h3>gtk_source_view_set_mark_category_priority ()</h3>
695
701
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_mark_category_priority
696
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
697
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *category,
698
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> priority);</pre>
 
702
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
703
                                                         <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>,
 
704
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>);</pre>
699
705
<p>
700
706
Set the <em class="parameter"><code>priority</code></em> for the given mark <em class="parameter"><code>category</code></em>. When there are
701
707
multiple marks on the same line, marks of categories with
702
 
higher priorities will be drawn on top.</p>
 
708
higher priorities will be drawn on top.
 
709
</p>
703
710
<div class="variablelist"><table border="0">
704
711
<col align="left" valign="top">
705
712
<tbody>
706
713
<tr>
707
714
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
708
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
715
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
709
716
</td>
710
717
</tr>
711
718
<tr>
712
719
<td><p><span class="term"><em class="parameter"><code>category</code></em> :</span></p></td>
713
 
<td> a mark category.
 
720
<td>a mark category.
714
721
</td>
715
722
</tr>
716
723
<tr>
717
724
<td><p><span class="term"><em class="parameter"><code>priority</code></em> :</span></p></td>
718
 
<td> the priority for the category
 
725
<td>the priority for the category
719
726
</td>
720
727
</tr>
721
728
</tbody>
726
733
<div class="refsect2" title="gtk_source_view_get_mark_category_priority ()">
727
734
<a name="gtk-source-view-get-mark-category-priority"></a><h3>gtk_source_view_get_mark_category_priority ()</h3>
728
735
<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_view_get_mark_category_priority
729
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
730
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *category);</pre>
 
736
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
737
                                                         <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>
731
738
<p>
732
 
Gets the priority which is associated with the given <em class="parameter"><code>category</code></em>.</p>
 
739
Gets the priority which is associated with the given <em class="parameter"><code>category</code></em>.
 
740
</p>
733
741
<div class="variablelist"><table border="0">
734
742
<col align="left" valign="top">
735
743
<tbody>
736
744
<tr>
737
745
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
738
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
746
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
739
747
</td>
740
748
</tr>
741
749
<tr>
742
750
<td><p><span class="term"><em class="parameter"><code>category</code></em> :</span></p></td>
743
 
<td> a mark category.
 
751
<td>a mark category.
744
752
</td>
745
753
</tr>
746
754
<tr>
758
766
<div class="refsect2" title="gtk_source_view_set_mark_category_pixbuf ()">
759
767
<a name="gtk-source-view-set-mark-category-pixbuf"></a><h3>gtk_source_view_set_mark_category_pixbuf ()</h3>
760
768
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_mark_category_pixbuf
761
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
762
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *category,
763
 
                                                         <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *pixbuf);</pre>
 
769
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
770
                                                         <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>,
 
771
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
764
772
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
765
773
<h3 class="title">Warning</h3>
766
774
<p><code class="literal">gtk_source_view_set_mark_category_pixbuf</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-category-icon-from-pixbuf" title="gtk_source_view_set_mark_category_icon_from_pixbuf ()"><span class="type">gtk_source_view_set_mark_category_icon_from_pixbuf</span></a> instead</p>
767
775
</div>
768
776
<p>
769
777
Associates a given <em class="parameter"><code>pixbuf</code></em> with a given mark <em class="parameter"><code>category</code></em>.
770
 
If <em class="parameter"><code>pixbuf</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>, the pixbuf is unset.</p>
 
778
If <em class="parameter"><code>pixbuf</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>, the pixbuf is unset.
 
779
</p>
771
780
<div class="variablelist"><table border="0">
772
781
<col align="left" valign="top">
773
782
<tbody>
774
783
<tr>
775
784
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
776
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
785
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
777
786
</td>
778
787
</tr>
779
788
<tr>
780
789
<td><p><span class="term"><em class="parameter"><code>category</code></em> :</span></p></td>
781
 
<td> a mark category.
 
790
<td>a mark category.
782
791
</td>
783
792
</tr>
784
793
<tr>
785
794
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
786
 
<td> a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>.
 
795
<td>a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>.
787
796
</td>
788
797
</tr>
789
798
</tbody>
794
803
<div class="refsect2" title="gtk_source_view_get_mark_category_pixbuf ()">
795
804
<a name="gtk-source-view-get-mark-category-pixbuf"></a><h3>gtk_source_view_get_mark_category_pixbuf ()</h3>
796
805
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *         gtk_source_view_get_mark_category_pixbuf
797
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
798
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *category);</pre>
 
806
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
807
                                                         <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>
799
808
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
800
809
<h3 class="title">Warning</h3>
801
810
<p><code class="literal">gtk_source_view_get_mark_category_pixbuf</code> is deprecated and should not be used in newly-written code.</p>
802
811
</div>
803
812
<p>
804
 
Gets the pixbuf which is associated with the given mark <em class="parameter"><code>category</code></em>.</p>
 
813
Gets the pixbuf which is associated with the given mark <em class="parameter"><code>category</code></em>.
 
814
</p>
805
815
<div class="variablelist"><table border="0">
806
816
<col align="left" valign="top">
807
817
<tbody>
808
818
<tr>
809
819
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
810
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
820
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
811
821
</td>
812
822
</tr>
813
823
<tr>
814
824
<td><p><span class="term"><em class="parameter"><code>category</code></em> :</span></p></td>
815
 
<td> a mark category.
 
825
<td>a mark category.
816
826
</td>
817
827
</tr>
818
828
<tr>
829
839
<div class="refsect2" title="gtk_source_view_set_mark_category_icon_from_pixbuf ()">
830
840
<a name="gtk-source-view-set-mark-category-icon-from-pixbuf"></a><h3>gtk_source_view_set_mark_category_icon_from_pixbuf ()</h3>
831
841
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_mark_category_icon_from_pixbuf
832
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
833
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *category,
834
 
                                                         <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *pixbuf);</pre>
 
842
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
843
                                                         <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>,
 
844
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
835
845
<p>
836
846
Sets the icon to be used for <em class="parameter"><code>category</code></em> to <em class="parameter"><code>pixbuf</code></em>.
837
 
If <em class="parameter"><code>pixbuf</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>, the icon is unset.</p>
 
847
If <em class="parameter"><code>pixbuf</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>, the icon is unset.
 
848
</p>
838
849
<div class="variablelist"><table border="0">
839
850
<col align="left" valign="top">
840
851
<tbody>
841
852
<tr>
842
853
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
843
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
854
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
844
855
</td>
845
856
</tr>
846
857
<tr>
847
858
<td><p><span class="term"><em class="parameter"><code>category</code></em> :</span></p></td>
848
 
<td> a mark category.
 
859
<td>a mark category.
849
860
</td>
850
861
</tr>
851
862
<tr>
852
863
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
853
 
<td> a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>.
 
864
<td>a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>.
854
865
</td>
855
866
</tr>
856
867
</tbody>
861
872
<div class="refsect2" title="gtk_source_view_set_mark_category_icon_from_stock ()">
862
873
<a name="gtk-source-view-set-mark-category-icon-from-stock"></a><h3>gtk_source_view_set_mark_category_icon_from_stock ()</h3>
863
874
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_mark_category_icon_from_stock
864
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
865
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *category,
866
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *stock_id);</pre>
 
875
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
876
                                                         <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>,
 
877
                                                         <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> *stock_id</code></em>);</pre>
867
878
<p>
868
879
Sets the icon to be used for <em class="parameter"><code>category</code></em> to the stock item <em class="parameter"><code>stock_id</code></em>.
869
 
If <em class="parameter"><code>stock_id</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>, the icon is unset.</p>
 
880
If <em class="parameter"><code>stock_id</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>, the icon is unset.
 
881
</p>
870
882
<div class="variablelist"><table border="0">
871
883
<col align="left" valign="top">
872
884
<tbody>
873
885
<tr>
874
886
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
875
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
887
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
876
888
</td>
877
889
</tr>
878
890
<tr>
879
891
<td><p><span class="term"><em class="parameter"><code>category</code></em> :</span></p></td>
880
 
<td> a mark category.
 
892
<td>a mark category.
881
893
</td>
882
894
</tr>
883
895
<tr>
884
896
<td><p><span class="term"><em class="parameter"><code>stock_id</code></em> :</span></p></td>
885
 
<td> the stock id or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>.
 
897
<td>the stock id or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>.
886
898
</td>
887
899
</tr>
888
900
</tbody>
893
905
<div class="refsect2" title="gtk_source_view_set_mark_category_icon_from_icon_name ()">
894
906
<a name="gtk-source-view-set-mark-category-icon-from-icon-name"></a><h3>gtk_source_view_set_mark_category_icon_from_icon_name ()</h3>
895
907
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_mark_category_icon_from_icon_name
896
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
897
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *category,
898
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *name);</pre>
 
908
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
909
                                                         <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>,
 
910
                                                         <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>);</pre>
899
911
<p>
900
912
Sets the icon to be used for <em class="parameter"><code>category</code></em> to the named theme item <em class="parameter"><code>name</code></em>.
901
 
If <em class="parameter"><code>name</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>, the icon is unset.</p>
 
913
If <em class="parameter"><code>name</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>, the icon is unset.
 
914
</p>
902
915
<div class="variablelist"><table border="0">
903
916
<col align="left" valign="top">
904
917
<tbody>
905
918
<tr>
906
919
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
907
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
920
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
908
921
</td>
909
922
</tr>
910
923
<tr>
911
924
<td><p><span class="term"><em class="parameter"><code>category</code></em> :</span></p></td>
912
 
<td> a mark category.
 
925
<td>a mark category.
913
926
</td>
914
927
</tr>
915
928
<tr>
916
929
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
917
 
<td> the themed icon name or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>.
 
930
<td>the themed icon name or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>.
918
931
</td>
919
932
</tr>
920
933
</tbody>
925
938
<div class="refsect2" title="gtk_source_view_get_mark_category_background ()">
926
939
<a name="gtk-source-view-get-mark-category-background"></a><h3>gtk_source_view_get_mark_category_background ()</h3>
927
940
<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_view_get_mark_category_background
928
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
929
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *category,
930
 
                                                         <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="returnvalue">GdkColor</span></a> *dest);</pre>
 
941
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
942
                                                         <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>,
 
943
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *dest</code></em>);</pre>
931
944
<p>
932
 
Gets the background color associated with given <em class="parameter"><code>category</code></em>.</p>
 
945
Gets the background color associated with given <em class="parameter"><code>category</code></em>.
 
946
</p>
933
947
<div class="variablelist"><table border="0">
934
948
<col align="left" valign="top">
935
949
<tbody>
936
950
<tr>
937
951
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
938
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
952
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
939
953
</td>
940
954
</tr>
941
955
<tr>
942
956
<td><p><span class="term"><em class="parameter"><code>category</code></em> :</span></p></td>
943
 
<td> a mark category.
 
957
<td>a mark category.
944
958
</td>
945
959
</tr>
946
960
<tr>
947
961
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
948
 
<td> destination <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> structure to fill in.
 
962
<td>destination <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> structure to fill in.
949
963
</td>
950
964
</tr>
951
965
<tr>
963
977
<div class="refsect2" title="gtk_source_view_set_mark_category_background ()">
964
978
<a name="gtk-source-view-set-mark-category-background"></a><h3>gtk_source_view_set_mark_category_background ()</h3>
965
979
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_mark_category_background
966
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
967
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *category,
968
 
                                                         const <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="returnvalue">GdkColor</span></a> *color);</pre>
 
980
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
981
                                                         <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>,
 
982
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
969
983
<p>
970
984
Sets given background <em class="parameter"><code>color</code></em> for mark <em class="parameter"><code>category</code></em>.
971
 
If <em class="parameter"><code>color</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>, the background color is unset.</p>
 
985
If <em class="parameter"><code>color</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>, the background color is unset.
 
986
</p>
972
987
<div class="variablelist"><table border="0">
973
988
<col align="left" valign="top">
974
989
<tbody>
975
990
<tr>
976
991
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
977
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
992
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
978
993
</td>
979
994
</tr>
980
995
<tr>
981
996
<td><p><span class="term"><em class="parameter"><code>category</code></em> :</span></p></td>
982
 
<td> a mark category.
 
997
<td>a mark category.
983
998
</td>
984
999
</tr>
985
1000
<tr>
986
1001
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
987
 
<td> background color or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset it.
 
1002
<td>background color or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset it.
988
1003
</td>
989
1004
</tr>
990
1005
</tbody>
995
1010
<div class="refsect2" title="gtk_source_view_set_mark_category_tooltip_func ()">
996
1011
<a name="gtk-source-view-set-mark-category-tooltip-func"></a><h3>gtk_source_view_set_mark_category_tooltip_func ()</h3>
997
1012
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_mark_category_tooltip_func
998
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
999
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *category,
1000
 
                                                         <a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()"><span class="returnvalue">GtkSourceViewMarkTooltipFunc</span></a> func,
1001
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data,
1002
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="returnvalue">GDestroyNotify</span></a> user_data_notify);</pre>
 
1013
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
1014
                                                         <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>,
 
1015
                                                         <em class="parameter"><code><a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()"><span class="type">GtkSourceViewMarkTooltipFunc</span></a> func</code></em>,
 
1016
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
1017
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> user_data_notify</code></em>);</pre>
1003
1018
<p>
1004
1019
Set a <a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()"><span class="type">GtkSourceViewMarkTooltipFunc</span></a> used to set tooltip on marks from the
1005
1020
given mark <em class="parameter"><code>category</code></em>.
1029
1044
                                                tooltip_func,
1030
1045
                                                NULL, NULL);
1031
1046
</pre></div>
 
1047
<p>
 
1048
</p>
1032
1049
<div class="variablelist"><table border="0">
1033
1050
<col align="left" valign="top">
1034
1051
<tbody>
1035
1052
<tr>
1036
1053
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
1037
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
1054
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
1038
1055
</td>
1039
1056
</tr>
1040
1057
<tr>
1041
1058
<td><p><span class="term"><em class="parameter"><code>category</code></em> :</span></p></td>
1042
 
<td> a mark category.
 
1059
<td>a mark category.
1043
1060
</td>
1044
1061
</tr>
1045
1062
<tr>
1046
1063
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
1047
 
<td> a <a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()"><span class="type">GtkSourceViewMarkTooltipFunc</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
1064
<td>a <a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()"><span class="type">GtkSourceViewMarkTooltipFunc</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
1048
1065
</td>
1049
1066
</tr>
1050
1067
<tr>
1051
1068
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1052
 
<td> user data which will be passed to <em class="parameter"><code>func</code></em>.
 
1069
<td>user data which will be passed to <em class="parameter"><code>func</code></em>.
1053
1070
</td>
1054
1071
</tr>
1055
1072
<tr>
1066
1083
<div class="refsect2" title="gtk_source_view_set_mark_category_tooltip_markup_func ()">
1067
1084
<a name="gtk-source-view-set-mark-category-tooltip-markup-func"></a><h3>gtk_source_view_set_mark_category_tooltip_markup_func ()</h3>
1068
1085
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_mark_category_tooltip_markup_func
1069
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
1070
 
                                                         const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *category,
1071
 
                                                         <a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()"><span class="returnvalue">GtkSourceViewMarkTooltipFunc</span></a> markup_func,
1072
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> user_data,
1073
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="returnvalue">GDestroyNotify</span></a> user_data_notify);</pre>
 
1086
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
1087
                                                         <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>,
 
1088
                                                         <em class="parameter"><code><a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()"><span class="type">GtkSourceViewMarkTooltipFunc</span></a> markup_func</code></em>,
 
1089
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
1090
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> user_data_notify</code></em>);</pre>
1074
1091
<p>
1075
 
See <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-category-tooltip-func" title="gtk_source_view_set_mark_category_tooltip_func ()"><code class="function">gtk_source_view_set_mark_category_tooltip_func()</code></a> for more information.</p>
 
1092
See <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-category-tooltip-func" title="gtk_source_view_set_mark_category_tooltip_func ()"><code class="function">gtk_source_view_set_mark_category_tooltip_func()</code></a> for more information.
 
1093
</p>
1076
1094
<div class="variablelist"><table border="0">
1077
1095
<col align="left" valign="top">
1078
1096
<tbody>
1079
1097
<tr>
1080
1098
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
1081
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
1099
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
1082
1100
</td>
1083
1101
</tr>
1084
1102
<tr>
1085
1103
<td><p><span class="term"><em class="parameter"><code>category</code></em> :</span></p></td>
1086
 
<td> a mark category.
 
1104
<td>a mark category.
1087
1105
</td>
1088
1106
</tr>
1089
1107
<tr>
1090
1108
<td><p><span class="term"><em class="parameter"><code>markup_func</code></em> :</span></p></td>
1091
 
<td> a <a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()"><span class="type">GtkSourceViewMarkTooltipFunc</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
1109
<td>a <a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()"><span class="type">GtkSourceViewMarkTooltipFunc</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
1092
1110
</td>
1093
1111
</tr>
1094
1112
<tr>
1095
1113
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1096
 
<td> user data which will be passed to <em class="parameter"><code>func</code></em>.
 
1114
<td>user data which will be passed to <em class="parameter"><code>func</code></em>.
1097
1115
</td>
1098
1116
</tr>
1099
1117
<tr>
1110
1128
<div class="refsect2" title="gtk_source_view_set_highlight_current_line ()">
1111
1129
<a name="gtk-source-view-set-highlight-current-line"></a><h3>gtk_source_view_set_highlight_current_line ()</h3>
1112
1130
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_highlight_current_line
1113
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
1114
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> show);</pre>
 
1131
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
1132
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);</pre>
1115
1133
<p>
1116
 
If <em class="parameter"><code>show</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> the current line is highlighted.</p>
 
1134
If <em class="parameter"><code>show</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> the current line is highlighted.
 
1135
</p>
1117
1136
<div class="variablelist"><table border="0">
1118
1137
<col align="left" valign="top">
1119
1138
<tbody>
1120
1139
<tr>
1121
1140
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
1122
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>
 
1141
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>
1123
1142
</td>
1124
1143
</tr>
1125
1144
<tr>
1126
1145
<td><p><span class="term"><em class="parameter"><code>show</code></em> :</span></p></td>
1127
 
<td> whether to highlight the current line
 
1146
<td>whether to highlight the current line
1128
1147
</td>
1129
1148
</tr>
1130
1149
</tbody>
1134
1153
<div class="refsect2" title="gtk_source_view_get_highlight_current_line ()">
1135
1154
<a name="gtk-source-view-get-highlight-current-line"></a><h3>gtk_source_view_get_highlight_current_line ()</h3>
1136
1155
<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_view_get_highlight_current_line
1137
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);</pre>
 
1156
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
1138
1157
<p>
1139
 
Returns whether the current line is highlighted</p>
 
1158
Returns whether the current line is highlighted
 
1159
</p>
1140
1160
<div class="variablelist"><table border="0">
1141
1161
<col align="left" valign="top">
1142
1162
<tbody>
1143
1163
<tr>
1144
1164
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
1145
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>
 
1165
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>
1146
1166
</td>
1147
1167
</tr>
1148
1168
<tr>
1156
1176
<hr>
1157
1177
<div class="refsect2" title="gtk_source_view_set_show_line_marks ()">
1158
1178
<a name="gtk-source-view-set-show-line-marks"></a><h3>gtk_source_view_set_show_line_marks ()</h3>
1159
 
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_show_line_marks (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
1160
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> show);</pre>
 
1179
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_show_line_marks (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
1180
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);</pre>
1161
1181
<p>
1162
 
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> line marks will be displayed beside the text.</p>
 
1182
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> line marks will be displayed beside the text.
 
1183
</p>
1163
1184
<div class="variablelist"><table border="0">
1164
1185
<col align="left" valign="top">
1165
1186
<tbody>
1166
1187
<tr>
1167
1188
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
1168
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
1189
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
1169
1190
</td>
1170
1191
</tr>
1171
1192
<tr>
1172
1193
<td><p><span class="term"><em class="parameter"><code>show</code></em> :</span></p></td>
1173
 
<td> whether line marks should be displayed.
 
1194
<td>whether line marks should be displayed.
1174
1195
</td>
1175
1196
</tr>
1176
1197
</tbody>
1180
1201
<hr>
1181
1202
<div class="refsect2" title="gtk_source_view_get_show_line_marks ()">
1182
1203
<a name="gtk-source-view-get-show-line-marks"></a><h3>gtk_source_view_get_show_line_marks ()</h3>
1183
 
<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_view_get_show_line_marks (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);</pre>
 
1204
<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_view_get_show_line_marks (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
1184
1205
<p>
1185
 
Returns whether line marks are displayed beside the text.</p>
 
1206
Returns whether line marks are displayed beside the text.
 
1207
</p>
1186
1208
<div class="variablelist"><table border="0">
1187
1209
<col align="left" valign="top">
1188
1210
<tbody>
1189
1211
<tr>
1190
1212
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
1191
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
1213
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
1192
1214
</td>
1193
1215
</tr>
1194
1216
<tr>
1205
1227
<div class="refsect2" title="gtk_source_view_set_show_line_numbers ()">
1206
1228
<a name="gtk-source-view-set-show-line-numbers"></a><h3>gtk_source_view_set_show_line_numbers ()</h3>
1207
1229
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_show_line_numbers
1208
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
1209
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> show);</pre>
 
1230
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
1231
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);</pre>
1210
1232
<p>
1211
 
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> line numbers will be displayed beside the text.</p>
 
1233
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> line numbers will be displayed beside the text.
 
1234
</p>
1212
1235
<div class="variablelist"><table border="0">
1213
1236
<col align="left" valign="top">
1214
1237
<tbody>
1215
1238
<tr>
1216
1239
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
1217
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
1240
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
1218
1241
</td>
1219
1242
</tr>
1220
1243
<tr>
1221
1244
<td><p><span class="term"><em class="parameter"><code>show</code></em> :</span></p></td>
1222
 
<td> whether line numbers should be displayed.
 
1245
<td>whether line numbers should be displayed.
1223
1246
</td>
1224
1247
</tr>
1225
1248
</tbody>
1229
1252
<div class="refsect2" title="gtk_source_view_get_show_line_numbers ()">
1230
1253
<a name="gtk-source-view-get-show-line-numbers"></a><h3>gtk_source_view_get_show_line_numbers ()</h3>
1231
1254
<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_view_get_show_line_numbers
1232
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);</pre>
 
1255
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
1233
1256
<p>
1234
 
Returns whether line numbers are displayed beside the text.</p>
 
1257
Returns whether line numbers are displayed beside the text.
 
1258
</p>
1235
1259
<div class="variablelist"><table border="0">
1236
1260
<col align="left" valign="top">
1237
1261
<tbody>
1238
1262
<tr>
1239
1263
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
1240
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
1264
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
1241
1265
</td>
1242
1266
</tr>
1243
1267
<tr>
1252
1276
<div class="refsect2" title="gtk_source_view_set_show_right_margin ()">
1253
1277
<a name="gtk-source-view-set-show-right-margin"></a><h3>gtk_source_view_set_show_right_margin ()</h3>
1254
1278
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_show_right_margin
1255
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
1256
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> show);</pre>
 
1279
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
1280
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);</pre>
1257
1281
<p>
1258
 
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> a right margin is displayed</p>
 
1282
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> a right margin is displayed
 
1283
</p>
1259
1284
<div class="variablelist"><table border="0">
1260
1285
<col align="left" valign="top">
1261
1286
<tbody>
1262
1287
<tr>
1263
1288
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
1264
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
1289
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
1265
1290
</td>
1266
1291
</tr>
1267
1292
<tr>
1268
1293
<td><p><span class="term"><em class="parameter"><code>show</code></em> :</span></p></td>
1269
 
<td> whether to show a right margin.
 
1294
<td>whether to show a right margin.
1270
1295
</td>
1271
1296
</tr>
1272
1297
</tbody>
1276
1301
<div class="refsect2" title="gtk_source_view_get_show_right_margin ()">
1277
1302
<a name="gtk-source-view-get-show-right-margin"></a><h3>gtk_source_view_get_show_right_margin ()</h3>
1278
1303
<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_view_get_show_right_margin
1279
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);</pre>
 
1304
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
1280
1305
<p>
1281
 
Returns whether a right margin is displayed.</p>
 
1306
Returns whether a right margin is displayed.
 
1307
</p>
1282
1308
<div class="variablelist"><table border="0">
1283
1309
<col align="left" valign="top">
1284
1310
<tbody>
1285
1311
<tr>
1286
1312
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
1287
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
1313
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
1288
1314
</td>
1289
1315
</tr>
1290
1316
<tr>
1299
1325
<div class="refsect2" title="gtk_source_view_set_right_margin_position ()">
1300
1326
<a name="gtk-source-view-set-right-margin-position"></a><h3>gtk_source_view_set_right_margin_position ()</h3>
1301
1327
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_right_margin_position
1302
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
1303
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> pos);</pre>
 
1328
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
1329
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> pos</code></em>);</pre>
1304
1330
<p>
1305
 
Sets the position of the right margin in the given <em class="parameter"><code>view</code></em>.</p>
 
1331
Sets the position of the right margin in the given <em class="parameter"><code>view</code></em>.
 
1332
</p>
1306
1333
<div class="variablelist"><table border="0">
1307
1334
<col align="left" valign="top">
1308
1335
<tbody>
1309
1336
<tr>
1310
1337
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
1311
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
1338
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
1312
1339
</td>
1313
1340
</tr>
1314
1341
<tr>
1315
1342
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
1316
 
<td> the width in characters where to position the right margin.
 
1343
<td>the width in characters where to position the right margin.
1317
1344
</td>
1318
1345
</tr>
1319
1346
</tbody>
1323
1350
<div class="refsect2" title="gtk_source_view_get_right_margin_position ()">
1324
1351
<a name="gtk-source-view-get-right-margin-position"></a><h3>gtk_source_view_get_right_margin_position ()</h3>
1325
1352
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               gtk_source_view_get_right_margin_position
1326
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);</pre>
 
1353
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
1327
1354
<p>
1328
 
Gets the position of the right margin in the given <em class="parameter"><code>view</code></em>.</p>
 
1355
Gets the position of the right margin in the given <em class="parameter"><code>view</code></em>.
 
1356
</p>
1329
1357
<div class="variablelist"><table border="0">
1330
1358
<col align="left" valign="top">
1331
1359
<tbody>
1332
1360
<tr>
1333
1361
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
1334
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
1362
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
1335
1363
</td>
1336
1364
</tr>
1337
1365
<tr>
1345
1373
<hr>
1346
1374
<div class="refsect2" title="gtk_source_view_set_tab_width ()">
1347
1375
<a name="gtk-source-view-set-tab-width"></a><h3>gtk_source_view_set_tab_width ()</h3>
1348
 
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_tab_width       (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
1349
 
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> width);</pre>
 
1376
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_tab_width       (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
1377
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>);</pre>
1350
1378
<p>
1351
 
Sets the width of tabulation in characters.</p>
 
1379
Sets the width of tabulation in characters.
 
1380
</p>
1352
1381
<div class="variablelist"><table border="0">
1353
1382
<col align="left" valign="top">
1354
1383
<tbody>
1355
1384
<tr>
1356
1385
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
1357
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
1386
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
1358
1387
</td>
1359
1388
</tr>
1360
1389
<tr>
1361
1390
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
1362
 
<td> width of tab in characters.
 
1391
<td>width of tab in characters.
1363
1392
</td>
1364
1393
</tr>
1365
1394
</tbody>
1368
1397
<hr>
1369
1398
<div class="refsect2" title="gtk_source_view_get_tab_width ()">
1370
1399
<a name="gtk-source-view-get-tab-width"></a><h3>gtk_source_view_get_tab_width ()</h3>
1371
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               gtk_source_view_get_tab_width       (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);</pre>
 
1400
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               gtk_source_view_get_tab_width       (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
1372
1401
<p>
1373
 
Returns the width of tabulation in characters.</p>
 
1402
Returns the width of tabulation in characters.
 
1403
</p>
1374
1404
<div class="variablelist"><table border="0">
1375
1405
<col align="left" valign="top">
1376
1406
<tbody>
1377
1407
<tr>
1378
1408
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
1379
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
1409
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
1380
1410
</td>
1381
1411
</tr>
1382
1412
<tr>
1390
1420
<hr>
1391
1421
<div class="refsect2" title="gtk_source_view_set_draw_spaces ()">
1392
1422
<a name="gtk-source-view-set-draw-spaces"></a><h3>gtk_source_view_set_draw_spaces ()</h3>
1393
 
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_draw_spaces     (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
1394
 
                                                         <a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="returnvalue">GtkSourceDrawSpacesFlags</span></a> flags);</pre>
 
1423
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_draw_spaces     (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
1424
                                                         <em class="parameter"><code><a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="type">GtkSourceDrawSpacesFlags</span></a> flags</code></em>);</pre>
1395
1425
<p>
1396
1426
Set if and how the spaces should be visualized. Specifying <em class="parameter"><code>flags</code></em> as 0 will
1397
 
disable display of spaces.</p>
 
1427
disable display of spaces.
 
1428
</p>
1398
1429
<div class="variablelist"><table border="0">
1399
1430
<col align="left" valign="top">
1400
1431
<tbody>
1401
1432
<tr>
1402
1433
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
1403
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
 
1434
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>.
1404
1435
</td>
1405
1436
</tr>
1406
1437
<tr>
1407
1438
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
1408
 
<td> <a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="type">GtkSourceDrawSpacesFlags</span></a> specifing how white spaces should
 
1439
<td>
 
1440
<a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="type">GtkSourceDrawSpacesFlags</span></a> specifing how white spaces should
1409
1441
be displayed
1410
1442
</td>
1411
1443
</tr>
1416
1448
<div class="refsect2" title="gtk_source_view_get_draw_spaces ()">
1417
1449
<a name="gtk-source-view-get-draw-spaces"></a><h3>gtk_source_view_get_draw_spaces ()</h3>
1418
1450
<pre class="programlisting"><a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="returnvalue">GtkSourceDrawSpacesFlags</span></a>  gtk_source_view_get_draw_spaces
1419
 
                                                        (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);</pre>
 
1451
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
1420
1452
<p>
1421
1453
Returns the <a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="type">GtkSourceDrawSpacesFlags</span></a> specifying if and how spaces
1422
 
should be displayed for this <em class="parameter"><code>view</code></em>.</p>
 
1454
should be displayed for this <em class="parameter"><code>view</code></em>.
 
1455
</p>
1423
1456
<div class="variablelist"><table border="0">
1424
1457
<col align="left" valign="top">
1425
1458
<tbody>
1426
1459
<tr>
1427
1460
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
1428
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>
 
1461
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>
1429
1462
</td>
1430
1463
</tr>
1431
1464
<tr>
1439
1472
<hr>
1440
1473
<div class="refsect2" title="gtk_source_view_get_completion ()">
1441
1474
<a name="gtk-source-view-get-completion"></a><h3>gtk_source_view_get_completion ()</h3>
1442
 
<pre class="programlisting"><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="returnvalue">GtkSourceCompletion</span></a> * gtk_source_view_get_completion    (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view);</pre>
 
1475
<pre class="programlisting"><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="returnvalue">GtkSourceCompletion</span></a> * gtk_source_view_get_completion    (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
1443
1476
<p>
1444
 
Gets the <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> associated with <em class="parameter"><code>view</code></em>.</p>
 
1477
Gets the <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> associated with <em class="parameter"><code>view</code></em>.
 
1478
</p>
1445
1479
<div class="variablelist"><table border="0">
1446
1480
<col align="left" valign="top">
1447
1481
<tbody>
1448
1482
<tr>
1449
1483
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
1450
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>
 
1484
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>
1451
1485
</td>
1452
1486
</tr>
1453
1487
<tr>
1461
1495
<hr>
1462
1496
<div class="refsect2" title="gtk_source_view_get_gutter ()">
1463
1497
<a name="gtk-source-view-get-gutter"></a><h3>gtk_source_view_get_gutter ()</h3>
1464
 
<pre class="programlisting"><a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="returnvalue">GtkSourceGutter</span></a> *   gtk_source_view_get_gutter          (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> *view,
1465
 
                                                         <a href="http://library.gnome.org/devel/gtk/unstable/GtkTextView.html#GtkTextWindowType"><span class="returnvalue">GtkTextWindowType</span></a> window_type);</pre>
 
1498
<pre class="programlisting"><a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="returnvalue">GtkSourceGutter</span></a> *   gtk_source_view_get_gutter          (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
 
1499
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> window_type</code></em>);</pre>
1466
1500
<p>
1467
1501
Returns the <a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a> object associated with <em class="parameter"><code>window_type</code></em> for <em class="parameter"><code>view</code></em>.
1468
1502
Only GTK_TEXT_WINDOW_LEFT and GTK_TEXT_WINDOW_RIGHT are supported, 
1469
1503
respectively corresponding to the left and right gutter. The line numbers
1470
1504
and mark category icons are rendered in the gutter corresponding to
1471
 
GTK_TEXT_WINDOW_LEFT.</p>
 
1505
GTK_TEXT_WINDOW_LEFT.
 
1506
</p>
1472
1507
<div class="variablelist"><table border="0">
1473
1508
<col align="left" valign="top">
1474
1509
<tbody>
1475
1510
<tr>
1476
1511
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
1477
 
<td> a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>
 
1512
<td>a <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>
1478
1513
</td>
1479
1514
</tr>
1480
1515
<tr>
1481
1516
<td><p><span class="term"><em class="parameter"><code>window_type</code></em> :</span></p></td>
1482
 
<td> the gutter window type
 
1517
<td>the gutter window type
1483
1518
</td>
1484
1519
</tr>
1485
1520
<tr>
1511
1546
<a name="GtkSourceView--draw-spaces"></a><h3>The <code class="literal">"draw-spaces"</code> property</h3>
1512
1547
<pre class="programlisting">  "draw-spaces"              <a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="type">GtkSourceDrawSpacesFlags</span></a>  : Read / Write</pre>
1513
1548
<p>
1514
 
Set if and how the spaces should be visualized.</p>
 
1549
Set if and how the spaces should be visualized.
 
1550
</p>
1515
1551
<p class="since">Since 2.4</p>
1516
1552
</div>
1517
1553
<hr>
1533
1569
<a name="GtkSourceView--indent-width"></a><h3>The <code class="literal">"indent-width"</code> property</h3>
1534
1570
<pre class="programlisting">  "indent-width"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
1535
1571
<p>
1536
 
Width of an indentation step expressed in number of spaces.</p>
 
1572
Width of an indentation step expressed in number of spaces.
 
1573
</p>
1537
1574
<p>Allowed values: [G_MAXULONG,32]</p>
1538
1575
<p>Default value: -1</p>
1539
1576
</div>
1549
1586
<a name="GtkSourceView--right-margin-position"></a><h3>The <code class="literal">"right-margin-position"</code> property</h3>
1550
1587
<pre class="programlisting">  "right-margin-position"    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write</pre>
1551
1588
<p>
1552
 
Position of the right margin.</p>
 
1589
Position of the right margin.
 
1590
</p>
1553
1591
<p>Allowed values: [1,200]</p>
1554
1592
<p>Default value: 80</p>
1555
1593
</div>
1558
1596
<a name="GtkSourceView--show-line-marks"></a><h3>The <code class="literal">"show-line-marks"</code> property</h3>
1559
1597
<pre class="programlisting">  "show-line-marks"          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
1560
1598
<p>
1561
 
Whether to display line mark pixbufs</p>
 
1599
Whether to display line mark pixbufs
 
1600
</p>
1562
1601
<p>Default value: FALSE</p>
1563
1602
</div>
1564
1603
<hr>
1566
1605
<a name="GtkSourceView--show-line-numbers"></a><h3>The <code class="literal">"show-line-numbers"</code> property</h3>
1567
1606
<pre class="programlisting">  "show-line-numbers"        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
1568
1607
<p>
1569
 
Whether to display line numbers</p>
 
1608
Whether to display line numbers
 
1609
</p>
1570
1610
<p>Default value: FALSE</p>
1571
1611
</div>
1572
1612
<hr>
1574
1614
<a name="GtkSourceView--show-right-margin"></a><h3>The <code class="literal">"show-right-margin"</code> property</h3>
1575
1615
<pre class="programlisting">  "show-right-margin"        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
1576
1616
<p>
1577
 
Whether to display the right margin.</p>
 
1617
Whether to display the right margin.
 
1618
</p>
1578
1619
<p>Default value: FALSE</p>
1579
1620
</div>
1580
1621
<hr>
1582
1623
<a name="GtkSourceView--smart-home-end"></a><h3>The <code class="literal">"smart-home-end"</code> property</h3>
1583
1624
<pre class="programlisting">  "smart-home-end"           <a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a>  : Read / Write</pre>
1584
1625
<p>
1585
 
Set the behavior of the HOME and END keys.</p>
 
1626
Set the behavior of the HOME and END keys.
 
1627
</p>
1586
1628
<p>Default value: GTK_SOURCE_SMART_HOME_END_DISABLED</p>
1587
1629
<p class="since">Since 2.0</p>
1588
1630
</div>
1591
1633
<a name="GtkSourceView--tab-width"></a><h3>The <code class="literal">"tab-width"</code> property</h3>
1592
1634
<pre class="programlisting">  "tab-width"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write</pre>
1593
1635
<p>
1594
 
Width of an tab character expressed in number of spaces.</p>
 
1636
Width of an tab character expressed in number of spaces.
 
1637
</p>
1595
1638
<p>Allowed values: [1,32]</p>
1596
1639
<p>Default value: 8</p>
1597
1640
</div>
1607
1650
<p>
1608
1651
Emitted when a line mark has been activated (for instance when there
1609
1652
was a button press in the line marks gutter). You can use <em class="parameter"><code>iter</code></em> to
1610
 
determine on which line the activation took place.</p>
 
1653
determine on which line the activation took place.
 
1654
</p>
1611
1655
<div class="variablelist"><table border="0">
1612
1656
<col align="left" valign="top">
1613
1657
<tbody>
1614
1658
<tr>
1615
1659
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
1616
 
<td> the <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>
 
1660
<td>the <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>
1617
1661
</td>
1618
1662
</tr>
1619
1663
<tr>
1620
1664
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
1621
 
<td> a <a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a>
 
1665
<td>a <a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a>
1622
1666
</td>
1623
1667
</tr>
1624
1668
<tr>
1625
1669
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
1626
 
<td> the <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> that activated the event
 
1670
<td>the <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> that activated the event
1627
1671
</td>
1628
1672
</tr>
1629
1673
<tr>
1640
1684
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>       arg1,
1641
1685
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>           arg2,
1642
1686
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)       : Run Last / Action</pre>
1643
 
<p>
1644
 
</p>
1645
 
<div class="variablelist"><table border="0">
1646
 
<col align="left" valign="top">
1647
 
<tbody>
1648
 
<tr>
1649
 
<td><p><span class="term"><em class="parameter"><code>sourceview</code></em> :</span></p></td>
1650
 
<td>the object which received the signal.
1651
 
</td>
1652
 
</tr>
1653
 
<tr>
1654
 
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
1655
 
<td>
1656
 
</td>
1657
 
</tr>
1658
 
<tr>
1659
 
<td><p><span class="term"><em class="parameter"><code>arg2</code></em> :</span></p></td>
1660
 
<td>
1661
 
</td>
1662
 
</tr>
1663
 
<tr>
1664
 
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1665
 
<td>user data set when the signal handler was connected.</td>
1666
 
</tr>
1667
 
</tbody>
1668
 
</table></div>
1669
1687
</div>
1670
1688
<hr>
1671
1689
<div class="refsect2" title='The "redo" signal'>
1672
1690
<a name="GtkSourceView-redo"></a><h3>The <code class="literal">"redo"</code> signal</h3>
1673
1691
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *sourceview,
1674
1692
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)       : Run Last / Action</pre>
1675
 
<p>
1676
 
</p>
1677
 
<div class="variablelist"><table border="0">
1678
 
<col align="left" valign="top">
1679
 
<tbody>
1680
 
<tr>
1681
 
<td><p><span class="term"><em class="parameter"><code>sourceview</code></em> :</span></p></td>
1682
 
<td>the object which received the signal.
1683
 
</td>
1684
 
</tr>
1685
 
<tr>
1686
 
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1687
 
<td>user data set when the signal handler was connected.</td>
1688
 
</tr>
1689
 
</tbody>
1690
 
</table></div>
1691
1693
</div>
1692
1694
<hr>
1693
1695
<div class="refsect2" title='The "show-completion" signal'>
1701
1703
<p>
1702
1704
Applications should not connect to it, but may emit it with
1703
1705
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-emit-by-name"><span class="type">g_signal_emit_by_name</span></a> if they need to control the default mode
1704
 
completion activation.</p>
 
1706
completion activation.
 
1707
</p>
1705
1708
<div class="variablelist"><table border="0">
1706
1709
<col align="left" valign="top">
1707
1710
<tbody>
1708
1711
<tr>
1709
1712
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
1710
 
<td> The <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> who emits the signal
 
1713
<td>The <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> who emits the signal
1711
1714
</td>
1712
1715
</tr>
1713
1716
<tr>
1722
1725
<a name="GtkSourceView-undo"></a><h3>The <code class="literal">"undo"</code> signal</h3>
1723
1726
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *sourceview,
1724
1727
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)       : Run Last / Action</pre>
1725
 
<p>
1726
 
</p>
1727
 
<div class="variablelist"><table border="0">
1728
 
<col align="left" valign="top">
1729
 
<tbody>
1730
 
<tr>
1731
 
<td><p><span class="term"><em class="parameter"><code>sourceview</code></em> :</span></p></td>
1732
 
<td>the object which received the signal.
1733
 
</td>
1734
 
</tr>
1735
 
<tr>
1736
 
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1737
 
<td>user data set when the signal handler was connected.</td>
1738
 
</tr>
1739
 
</tbody>
1740
 
</table></div>
1741
1728
</div>
1742
1729
</div>
1743
1730
<div class="refsect1" title="See Also">
1747
1734
</div>
1748
1735
<div class="footer">
1749
1736
<hr>
1750
 
          Generated by GTK-Doc V1.13</div>
 
1737
          Generated by GTK-Doc V1.14</div>
1751
1738
</body>
1752
1739
</html>
 
 
b'\\ No newline at end of file'