1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>IAnjutaIndenter</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
<link rel="home" href="index.html" title="Anjuta Developers Reference Manual">
8
<link rel="up" href="plugin-interfaces.html" title="Plugin interfaces">
9
<link rel="prev" href="libanjuta-IAnjutaHelp.html" title="IAnjutaHelp">
10
<link rel="next" href="libanjuta-IAnjutaIndicable.html" title="IAnjutaIndicable">
11
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
17
<td><a accesskey="p" href="libanjuta-IAnjutaHelp.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
<td><a accesskey="u" href="plugin-interfaces.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
<th width="100%" align="center">Anjuta Developers Reference Manual</th>
21
<td><a accesskey="n" href="libanjuta-IAnjutaIndicable.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23
<tr><td colspan="5" class="shortcuts">
24
<a href="#libanjuta-IAnjutaIndenter.synopsis" class="shortcut">Top</a>
26
<a href="#libanjuta-IAnjutaIndenter.description" class="shortcut">Description</a>
29
<div class="refentry">
30
<a name="libanjuta-IAnjutaIndenter"></a><div class="titlepage"></div>
31
<div class="refnamediv"><table width="100%"><tr>
33
<h2><span class="refentrytitle"><a name="libanjuta-IAnjutaIndenter.top_of_page"></a>IAnjutaIndenter</span></h2>
34
<p>IAnjutaIndenter — Interface for automatic indentation</p>
36
<td valign="top" align="right"></td>
38
<div class="refsect1">
39
<a name="libanjuta-IAnjutaIndenter.stability-level"></a><h2>Stability Level</h2>
40
Unstable, unless otherwise indicated
42
<div class="refsynopsisdiv">
43
<a name="libanjuta-IAnjutaIndenter.synopsis"></a><h2>Synopsis</h2>
44
<pre class="synopsis">
45
#include <libanjuta/interfaces/ianjuta-indenter.h>
47
#define <a class="link" href="libanjuta-IAnjutaIndenter.html#IANJUTA-INDENTER-ERROR:CAPS" title="IANJUTA_INDENTER_ERROR">IANJUTA_INDENTER_ERROR</a>
48
struct <a class="link" href="libanjuta-IAnjutaIndenter.html#IAnjutaIndenterIface" title="struct IAnjutaIndenterIface">IAnjutaIndenterIface</a>;
49
<span class="returnvalue">GQuark</span> <a class="link" href="libanjuta-IAnjutaIndenter.html#ianjuta-indenter-error-quark" title="ianjuta_indenter_error_quark ()">ianjuta_indenter_error_quark</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
50
<span class="returnvalue">void</span> <a class="link" href="libanjuta-IAnjutaIndenter.html#ianjuta-indenter-indent" title="ianjuta_indenter_indent ()">ianjuta_indenter_indent</a> (<em class="parameter"><code><span class="type">IAnjutaIndenter</span> *obj</code></em>,
51
<em class="parameter"><code><span class="type">IAnjutaIterable</span> *start</code></em>,
52
<em class="parameter"><code><span class="type">IAnjutaIterable</span> *end</code></em>,
53
<em class="parameter"><code><span class="type">GError</span> **err</code></em>);
56
<div class="refsect1">
57
<a name="libanjuta-IAnjutaIndenter.description"></a><h2>Description</h2>
59
<div class="refsect1">
60
<a name="libanjuta-IAnjutaIndenter.details"></a><h2>Details</h2>
61
<div class="refsect2">
62
<a name="IANJUTA-INDENTER-ERROR:CAPS"></a><h3>IANJUTA_INDENTER_ERROR</h3>
63
<pre class="programlisting">#define IANJUTA_INDENTER_ERROR ianjuta_indenter_error_quark()
69
<div class="refsect2">
70
<a name="IAnjutaIndenterIface"></a><h3>struct IAnjutaIndenterIface</h3>
71
<pre class="programlisting">struct IAnjutaIndenterIface {
72
GTypeInterface g_iface;
75
void (*indent) (IAnjutaIndenter *obj, IAnjutaIterable* start, IAnjutaIterable* end, GError **err);
82
<div class="refsect2">
83
<a name="ianjuta-indenter-error-quark"></a><h3>ianjuta_indenter_error_quark ()</h3>
84
<pre class="programlisting"><span class="returnvalue">GQuark</span> ianjuta_indenter_error_quark (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
89
<div class="refsect2">
90
<a name="ianjuta-indenter-indent"></a><h3>ianjuta_indenter_indent ()</h3>
91
<pre class="programlisting"><span class="returnvalue">void</span> ianjuta_indenter_indent (<em class="parameter"><code><span class="type">IAnjutaIndenter</span> *obj</code></em>,
92
<em class="parameter"><code><span class="type">IAnjutaIterable</span> *start</code></em>,
93
<em class="parameter"><code><span class="type">IAnjutaIterable</span> *end</code></em>,
94
<em class="parameter"><code><span class="type">GError</span> **err</code></em>);</pre>
96
Indent the area between <em class="parameter"><code>start</code></em> and <em class="parameter"><code>end</code></em> according to the indentation rules
97
of the programming language. Usually implemented by language support plugins.
98
Only one indenter can be loaded at a time.
99
Note: Indenters always affect full lines, so start and end will be moved
100
according to the next line start/end.
102
<div class="variablelist"><table border="0" class="variablelist">
104
<col align="left" valign="top">
109
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
113
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
114
<td>Start of the area to indent</td>
117
<td><p><span class="term"><em class="parameter"><code>end</code></em> :</span></p></td>
118
<td>End of the area to indent</td>
121
<td><p><span class="term"><em class="parameter"><code>err</code></em> :</span></p></td>
122
<td>Error propagation</td>
131
Generated by GTK-Doc V1.19</div>
b'\\ No newline at end of file'