~ubuntu-branches/ubuntu/oneiric/libinfinity/oneiric

« back to all changes in this revision

Viewing changes to docs/reference/libinftext/html/libinftext-0.5-inf-text-delete-operation.html

  • Committer: Bazaar Package Importer
  • Author(s): Philipp Kern
  • Date: 2011-04-03 15:50:33 UTC
  • mfrom: (1.2.4 upstream) (1.4.10 sid)
  • Revision ID: james.westby@ubuntu.com-20110403155033-eqntz262lxzt0d8s
Tags: 0.5.0-2
* Fix infinoted postinst and prerm.  (Closes: #620687)
* Updated debian/copyright.

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>inf-text-delete-operation</title>
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
 
7
<link rel="home" href="index.html" title="libinftext-0.5 Reference Manual">
 
8
<link rel="up" href="ch01.html" title="libinftext API reference">
 
9
<link rel="prev" href="libinftext-0.5-inf-text-insert-operation.html" title="inf-text-insert-operation">
 
10
<link rel="next" href="InfTextDefaultDeleteOperation.html" title="InfTextDefaultDeleteOperation">
 
11
<meta name="generator" content="GTK-Doc V1.17 (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="libinftext-0.5-inf-text-insert-operation.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
18
<td><a accesskey="u" href="ch01.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">libinftext-0.5 Reference Manual</th>
 
21
<td><a accesskey="n" href="InfTextDefaultDeleteOperation.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="#libinftext-0.5-inf-text-delete-operation.synopsis" class="shortcut">Top</a>
 
25
                   | 
 
26
                  <a href="#libinftext-0.5-inf-text-delete-operation.description" class="shortcut">Description</a>
 
27
</td></tr>
 
28
</table>
 
29
<div class="refentry">
 
30
<a name="libinftext-0.5-inf-text-delete-operation"></a><div class="titlepage"></div>
 
31
<div class="refnamediv"><table width="100%"><tr>
 
32
<td valign="top">
 
33
<h2><span class="refentrytitle"><a name="libinftext-0.5-inf-text-delete-operation.top_of_page"></a>inf-text-delete-operation</span></h2>
 
34
<p>inf-text-delete-operation</p>
 
35
</td>
 
36
<td valign="top" align="right"></td>
 
37
</tr></table></div>
 
38
<div class="refsynopsisdiv">
 
39
<a name="libinftext-0.5-inf-text-delete-operation.synopsis"></a><h2>Synopsis</h2>
 
40
<pre class="synopsis">struct              <a class="link" href="libinftext-0.5-inf-text-delete-operation.html#InfTextDeleteOperationIface" title="struct InfTextDeleteOperationIface">InfTextDeleteOperationIface</a>;
 
41
<span class="returnvalue">guint</span>               <a class="link" href="libinftext-0.5-inf-text-delete-operation.html#inf-text-delete-operation-get-position" title="inf_text_delete_operation_get_position ()">inf_text_delete_operation_get_position</a>
 
42
                                                        (<em class="parameter"><code><a class="link" href="libinftext-0.5-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *operation</code></em>);
 
43
<span class="returnvalue">guint</span>               <a class="link" href="libinftext-0.5-inf-text-delete-operation.html#inf-text-delete-operation-get-length" title="inf_text_delete_operation_get_length ()">inf_text_delete_operation_get_length</a>
 
44
                                                        (<em class="parameter"><code><a class="link" href="libinftext-0.5-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *operation</code></em>);
 
45
<span class="returnvalue">gboolean</span>            <a class="link" href="libinftext-0.5-inf-text-delete-operation.html#inf-text-delete-operation-need-concurrency-id" title="inf_text_delete_operation_need_concurrency_id ()">inf_text_delete_operation_need_concurrency_id</a>
 
46
                                                        (<em class="parameter"><code><a class="link" href="libinftext-0.5-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *op</code></em>,
 
47
                                                         <em class="parameter"><code><a href="http://infinote.0x539.de/libinfinity/API/libinfinity/InfAdoptedOperation.html"><span class="type">InfAdoptedOperation</span></a> *against</code></em>);
 
48
<a href="http://infinote.0x539.de/libinfinity/API/libinfinity/InfAdoptedOperation.html#InfAdoptedConcurrencyId"><span class="returnvalue">InfAdoptedConcurrencyId</span></a>  <a class="link" href="libinftext-0.5-inf-text-delete-operation.html#inf-text-delete-operation-get-concurrency-id" title="inf_text_delete_operation_get_concurrency_id ()">inf_text_delete_operation_get_concurrency_id</a>
 
49
                                                        (<em class="parameter"><code><a class="link" href="libinftext-0.5-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *op</code></em>,
 
50
                                                         <em class="parameter"><code><a href="http://infinote.0x539.de/libinfinity/API/libinfinity/InfAdoptedOperation.html"><span class="type">InfAdoptedOperation</span></a> *against</code></em>);
 
51
<a href="http://infinote.0x539.de/libinfinity/API/libinfinity/InfAdoptedOperation.html"><span class="returnvalue">InfAdoptedOperation</span></a> * <a class="link" href="libinftext-0.5-inf-text-delete-operation.html#inf-text-delete-operation-transform-insert" title="inf_text_delete_operation_transform_insert ()">inf_text_delete_operation_transform_insert</a>
 
52
                                                        (<em class="parameter"><code><a class="link" href="libinftext-0.5-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *operation</code></em>,
 
53
                                                         <em class="parameter"><code><a class="link" href="libinftext-0.5-inf-text-operations.html#InfTextInsertOperation"><span class="type">InfTextInsertOperation</span></a> *against</code></em>,
 
54
                                                         <em class="parameter"><code><a href="http://infinote.0x539.de/libinfinity/API/libinfinity/InfAdoptedOperation.html#InfAdoptedConcurrencyId"><span class="type">InfAdoptedConcurrencyId</span></a> cid</code></em>);
 
55
<a href="http://infinote.0x539.de/libinfinity/API/libinfinity/InfAdoptedOperation.html"><span class="returnvalue">InfAdoptedOperation</span></a> * <a class="link" href="libinftext-0.5-inf-text-delete-operation.html#inf-text-delete-operation-transform-delete" title="inf_text_delete_operation_transform_delete ()">inf_text_delete_operation_transform_delete</a>
 
56
                                                        (<em class="parameter"><code><a class="link" href="libinftext-0.5-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *operation</code></em>,
 
57
                                                         <em class="parameter"><code><a class="link" href="libinftext-0.5-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *against</code></em>,
 
58
                                                         <em class="parameter"><code><a href="http://infinote.0x539.de/libinfinity/API/libinfinity/InfAdoptedOperation.html#InfAdoptedConcurrencyId"><span class="type">InfAdoptedConcurrencyId</span></a> cid</code></em>);
 
59
</pre>
 
60
</div>
 
61
<div class="refsect1">
 
62
<a name="libinftext-0.5-inf-text-delete-operation.description"></a><h2>Description</h2>
 
63
<p>
 
64
</p>
 
65
</div>
 
66
<div class="refsect1">
 
67
<a name="libinftext-0.5-inf-text-delete-operation.details"></a><h2>Details</h2>
 
68
<div class="refsect2">
 
69
<a name="InfTextDeleteOperationIface"></a><h3>struct InfTextDeleteOperationIface</h3>
 
70
<pre class="programlisting">struct InfTextDeleteOperationIface {
 
71
  GTypeInterface parent;
 
72
 
 
73
  /* Virtual table */
 
74
  guint(*get_position)(InfTextDeleteOperation* operation);
 
75
 
 
76
  guint(*get_length)(InfTextDeleteOperation* operation);
 
77
 
 
78
  InfTextDeleteOperation*(*transform_position)(InfTextDeleteOperation* op,
 
79
                                               guint position);
 
80
 
 
81
  InfTextDeleteOperation*(*transform_overlap)(InfTextDeleteOperation* op,
 
82
                                              InfTextDeleteOperation* other,
 
83
                                              guint position,
 
84
                                              guint begin,
 
85
                                              guint other_begin,
 
86
                                              guint length);
 
87
 
 
88
  InfAdoptedSplitOperation*(*transform_split)(InfTextDeleteOperation* op,
 
89
                                              guint split_pos,
 
90
                                              guint split_length);
 
91
};
 
92
</pre>
 
93
<p>
 
94
</p>
 
95
</div>
 
96
<hr>
 
97
<div class="refsect2">
 
98
<a name="inf-text-delete-operation-get-position"></a><h3>inf_text_delete_operation_get_position ()</h3>
 
99
<pre class="programlisting"><span class="returnvalue">guint</span>               inf_text_delete_operation_get_position
 
100
                                                        (<em class="parameter"><code><a class="link" href="libinftext-0.5-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *operation</code></em>);</pre>
 
101
<p>
 
102
Returns the position at which <em class="parameter"><code>operation</code></em> starts to delete dext.
 
103
</p>
 
104
<div class="variablelist"><table border="0">
 
105
<col align="left" valign="top">
 
106
<tbody>
 
107
<tr>
 
108
<td><p><span class="term"><em class="parameter"><code>operation</code></em> :</span></p></td>
 
109
<td>A <a class="link" href="libinftext-0.5-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a>.</td>
 
110
</tr>
 
111
<tr>
 
112
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
113
<td>The position of <em class="parameter"><code>operation</code></em>.</td>
 
114
</tr>
 
115
</tbody>
 
116
</table></div>
 
117
</div>
 
118
<hr>
 
119
<div class="refsect2">
 
120
<a name="inf-text-delete-operation-get-length"></a><h3>inf_text_delete_operation_get_length ()</h3>
 
121
<pre class="programlisting"><span class="returnvalue">guint</span>               inf_text_delete_operation_get_length
 
122
                                                        (<em class="parameter"><code><a class="link" href="libinftext-0.5-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *operation</code></em>);</pre>
 
123
<p>
 
124
Returns the number of characters deleted by <em class="parameter"><code>operation</code></em>.
 
125
</p>
 
126
<div class="variablelist"><table border="0">
 
127
<col align="left" valign="top">
 
128
<tbody>
 
129
<tr>
 
130
<td><p><span class="term"><em class="parameter"><code>operation</code></em> :</span></p></td>
 
131
<td>A <a class="link" href="libinftext-0.5-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a>.</td>
 
132
</tr>
 
133
<tr>
 
134
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
135
<td>The length of <em class="parameter"><code>operation</code></em>.</td>
 
136
</tr>
 
137
</tbody>
 
138
</table></div>
 
139
</div>
 
140
<hr>
 
141
<div class="refsect2">
 
142
<a name="inf-text-delete-operation-need-concurrency-id"></a><h3>inf_text_delete_operation_need_concurrency_id ()</h3>
 
143
<pre class="programlisting"><span class="returnvalue">gboolean</span>            inf_text_delete_operation_need_concurrency_id
 
144
                                                        (<em class="parameter"><code><a class="link" href="libinftext-0.5-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *op</code></em>,
 
145
                                                         <em class="parameter"><code><a href="http://infinote.0x539.de/libinfinity/API/libinfinity/InfAdoptedOperation.html"><span class="type">InfAdoptedOperation</span></a> *against</code></em>);</pre>
 
146
<p>
 
147
Returns whether transforming <em class="parameter"><code>op</code></em> against <em class="parameter"><code>against</code></em> requires a concurrency ID
 
148
(see <a href="http://infinote.0x539.de/libinfinity/API/libinfinity/InfAdoptedOperation.html#inf-adopted-operation-need-concurrency-id"><code class="function">inf_adopted_operation_need_concurrency_id()</code></a> for further information).
 
149
</p>
 
150
<div class="variablelist"><table border="0">
 
151
<col align="left" valign="top">
 
152
<tbody>
 
153
<tr>
 
154
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
 
155
<td>A <a class="link" href="libinftext-0.5-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a>.</td>
 
156
</tr>
 
157
<tr>
 
158
<td><p><span class="term"><em class="parameter"><code>against</code></em> :</span></p></td>
 
159
<td>Another <a href="http://infinote.0x539.de/libinfinity/API/libinfinity/InfAdoptedOperation.html"><span class="type">InfAdoptedOperation</span></a>.</td>
 
160
</tr>
 
161
<tr>
 
162
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
163
<td>Whether transforming <em class="parameter"><code>op</code></em> against <em class="parameter"><code>against</code></em> requires a concurrency
 
164
ID.</td>
 
165
</tr>
 
166
</tbody>
 
167
</table></div>
 
168
</div>
 
169
<hr>
 
170
<div class="refsect2">
 
171
<a name="inf-text-delete-operation-get-concurrency-id"></a><h3>inf_text_delete_operation_get_concurrency_id ()</h3>
 
172
<pre class="programlisting"><a href="http://infinote.0x539.de/libinfinity/API/libinfinity/InfAdoptedOperation.html#InfAdoptedConcurrencyId"><span class="returnvalue">InfAdoptedConcurrencyId</span></a>  inf_text_delete_operation_get_concurrency_id
 
173
                                                        (<em class="parameter"><code><a class="link" href="libinftext-0.5-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *op</code></em>,
 
174
                                                         <em class="parameter"><code><a href="http://infinote.0x539.de/libinfinity/API/libinfinity/InfAdoptedOperation.html"><span class="type">InfAdoptedOperation</span></a> *against</code></em>);</pre>
 
175
<p>
 
176
Returns a concurrency ID for transformation of <em class="parameter"><code>op</code></em> against <em class="parameter"><code>against</code></em>
 
177
(see <a href="http://infinote.0x539.de/libinfinity/API/libinfinity/InfAdoptedOperation.html#inf-adopted-operation-get-concurrency-id"><code class="function">inf_adopted_operation_get_concurrency_id()</code></a> for further information).
 
178
</p>
 
179
<div class="variablelist"><table border="0">
 
180
<col align="left" valign="top">
 
181
<tbody>
 
182
<tr>
 
183
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
 
184
<td>A <a class="link" href="libinftext-0.5-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a>.</td>
 
185
</tr>
 
186
<tr>
 
187
<td><p><span class="term"><em class="parameter"><code>against</code></em> :</span></p></td>
 
188
<td>Another <a href="http://infinote.0x539.de/libinfinity/API/libinfinity/InfAdoptedOperation.html"><span class="type">InfAdoptedOperation</span></a>.</td>
 
189
</tr>
 
190
<tr>
 
191
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
192
<td>A concurrency ID between <em class="parameter"><code>op</code></em> and <em class="parameter"><code>against</code></em>.</td>
 
193
</tr>
 
194
</tbody>
 
195
</table></div>
 
196
</div>
 
197
<hr>
 
198
<div class="refsect2">
 
199
<a name="inf-text-delete-operation-transform-insert"></a><h3>inf_text_delete_operation_transform_insert ()</h3>
 
200
<pre class="programlisting"><a href="http://infinote.0x539.de/libinfinity/API/libinfinity/InfAdoptedOperation.html"><span class="returnvalue">InfAdoptedOperation</span></a> * inf_text_delete_operation_transform_insert
 
201
                                                        (<em class="parameter"><code><a class="link" href="libinftext-0.5-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *operation</code></em>,
 
202
                                                         <em class="parameter"><code><a class="link" href="libinftext-0.5-inf-text-operations.html#InfTextInsertOperation"><span class="type">InfTextInsertOperation</span></a> *against</code></em>,
 
203
                                                         <em class="parameter"><code><a href="http://infinote.0x539.de/libinfinity/API/libinfinity/InfAdoptedOperation.html#InfAdoptedConcurrencyId"><span class="type">InfAdoptedConcurrencyId</span></a> cid</code></em>);</pre>
 
204
<p>
 
205
Returns a new operation that includes the effect of <em class="parameter"><code>against</code></em> into
 
206
<em class="parameter"><code>operation</code></em>.
 
207
</p>
 
208
<div class="variablelist"><table border="0">
 
209
<col align="left" valign="top">
 
210
<tbody>
 
211
<tr>
 
212
<td><p><span class="term"><em class="parameter"><code>operation</code></em> :</span></p></td>
 
213
<td>A <a class="link" href="libinftext-0.5-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a>.</td>
 
214
</tr>
 
215
<tr>
 
216
<td><p><span class="term"><em class="parameter"><code>against</code></em> :</span></p></td>
 
217
<td>A <a class="link" href="libinftext-0.5-inf-text-operations.html#InfTextInsertOperation"><span class="type">InfTextInsertOperation</span></a>.</td>
 
218
</tr>
 
219
<tr>
 
220
<td><p><span class="term"><em class="parameter"><code>cid</code></em> :</span></p></td>
 
221
<td>The concurrency ID for the transformation.</td>
 
222
</tr>
 
223
<tr>
 
224
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
225
<td>A new <a href="http://infinote.0x539.de/libinfinity/API/libinfinity/InfAdoptedOperation.html"><span class="type">InfAdoptedOperation</span></a>.</td>
 
226
</tr>
 
227
</tbody>
 
228
</table></div>
 
229
</div>
 
230
<hr>
 
231
<div class="refsect2">
 
232
<a name="inf-text-delete-operation-transform-delete"></a><h3>inf_text_delete_operation_transform_delete ()</h3>
 
233
<pre class="programlisting"><a href="http://infinote.0x539.de/libinfinity/API/libinfinity/InfAdoptedOperation.html"><span class="returnvalue">InfAdoptedOperation</span></a> * inf_text_delete_operation_transform_delete
 
234
                                                        (<em class="parameter"><code><a class="link" href="libinftext-0.5-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *operation</code></em>,
 
235
                                                         <em class="parameter"><code><a class="link" href="libinftext-0.5-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a> *against</code></em>,
 
236
                                                         <em class="parameter"><code><a href="http://infinote.0x539.de/libinfinity/API/libinfinity/InfAdoptedOperation.html#InfAdoptedConcurrencyId"><span class="type">InfAdoptedConcurrencyId</span></a> cid</code></em>);</pre>
 
237
<p>
 
238
Returns a new operation that includes the effect of <em class="parameter"><code>against</code></em> into
 
239
<em class="parameter"><code>operation</code></em>.
 
240
</p>
 
241
<div class="variablelist"><table border="0">
 
242
<col align="left" valign="top">
 
243
<tbody>
 
244
<tr>
 
245
<td><p><span class="term"><em class="parameter"><code>operation</code></em> :</span></p></td>
 
246
<td>A <a class="link" href="libinftext-0.5-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a>.</td>
 
247
</tr>
 
248
<tr>
 
249
<td><p><span class="term"><em class="parameter"><code>against</code></em> :</span></p></td>
 
250
<td>Another <a class="link" href="libinftext-0.5-inf-text-operations.html#InfTextDeleteOperation"><span class="type">InfTextDeleteOperation</span></a>.</td>
 
251
</tr>
 
252
<tr>
 
253
<td><p><span class="term"><em class="parameter"><code>cid</code></em> :</span></p></td>
 
254
<td>The concurrency ID for the transformation.</td>
 
255
</tr>
 
256
<tr>
 
257
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
258
<td>A new <a href="http://infinote.0x539.de/libinfinity/API/libinfinity/InfAdoptedOperation.html"><span class="type">InfAdoptedOperation</span></a>.</td>
 
259
</tr>
 
260
</tbody>
 
261
</table></div>
 
262
</div>
 
263
</div>
 
264
</div>
 
265
<div class="footer">
 
266
<hr>
 
267
          Generated by GTK-Doc V1.17</div>
 
268
</body>
 
269
</html>
 
 
b'\\ No newline at end of file'