~ubuntu-branches/ubuntu/trusty/anjuta/trusty

« back to all changes in this revision

Viewing changes to manuals/reference/libanjuta/html/libanjuta-IAnjutaIndenter.html

  • Committer: Package Import Robot
  • Author(s): Steve Ovens
  • Date: 2014-01-03 21:06:06 UTC
  • mfrom: (1.1.55)
  • Revision ID: package-import@ubuntu.com-20140103210606-pmvzhu0s68qy6261
Tags: 2:3.10.2-0ubuntu1
* New upstream release (LP: #1266037)
- Updated Build-Depends of libgtk-3-dev (>= 3.6.0),
  libglib2.0-dev (>= 2.34.0)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html>
 
3
<head>
 
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">
 
13
</head>
 
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">
 
16
<tr valign="middle">
 
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>
 
22
</tr>
 
23
<tr><td colspan="5" class="shortcuts">
 
24
<a href="#libanjuta-IAnjutaIndenter.synopsis" class="shortcut">Top</a>
 
25
                   | 
 
26
                  <a href="#libanjuta-IAnjutaIndenter.description" class="shortcut">Description</a>
 
27
</td></tr>
 
28
</table>
 
29
<div class="refentry">
 
30
<a name="libanjuta-IAnjutaIndenter"></a><div class="titlepage"></div>
 
31
<div class="refnamediv"><table width="100%"><tr>
 
32
<td valign="top">
 
33
<h2><span class="refentrytitle"><a name="libanjuta-IAnjutaIndenter.top_of_page"></a>IAnjutaIndenter</span></h2>
 
34
<p>IAnjutaIndenter — Interface for automatic indentation</p>
 
35
</td>
 
36
<td valign="top" align="right"></td>
 
37
</tr></table></div>
 
38
<div class="refsect1">
 
39
<a name="libanjuta-IAnjutaIndenter.stability-level"></a><h2>Stability Level</h2>
 
40
Unstable, unless otherwise indicated
 
41
</div>
 
42
<div class="refsynopsisdiv">
 
43
<a name="libanjuta-IAnjutaIndenter.synopsis"></a><h2>Synopsis</h2>
 
44
<pre class="synopsis">
 
45
#include &lt;libanjuta/interfaces/ianjuta-indenter.h&gt;
 
46
 
 
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>);
 
54
</pre>
 
55
</div>
 
56
<div class="refsect1">
 
57
<a name="libanjuta-IAnjutaIndenter.description"></a><h2>Description</h2>
 
58
</div>
 
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()
 
64
</pre>
 
65
<p>
 
66
</p>
 
67
</div>
 
68
<hr>
 
69
<div class="refsect2">
 
70
<a name="IAnjutaIndenterIface"></a><h3>struct IAnjutaIndenterIface</h3>
 
71
<pre class="programlisting">struct IAnjutaIndenterIface {
 
72
        GTypeInterface g_iface;
 
73
        
 
74
 
 
75
        void (*indent) (IAnjutaIndenter *obj, IAnjutaIterable* start,  IAnjutaIterable* end, GError **err);
 
76
};
 
77
</pre>
 
78
<p>
 
79
</p>
 
80
</div>
 
81
<hr>
 
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>
 
85
<p>
 
86
</p>
 
87
</div>
 
88
<hr>
 
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>
 
95
<p>
 
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.
 
101
</p>
 
102
<div class="variablelist"><table border="0" class="variablelist">
 
103
<colgroup>
 
104
<col align="left" valign="top">
 
105
<col>
 
106
</colgroup>
 
107
<tbody>
 
108
<tr>
 
109
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
 
110
<td>Self</td>
 
111
</tr>
 
112
<tr>
 
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>
 
115
</tr>
 
116
<tr>
 
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>
 
119
</tr>
 
120
<tr>
 
121
<td><p><span class="term"><em class="parameter"><code>err</code></em> :</span></p></td>
 
122
<td>Error propagation</td>
 
123
</tr>
 
124
</tbody>
 
125
</table></div>
 
126
</div>
 
127
</div>
 
128
</div>
 
129
<div class="footer">
 
130
<hr>
 
131
          Generated by GTK-Doc V1.19</div>
 
132
</body>
 
133
</html>
 
 
b'\\ No newline at end of file'