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>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">
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="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>
23
<tr><td colspan="5" class="shortcuts">
24
<a href="#libinftext-0.5-inf-text-delete-operation.synopsis" class="shortcut">Top</a>
26
<a href="#libinftext-0.5-inf-text-delete-operation.description" class="shortcut">Description</a>
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>
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>
36
<td valign="top" align="right"></td>
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>);
61
<div class="refsect1">
62
<a name="libinftext-0.5-inf-text-delete-operation.description"></a><h2>Description</h2>
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;
74
guint(*get_position)(InfTextDeleteOperation* operation);
76
guint(*get_length)(InfTextDeleteOperation* operation);
78
InfTextDeleteOperation*(*transform_position)(InfTextDeleteOperation* op,
81
InfTextDeleteOperation*(*transform_overlap)(InfTextDeleteOperation* op,
82
InfTextDeleteOperation* other,
88
InfAdoptedSplitOperation*(*transform_split)(InfTextDeleteOperation* op,
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>
102
Returns the position at which <em class="parameter"><code>operation</code></em> starts to delete dext.
104
<div class="variablelist"><table border="0">
105
<col align="left" valign="top">
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>
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>
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>
124
Returns the number of characters deleted by <em class="parameter"><code>operation</code></em>.
126
<div class="variablelist"><table border="0">
127
<col align="left" valign="top">
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>
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>
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>
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).
150
<div class="variablelist"><table border="0">
151
<col align="left" valign="top">
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>
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>
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
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>
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).
179
<div class="variablelist"><table border="0">
180
<col align="left" valign="top">
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>
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>
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>
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>
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>.
208
<div class="variablelist"><table border="0">
209
<col align="left" valign="top">
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>
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>
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>
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>
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>
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>.
241
<div class="variablelist"><table border="0">
242
<col align="left" valign="top">
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>
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>
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>
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>
267
Generated by GTK-Doc V1.17</div>
b'\\ No newline at end of file'