~ubuntu-branches/ubuntu/maverick/conglomerate/maverick

« back to all changes in this revision

Viewing changes to doc/reference/html/CongCommand.html

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2005-11-08 05:07:06 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051108050706-bcg60nwqf1z3w0d6
Tags: 0.9.1-1ubuntu1
* Resynchronise with Debian (Closes: #4397).
  - Thanks, Jordan Mantha.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
                                             <a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> adoptive_parent);
74
74
void        <a href="CongCommand.html#cong-command-add-node-set-text">cong_command_add_node_set_text</a>  (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
75
75
                                             <a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> node,
76
 
                                             const xmlChar *new_content);
 
76
                                             const gchar *new_content);
77
77
void        <a href="CongCommand.html#cong-command-add-node-set-attribute">cong_command_add_node_set_attribute</a>
78
78
                                            (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
79
79
                                             <a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> node,
80
80
                                             xmlNs *ns_ptr,
81
 
                                             const xmlChar *name,
82
 
                                             const xmlChar *value);
 
81
                                             const gchar *name,
 
82
                                             const gchar *value);
83
83
void        <a href="CongCommand.html#cong-command-add-node-remove-attribute">cong_command_add_node_remove_attribute</a>
84
84
                                            (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
85
85
                                             <a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> node,
86
86
                                             xmlNs *ns_ptr,
87
 
                                             const xmlChar *name);
 
87
                                             const gchar *name);
88
88
void        <a href="CongCommand.html#cong-command-add-selection-change">cong_command_add_selection_change</a>
89
89
                                            (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
90
90
                                             const CongLocation *new_logical_start,
142
142
gboolean    <a href="CongCommand.html#cong-command-add-required-sub-elements">cong_command_add_required_sub_elements</a>
143
143
                                            (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
144
144
                                             <a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> node);
145
 
</pre></div><div class="refsect1" lang="en"><a name="id2809171"></a><h2>Object Hierarchy</h2><pre class="synopsis">
 
145
</pre></div><div class="refsect1" lang="en"><a name="id2592918"></a><h2>Object Hierarchy</h2><pre class="synopsis">
146
146
 
147
147
  GObject
148
148
   +----CongCommand
149
 
</pre></div><div class="refsect1" lang="en"><a name="id2809191"></a><h2>Description</h2><p>
 
149
</pre></div><div class="refsect1" lang="en"><a name="id2592937"></a><h2>Description</h2><p>
150
150
 
151
 
</p></div><div class="refsect1" lang="en"><a name="id2809200"></a><h2>Details</h2><div class="refsect2" lang="en"><a name="id2809206"></a><h3><a name="DEBUG-COMMAND-LIFETIMES-CAPS"></a>DEBUG_COMMAND_LIFETIMES</h3><a class="indexterm" name="id2809219"></a><pre class="programlisting">#define DEBUG_COMMAND_LIFETIMES 0
 
151
</p></div><div class="refsect1" lang="en"><a name="id2592947"></a><h2>Details</h2><div class="refsect2" lang="en"><a name="id2592953"></a><h3><a name="DEBUG-COMMAND-LIFETIMES-CAPS"></a>DEBUG_COMMAND_LIFETIMES</h3><a class="indexterm" name="id2592965"></a><pre class="programlisting">#define DEBUG_COMMAND_LIFETIMES 0
152
152
</pre><p>
153
153
 
154
 
</p></div><hr><div class="refsect2" lang="en"><a name="id2809234"></a><h3><a name="CongCommand-struct"></a>struct CongCommand</h3><a class="indexterm" name="id2809245"></a><pre class="programlisting">struct CongCommand;</pre><p>
 
154
</p></div><hr><div class="refsect2" lang="en"><a name="id2592980"></a><h3><a name="CongCommand-struct"></a>struct CongCommand</h3><a class="indexterm" name="id2592991"></a><pre class="programlisting">struct CongCommand;</pre><p>
155
155
 
156
 
</p></div><hr><div class="refsect2" lang="en"><a name="id2809260"></a><h3><a name="CONG-COMMAND-CAPS"></a>CONG_COMMAND()</h3><a class="indexterm" name="id2809271"></a><pre class="programlisting">#define CONG_COMMAND(obj)         G_TYPE_CHECK_INSTANCE_CAST (obj, CONG_COMMAND_TYPE, CongCommand)
 
156
</p></div><hr><div class="refsect2" lang="en"><a name="id2593006"></a><h3><a name="CONG-COMMAND-CAPS"></a>CONG_COMMAND()</h3><a class="indexterm" name="id2593017"></a><pre class="programlisting">#define CONG_COMMAND(obj)         G_TYPE_CHECK_INSTANCE_CAST (obj, CONG_COMMAND_TYPE, CongCommand)
157
157
</pre><p>
158
158
 
159
159
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>obj</tt></i>�:</span></td><td>
160
160
 
161
161
 
162
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2809305"></a><h3><a name="CONG-COMMAND-CLASS-CAPS"></a>CONG_COMMAND_CLASS()</h3><a class="indexterm" name="id2809316"></a><pre class="programlisting">#define CONG_COMMAND_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, CONG_COMMAND_TYPE, CongCommandClass)
 
162
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2593051"></a><h3><a name="CONG-COMMAND-CLASS-CAPS"></a>CONG_COMMAND_CLASS()</h3><a class="indexterm" name="id2593063"></a><pre class="programlisting">#define CONG_COMMAND_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, CONG_COMMAND_TYPE, CongCommandClass)
163
163
</pre><p>
164
164
 
165
165
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>klass</tt></i>�:</span></td><td>
166
166
 
167
167
 
168
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2809351"></a><h3><a name="IS-CONG-COMMAND-CAPS"></a>IS_CONG_COMMAND()</h3><a class="indexterm" name="id2809363"></a><pre class="programlisting">#define IS_CONG_COMMAND(obj)      G_TYPE_CHECK_INSTANCE_TYPE (obj, CONG_COMMAND_TYPE)
 
168
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2593097"></a><h3><a name="IS-CONG-COMMAND-CAPS"></a>IS_CONG_COMMAND()</h3><a class="indexterm" name="id2593109"></a><pre class="programlisting">#define IS_CONG_COMMAND(obj)      G_TYPE_CHECK_INSTANCE_TYPE (obj, CONG_COMMAND_TYPE)
169
169
</pre><p>
170
170
 
171
171
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>obj</tt></i>�:</span></td><td>
172
172
 
173
173
 
174
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2809396"></a><h3><a name="cong-command-get-type"></a>cong_command_get_type ()</h3><a class="indexterm" name="id2809408"></a><pre class="programlisting">GType       cong_command_get_type           (void);</pre><p>
 
174
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2593143"></a><h3><a name="cong-command-get-type"></a>cong_command_get_type ()</h3><a class="indexterm" name="id2593154"></a><pre class="programlisting">GType       cong_command_get_type           (void);</pre><p>
175
175
 
176
176
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>
177
177
 
178
178
 
179
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2809443"></a><h3><a name="cong-command-construct"></a>cong_command_construct ()</h3><a class="indexterm" name="id2809455"></a><pre class="programlisting"><a href="CongCommand.html" title="CongCommand">CongCommand</a>* cong_command_construct         (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *command,
 
179
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2593190"></a><h3><a name="cong-command-construct"></a>cong_command_construct ()</h3><a class="indexterm" name="id2593201"></a><pre class="programlisting"><a href="CongCommand.html" title="CongCommand">CongCommand</a>* cong_command_construct         (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *command,
180
180
                                             <a href="CongDocument.html" title="CongDocument">CongDocument</a> *doc,
181
181
                                             const gchar *description,
182
182
                                             const gchar *consolidation_id);</pre><p>
187
187
</td></tr><tr><td><span class="term"><i class="parameter"><tt>description</tt></i>�:</span></td><td>
188
188
</td></tr><tr><td><span class="term"><i class="parameter"><tt>consolidation_id</tt></i>�:</span></td><td>
189
189
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>
190
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2809578"></a><h3><a name="cong-command-private-new"></a>cong_command_private_new ()</h3><a class="indexterm" name="id2809590"></a><pre class="programlisting"><a href="CongCommand.html" title="CongCommand">CongCommand</a>* cong_command_private_new       (<a href="CongDocument.html" title="CongDocument">CongDocument</a> *doc,
 
190
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2593325"></a><h3><a name="cong-command-private-new"></a>cong_command_private_new ()</h3><a class="indexterm" name="id2593336"></a><pre class="programlisting"><a href="CongCommand.html" title="CongCommand">CongCommand</a>* cong_command_private_new       (<a href="CongDocument.html" title="CongDocument">CongDocument</a> *doc,
191
191
                                             const gchar *description,
192
192
                                             const gchar *consolidation_id);</pre><p>
193
 
TODO: Write me</p><p>
194
 
 
195
 
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>doc</tt></i>�:</span></td><td>
196
 
</td></tr><tr><td><span class="term"><i class="parameter"><tt>description</tt></i>�:</span></td><td>
197
 
</td></tr><tr><td><span class="term"><i class="parameter"><tt>consolidation_id</tt></i>�:</span></td><td>
198
 
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>
199
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2809692"></a><h3><a name="cong-command-get-document"></a>cong_command_get_document ()</h3><a class="indexterm" name="id2809705"></a><pre class="programlisting"><a href="CongDocument.html" title="CongDocument">CongDocument</a>* cong_command_get_document     (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *command);</pre><p>
200
 
TODO: Write me</p><p>
201
 
 
202
 
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>command</tt></i>�:</span></td><td>
203
 
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>
204
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2809764"></a><h3><a name="cong-command-get-description"></a>cong_command_get_description ()</h3><a class="indexterm" name="id2809776"></a><pre class="programlisting">const gchar* cong_command_get_description   (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *command);</pre><p>
205
 
TODO: Write me</p><p>
206
 
 
207
 
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>command</tt></i>�:</span></td><td>
208
 
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>
209
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2809837"></a><h3><a name="cong-command-get-consolidation-id"></a>cong_command_get_consolidation_id ()</h3><a class="indexterm" name="id2809850"></a><pre class="programlisting">const gchar* cong_command_get_consolidation_id
 
193
Should only be called by the internals of <a href="CongDocument.html" title="CongDocument"><span class="type">CongDocument</span></a>; if you wish to create a <a href="CongCommand.html" title="CongCommand"><span class="type">CongCommand</span></a> you should call <a href="CongDocument.html#cong-document-begin-command"><tt class="function">cong_document_begin_command()</tt></a>
 
194
instead.</p><p>
 
195
 
 
196
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>doc</tt></i>�:</span></td><td> The <a href="CongDocument.html" title="CongDocument"><span class="type">CongDocument</span></a> upon which the command is to act.
 
197
</td></tr><tr><td><span class="term"><i class="parameter"><tt>description</tt></i>�:</span></td><td> Human-readable, translated name for this command, as it will appear in the undo/redo history
 
198
widget
 
199
</td></tr><tr><td><span class="term"><i class="parameter"><tt>consolidation_id</tt></i>�:</span></td><td> A string ID (or NULL) for this command to allow multiple similar commands to be consolidated into 
 
200
a single command.  For example, multiple characters being typed at the keboard can be merged into a single "Typing" command.
 
201
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>  the new <a href="CongCommand.html" title="CongCommand"><span class="type">CongCommand</span></a>
 
202
 
 
203
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2593491"></a><h3><a name="cong-command-get-document"></a>cong_command_get_document ()</h3><a class="indexterm" name="id2593502"></a><pre class="programlisting"><a href="CongDocument.html" title="CongDocument">CongDocument</a>* cong_command_get_document     (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *command);</pre><p>
 
204
TODO: Write me</p><p>
 
205
 
 
206
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>command</tt></i>�:</span></td><td>
 
207
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>
 
208
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2593562"></a><h3><a name="cong-command-get-description"></a>cong_command_get_description ()</h3><a class="indexterm" name="id2593574"></a><pre class="programlisting">const gchar* cong_command_get_description   (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *command);</pre><p>
 
209
</p><p>
 
210
 
 
211
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>command</tt></i>�:</span></td><td> a command
 
212
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> the human-readable description of this command
 
213
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2593635"></a><h3><a name="cong-command-get-consolidation-id"></a>cong_command_get_consolidation_id ()</h3><a class="indexterm" name="id2593648"></a><pre class="programlisting">const gchar* cong_command_get_consolidation_id
210
214
                                            (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *command);</pre><p>
211
 
TODO: Write me</p><p>
212
 
 
213
 
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>command</tt></i>�:</span></td><td>
214
 
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>
215
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2809911"></a><h3><a name="cong-command-undo"></a>cong_command_undo ()</h3><a class="indexterm" name="id2809922"></a><pre class="programlisting">void        cong_command_undo               (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *command);</pre><p>
216
 
TODO: Write me</p><p>
217
 
 
218
 
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>command</tt></i>�:</span></td><td>
219
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2809971"></a><h3><a name="cong-command-redo"></a>cong_command_redo ()</h3><a class="indexterm" name="id2809983"></a><pre class="programlisting">void        cong_command_redo               (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *command);</pre><p>
220
 
TODO: Write me</p><p>
221
 
 
222
 
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>command</tt></i>�:</span></td><td>
223
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2810032"></a><h3><a name="cong-command-merge"></a>cong_command_merge ()</h3><a class="indexterm" name="id2810044"></a><pre class="programlisting">void        cong_command_merge              (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *dst,
 
215
Gets the ID (or NULL) of the command used for consolidating multiple similar operations into a single entry in the undo/redo history</p><p>
 
216
 
 
217
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>command</tt></i>�:</span></td><td>  The relevant <a href="CongCommand.html" title="CongCommand"><span class="type">CongCommand</span></a> 
 
218
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> a constant string, or NULL if no merging is to occur
 
219
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2593720"></a><h3><a name="cong-command-undo"></a>cong_command_undo ()</h3><a class="indexterm" name="id2593732"></a><pre class="programlisting">void        cong_command_undo               (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *command);</pre><p>
 
220
Undoes the command.  All modifications contained within the command are undone from the document (in reverse order), the document's "is-modified" flag is set to whatever it was when the command was created.</p><p>
 
221
 
 
222
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>command</tt></i>�:</span></td><td> a command
 
223
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2593784"></a><h3><a name="cong-command-redo"></a>cong_command_redo ()</h3><a class="indexterm" name="id2593796"></a><pre class="programlisting">void        cong_command_redo               (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *command);</pre><p>
 
224
Redoes a command that has previously been undone.  Replays all the modifications on the document in order from start to finish.</p><p>
 
225
 
 
226
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>command</tt></i>�:</span></td><td>
 
227
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2593847"></a><h3><a name="cong-command-merge"></a>cong_command_merge ()</h3><a class="indexterm" name="id2593859"></a><pre class="programlisting">void        cong_command_merge              (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *dst,
224
228
                                             <a href="CongCommand.html" title="CongCommand">CongCommand</a> *src);</pre><p>
225
 
TODO: Write me</p><p>
 
229
Takes all of the modifications from <i class="parameter"><tt>src</tt></i> and places them on the end of <i class="parameter"><tt>dst</tt></i>.  Only to be used by the internals of the undo/redo management</p><p>
226
230
 
227
 
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>dst</tt></i>�:</span></td><td>
228
 
</td></tr><tr><td><span class="term"><i class="parameter"><tt>src</tt></i>�:</span></td><td>
229
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2810113"></a><h3><a name="cong-command-has-ever-been-undone"></a>cong_command_has_ever_been_undone ()</h3><a class="indexterm" name="id2810126"></a><pre class="programlisting">gboolean    cong_command_has_ever_been_undone
 
231
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>dst</tt></i>�:</span></td><td> The <a href="CongCommand.html" title="CongCommand"><span class="type">CongCommand</span></a> into which the modifications are to be added
 
232
</td></tr><tr><td><span class="term"><i class="parameter"><tt>src</tt></i>�:</span></td><td> The <a href="CongCommand.html" title="CongCommand"><span class="type">CongCommand</span></a> from which the modifications are to be taken
 
233
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2593959"></a><h3><a name="cong-command-has-ever-been-undone"></a>cong_command_has_ever_been_undone ()</h3><a class="indexterm" name="id2593972"></a><pre class="programlisting">gboolean    cong_command_has_ever_been_undone
230
234
                                            (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd);</pre><p>
 
235
A function used by the command consolidation/merging system.  If you undo then redo a command,
 
236
further similar operations should get separate entries in the undo/redo histroy, rather than being
 
237
merged.</p><p>
231
238
 
232
239
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
233
 
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>
234
 
 
235
 
 
236
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2810182"></a><h3><a name="cong-command-add-modification"></a>cong_command_add_modification ()</h3><a class="indexterm" name="id2810194"></a><pre class="programlisting">void        cong_command_add_modification   (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
 
240
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> A <span class="type">gboolean</span>, answering the question "has this command ever been undone?"
 
241
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2594044"></a><h3><a name="cong-command-add-modification"></a>cong_command_add_modification ()</h3><a class="indexterm" name="id2594056"></a><pre class="programlisting">void        cong_command_add_modification   (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
237
242
                                             <a href="CongModification.html" title="CongModification">CongModification</a> *modification);</pre><p>
238
243
TODO: Write me</p><p>
239
244
 
240
245
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
241
246
</td></tr><tr><td><span class="term"><i class="parameter"><tt>modification</tt></i>�:</span></td><td>
242
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2810265"></a><h3><a name="cong-command-add-node-make-orphan"></a>cong_command_add_node_make_orphan ()</h3><a class="indexterm" name="id2810278"></a><pre class="programlisting">void        cong_command_add_node_make_orphan
 
247
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2594127"></a><h3><a name="cong-command-add-node-make-orphan"></a>cong_command_add_node_make_orphan ()</h3><a class="indexterm" name="id2594140"></a><pre class="programlisting">void        cong_command_add_node_make_orphan
243
248
                                            (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
244
249
                                             <a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> node);</pre><p>
245
250
TODO: Write me</p><p>
246
251
 
247
252
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
248
253
</td></tr><tr><td><span class="term"><i class="parameter"><tt>node</tt></i>�:</span></td><td>
249
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2810349"></a><h3><a name="cong-command-add-node-add-after"></a>cong_command_add_node_add_after ()</h3><a class="indexterm" name="id2810361"></a><pre class="programlisting">void        cong_command_add_node_add_after (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
 
254
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2594210"></a><h3><a name="cong-command-add-node-add-after"></a>cong_command_add_node_add_after ()</h3><a class="indexterm" name="id2594222"></a><pre class="programlisting">void        cong_command_add_node_add_after (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
250
255
                                             <a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> node,
251
256
                                             <a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> older_sibling);</pre><p>
252
257
TODO: Write me</p><p>
254
259
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
255
260
</td></tr><tr><td><span class="term"><i class="parameter"><tt>node</tt></i>�:</span></td><td>
256
261
</td></tr><tr><td><span class="term"><i class="parameter"><tt>older_sibling</tt></i>�:</span></td><td>
257
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2810453"></a><h3><a name="cong-command-add-node-add-before"></a>cong_command_add_node_add_before ()</h3><a class="indexterm" name="id2810465"></a><pre class="programlisting">void        cong_command_add_node_add_before
 
262
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2594315"></a><h3><a name="cong-command-add-node-add-before"></a>cong_command_add_node_add_before ()</h3><a class="indexterm" name="id2594327"></a><pre class="programlisting">void        cong_command_add_node_add_before
258
263
                                            (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
259
264
                                             <a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> node,
260
265
                                             <a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> younger_sibling);</pre><p>
263
268
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
264
269
</td></tr><tr><td><span class="term"><i class="parameter"><tt>node</tt></i>�:</span></td><td>
265
270
</td></tr><tr><td><span class="term"><i class="parameter"><tt>younger_sibling</tt></i>�:</span></td><td>
266
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2810558"></a><h3><a name="cong-command-add-node-set-parent"></a>cong_command_add_node_set_parent ()</h3><a class="indexterm" name="id2810570"></a><pre class="programlisting">void        cong_command_add_node_set_parent
 
271
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2594420"></a><h3><a name="cong-command-add-node-set-parent"></a>cong_command_add_node_set_parent ()</h3><a class="indexterm" name="id2594432"></a><pre class="programlisting">void        cong_command_add_node_set_parent
267
272
                                            (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
268
273
                                             <a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> node,
269
274
                                             <a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> adoptive_parent);</pre><p>
272
277
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
273
278
</td></tr><tr><td><span class="term"><i class="parameter"><tt>node</tt></i>�:</span></td><td>
274
279
</td></tr><tr><td><span class="term"><i class="parameter"><tt>adoptive_parent</tt></i>�:</span></td><td>
275
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2810663"></a><h3><a name="cong-command-add-node-set-text"></a>cong_command_add_node_set_text ()</h3><a class="indexterm" name="id2810675"></a><pre class="programlisting">void        cong_command_add_node_set_text  (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
 
280
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2594525"></a><h3><a name="cong-command-add-node-set-text"></a>cong_command_add_node_set_text ()</h3><a class="indexterm" name="id2594536"></a><pre class="programlisting">void        cong_command_add_node_set_text  (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
276
281
                                             <a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> node,
277
 
                                             const xmlChar *new_content);</pre><p>
 
282
                                             const gchar *new_content);</pre><p>
278
283
TODO: Write me</p><p>
279
284
 
280
285
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
281
286
</td></tr><tr><td><span class="term"><i class="parameter"><tt>node</tt></i>�:</span></td><td>
282
287
</td></tr><tr><td><span class="term"><i class="parameter"><tt>new_content</tt></i>�:</span></td><td>
283
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2810767"></a><h3><a name="cong-command-add-node-set-attribute"></a>cong_command_add_node_set_attribute ()</h3><a class="indexterm" name="id2810780"></a><pre class="programlisting">void        cong_command_add_node_set_attribute
 
288
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2594628"></a><h3><a name="cong-command-add-node-set-attribute"></a>cong_command_add_node_set_attribute ()</h3><a class="indexterm" name="id2594641"></a><pre class="programlisting">void        cong_command_add_node_set_attribute
284
289
                                            (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
285
290
                                             <a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> node,
286
291
                                             xmlNs *ns_ptr,
287
 
                                             const xmlChar *name,
288
 
                                             const xmlChar *value);</pre><p>
 
292
                                             const gchar *name,
 
293
                                             const gchar *value);</pre><p>
289
294
TODO: Write me</p><p>
290
295
 
291
296
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
293
298
</td></tr><tr><td><span class="term"><i class="parameter"><tt>ns_ptr</tt></i>�:</span></td><td>
294
299
</td></tr><tr><td><span class="term"><i class="parameter"><tt>name</tt></i>�:</span></td><td>
295
300
</td></tr><tr><td><span class="term"><i class="parameter"><tt>value</tt></i>�:</span></td><td>
296
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2810914"></a><h3><a name="cong-command-add-node-remove-attribute"></a>cong_command_add_node_remove_attribute ()</h3><a class="indexterm" name="id2810927"></a><pre class="programlisting">void        cong_command_add_node_remove_attribute
 
301
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2594776"></a><h3><a name="cong-command-add-node-remove-attribute"></a>cong_command_add_node_remove_attribute ()</h3><a class="indexterm" name="id2594788"></a><pre class="programlisting">void        cong_command_add_node_remove_attribute
297
302
                                            (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
298
303
                                             <a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> node,
299
304
                                             xmlNs *ns_ptr,
300
 
                                             const xmlChar *name);</pre><p>
 
305
                                             const gchar *name);</pre><p>
301
306
TODO: Write me</p><p>
302
307
 
303
308
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
304
309
</td></tr><tr><td><span class="term"><i class="parameter"><tt>node</tt></i>�:</span></td><td>
305
310
</td></tr><tr><td><span class="term"><i class="parameter"><tt>ns_ptr</tt></i>�:</span></td><td>
306
311
</td></tr><tr><td><span class="term"><i class="parameter"><tt>name</tt></i>�:</span></td><td>
307
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2811041"></a><h3><a name="cong-command-add-selection-change"></a>cong_command_add_selection_change ()</h3><a class="indexterm" name="id2811054"></a><pre class="programlisting">void        cong_command_add_selection_change
 
312
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2594903"></a><h3><a name="cong-command-add-selection-change"></a>cong_command_add_selection_change ()</h3><a class="indexterm" name="id2594916"></a><pre class="programlisting">void        cong_command_add_selection_change
308
313
                                            (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
309
314
                                             const CongLocation *new_logical_start,
310
315
                                             const CongLocation *new_logical_end);</pre><p>
313
318
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
314
319
</td></tr><tr><td><span class="term"><i class="parameter"><tt>new_logical_start</tt></i>�:</span></td><td>
315
320
</td></tr><tr><td><span class="term"><i class="parameter"><tt>new_logical_end</tt></i>�:</span></td><td>
316
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2811147"></a><h3><a name="cong-command-add-cursor-change"></a>cong_command_add_cursor_change ()</h3><a class="indexterm" name="id2811160"></a><pre class="programlisting">void        cong_command_add_cursor_change  (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
 
321
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2595009"></a><h3><a name="cong-command-add-cursor-change"></a>cong_command_add_cursor_change ()</h3><a class="indexterm" name="id2595021"></a><pre class="programlisting">void        cong_command_add_cursor_change  (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
317
322
                                             const CongLocation *new_location);</pre><p>
318
323
TODO: Write me</p><p>
319
324
 
320
325
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
321
326
</td></tr><tr><td><span class="term"><i class="parameter"><tt>new_location</tt></i>�:</span></td><td>
322
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2811231"></a><h3><a name="cong-command-add-set-dtd-ptr"></a>cong_command_add_set_dtd_ptr ()</h3><a class="indexterm" name="id2811243"></a><pre class="programlisting">void        cong_command_add_set_dtd_ptr    (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
 
327
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2595093"></a><h3><a name="cong-command-add-set-dtd-ptr"></a>cong_command_add_set_dtd_ptr ()</h3><a class="indexterm" name="id2595105"></a><pre class="programlisting">void        cong_command_add_set_dtd_ptr    (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
323
328
                                             xmlDtdPtr dtd_ptr);</pre><p>
324
329
TODO: Write me</p><p>
325
330
 
326
331
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
327
332
</td></tr><tr><td><span class="term"><i class="parameter"><tt>dtd_ptr</tt></i>�:</span></td><td>
328
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2811314"></a><h3><a name="cong-command-add-set-clipboard"></a>cong_command_add_set_clipboard ()</h3><a class="indexterm" name="id2811326"></a><pre class="programlisting">void        cong_command_add_set_clipboard  (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
 
333
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2595175"></a><h3><a name="cong-command-add-set-clipboard"></a>cong_command_add_set_clipboard ()</h3><a class="indexterm" name="id2595188"></a><pre class="programlisting">void        cong_command_add_set_clipboard  (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
329
334
                                             const gchar *clipboard_source);</pre><p>
330
335
 
331
336
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
332
337
</td></tr><tr><td><span class="term"><i class="parameter"><tt>clipboard_source</tt></i>�:</span></td><td>
333
338
 
334
339
 
335
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2811393"></a><h3><a name="cong-command-add-node-recursive-delete"></a>cong_command_add_node_recursive_delete ()</h3><a class="indexterm" name="id2811406"></a><pre class="programlisting">void        cong_command_add_node_recursive_delete
 
340
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2595255"></a><h3><a name="cong-command-add-node-recursive-delete"></a>cong_command_add_node_recursive_delete ()</h3><a class="indexterm" name="id2595268"></a><pre class="programlisting">void        cong_command_add_node_recursive_delete
336
341
                                            (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
337
342
                                             <a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> node);</pre><p>
338
343
TODO: Write me</p><p>
339
344
 
340
345
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
341
346
</td></tr><tr><td><span class="term"><i class="parameter"><tt>node</tt></i>�:</span></td><td>
342
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2811478"></a><h3><a name="cong-command-for-each-location"></a>cong_command_for_each_location ()</h3><a class="indexterm" name="id2811490"></a><pre class="programlisting">void        cong_command_for_each_location  (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
 
347
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2595339"></a><h3><a name="cong-command-for-each-location"></a>cong_command_for_each_location ()</h3><a class="indexterm" name="id2595352"></a><pre class="programlisting">void        cong_command_for_each_location  (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
343
348
                                             CongUpdateLocationCallback callback,
344
349
                                             gpointer user_data);</pre><p>
345
350
TODO: Write me</p><p>
347
352
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
348
353
</td></tr><tr><td><span class="term"><i class="parameter"><tt>callback</tt></i>�:</span></td><td>
349
354
</td></tr><tr><td><span class="term"><i class="parameter"><tt>user_data</tt></i>�:</span></td><td>
350
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2811583"></a><h3><a name="cong-command-add-delete-range"></a>cong_command_add_delete_range ()</h3><a class="indexterm" name="id2811594"></a><pre class="programlisting">void        cong_command_add_delete_range   (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
 
355
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2595444"></a><h3><a name="cong-command-add-delete-range"></a>cong_command_add_delete_range ()</h3><a class="indexterm" name="id2595456"></a><pre class="programlisting">void        cong_command_add_delete_range   (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
351
356
                                             CongRange *range);</pre><p>
352
 
TODO: Write me</p><p>
 
357
Utility function to add a series of modifications to the given command.
 
358
</p><p>
 
359
Deletes the given range within the document (can include multiple nodes).  Updates cursor and selection accordingly.</p><p>
353
360
 
354
361
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
355
 
</td></tr><tr><td><span class="term"><i class="parameter"><tt>range</tt></i>�:</span></td><td>
356
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2811665"></a><h3><a name="cong-command-add-delete-selection"></a>cong_command_add_delete_selection ()</h3><a class="indexterm" name="id2811677"></a><pre class="programlisting">void        cong_command_add_delete_selection
 
362
</td></tr><tr><td><span class="term"><i class="parameter"><tt>range</tt></i>�:</span></td><td> a range within the document; both start and end must have the same parent, so that proper nesting is maintained
 
363
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2595535"></a><h3><a name="cong-command-add-delete-selection"></a>cong_command_add_delete_selection ()</h3><a class="indexterm" name="id2595547"></a><pre class="programlisting">void        cong_command_add_delete_selection
357
364
                                            (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd);</pre><p>
358
 
TODO: Write me</p><p>
 
365
Utility function to add a series of modifications to the given command.
 
366
</p><p>
 
367
Deletes the current selection within the document, updating cursor and selection accordingly.</p><p>
359
368
 
360
369
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
361
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2811727"></a><h3><a name="cong-command-add-insert-text-at-cursor"></a>cong_command_add_insert_text_at_cursor ()</h3><a class="indexterm" name="id2811740"></a><pre class="programlisting">void        cong_command_add_insert_text_at_cursor
 
370
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2595603"></a><h3><a name="cong-command-add-insert-text-at-cursor"></a>cong_command_add_insert_text_at_cursor ()</h3><a class="indexterm" name="id2595615"></a><pre class="programlisting">void        cong_command_add_insert_text_at_cursor
362
371
                                            (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
363
372
                                             const gchar *string);</pre><p>
364
 
TODO: Write me</p><p>
365
 
 
366
 
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
367
 
</td></tr><tr><td><span class="term"><i class="parameter"><tt>string</tt></i>�:</span></td><td>
368
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2811811"></a><h3><a name="cong-command-add-nullify-cursor"></a>cong_command_add_nullify_cursor ()</h3><a class="indexterm" name="id2811823"></a><pre class="programlisting">void        cong_command_add_nullify_cursor (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd);</pre><p>
369
 
TODO: Write me</p><p>
370
 
 
371
 
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
372
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2811873"></a><h3><a name="cong-command-add-nullify-selection"></a>cong_command_add_nullify_selection ()</h3><a class="indexterm" name="id2811886"></a><pre class="programlisting">void        cong_command_add_nullify_selection
 
373
Utility function to add a series of modifications to the given command.
 
374
</p><p>
 
375
Inserts the given text at the cursor, moving the cursor to the end of the inserted text.</p><p>
 
376
 
 
377
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
 
378
</td></tr><tr><td><span class="term"><i class="parameter"><tt>string</tt></i>�:</span></td><td> a UTF-8 string
 
379
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2595693"></a><h3><a name="cong-command-add-nullify-cursor"></a>cong_command_add_nullify_cursor ()</h3><a class="indexterm" name="id2595705"></a><pre class="programlisting">void        cong_command_add_nullify_cursor (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd);</pre><p>
 
380
TODO: Write me</p><p>
 
381
 
 
382
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
 
383
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2595755"></a><h3><a name="cong-command-add-nullify-selection"></a>cong_command_add_nullify_selection ()</h3><a class="indexterm" name="id2595768"></a><pre class="programlisting">void        cong_command_add_nullify_selection
373
384
                                            (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd);</pre><p>
374
385
TODO: Write me</p><p>
375
386
 
376
387
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
377
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2811935"></a><h3><a name="cong-command-add-xml-frag-data-nice-split2"></a>cong_command_add_xml_frag_data_nice_split2 ()</h3><a class="indexterm" name="id2811949"></a><pre class="programlisting"><a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> cong_command_add_xml_frag_data_nice_split2
 
388
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2595817"></a><h3><a name="cong-command-add-xml-frag-data-nice-split2"></a>cong_command_add_xml_frag_data_nice_split2 ()</h3><a class="indexterm" name="id2595831"></a><pre class="programlisting"><a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> cong_command_add_xml_frag_data_nice_split2
378
389
                                            (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
379
390
                                             const CongLocation *loc);</pre><p>
380
391
TODO: Write me</p><p>
382
393
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
383
394
</td></tr><tr><td><span class="term"><i class="parameter"><tt>loc</tt></i>�:</span></td><td>
384
395
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>
385
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2812030"></a><h3><a name="cong-command-add-merge-adjacent-text-nodes"></a>cong_command_add_merge_adjacent_text_nodes ()</h3><a class="indexterm" name="id2812043"></a><pre class="programlisting">void        cong_command_add_merge_adjacent_text_nodes
 
396
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2595912"></a><h3><a name="cong-command-add-merge-adjacent-text-nodes"></a>cong_command_add_merge_adjacent_text_nodes ()</h3><a class="indexterm" name="id2595925"></a><pre class="programlisting">void        cong_command_add_merge_adjacent_text_nodes
386
397
                                            (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd);</pre><p>
387
 
TODO: Write me</p><p>
 
398
Utility function to add a series of modifications to the given command.
 
399
</p><p>
 
400
Searches the entire document, looking for text nodes adjacent to other text nodes, merging them together.</p><p>
388
401
 
389
402
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
390
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2812093"></a><h3><a name="cong-command-add-merge-adjacent-text-children-of-node"></a>cong_command_add_merge_adjacent_text_children_of_node ()</h3><a class="indexterm" name="id2812106"></a><pre class="programlisting">void        cong_command_add_merge_adjacent_text_children_of_node
 
403
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2595981"></a><h3><a name="cong-command-add-merge-adjacent-text-children-of-node"></a>cong_command_add_merge_adjacent_text_children_of_node ()</h3><a class="indexterm" name="id2595994"></a><pre class="programlisting">void        cong_command_add_merge_adjacent_text_children_of_node
391
404
                                            (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
392
405
                                             <a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> node);</pre><p>
393
 
TODO: Write me</p><p>
 
406
Utility function to add a series of modifications to the given command.
 
407
</p><p>
 
408
Searches direct children of the given node, looking for text nodes adjacent to other text nodes, merging them together.</p><p>
394
409
 
395
410
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
396
411
</td></tr><tr><td><span class="term"><i class="parameter"><tt>node</tt></i>�:</span></td><td>
397
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2812178"></a><h3><a name="cong-command-can-add-reparent-selection"></a>cong_command_can_add_reparent_selection ()</h3><a class="indexterm" name="id2812191"></a><pre class="programlisting">gboolean    cong_command_can_add_reparent_selection
 
412
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2596073"></a><h3><a name="cong-command-can-add-reparent-selection"></a>cong_command_can_add_reparent_selection ()</h3><a class="indexterm" name="id2596085"></a><pre class="programlisting">gboolean    cong_command_can_add_reparent_selection
398
413
                                            (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
399
414
                                             <a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> new_parent);</pre><p>
400
415
TODO: Write me</p><p>
402
417
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
403
418
</td></tr><tr><td><span class="term"><i class="parameter"><tt>new_parent</tt></i>�:</span></td><td>
404
419
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>
405
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2812272"></a><h3><a name="cong-command-add-reparent-selection"></a>cong_command_add_reparent_selection ()</h3><a class="indexterm" name="id2812285"></a><pre class="programlisting"><a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> cong_command_add_reparent_selection
 
420
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2596166"></a><h3><a name="cong-command-add-reparent-selection"></a>cong_command_add_reparent_selection ()</h3><a class="indexterm" name="id2596179"></a><pre class="programlisting"><a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> cong_command_add_reparent_selection
406
421
                                            (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
407
422
                                             <a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> node);</pre><p>
408
 
TODO: Write me</p><p>
 
423
Utility function to add a series of modifications to the given command.
 
424
</p><p>
 
425
Splits the selected nodes as necessary and adds as a child of the input node</p><p>
409
426
 
410
427
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
411
428
</td></tr><tr><td><span class="term"><i class="parameter"><tt>node</tt></i>�:</span></td><td>
412
429
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>
413
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2812366"></a><h3><a name="cong-command-add-node-split3"></a>cong_command_add_node_split3 ()</h3><a class="indexterm" name="id2812378"></a><pre class="programlisting"><a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> cong_command_add_node_split3    (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
 
430
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2596266"></a><h3><a name="cong-command-add-node-split3"></a>cong_command_add_node_split3 ()</h3><a class="indexterm" name="id2596278"></a><pre class="programlisting"><a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> cong_command_add_node_split3    (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
414
431
                                             <a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> node,
415
432
                                             int c0,
416
433
                                             int c1);</pre><p>
417
 
TODO: Write me</p><p>
 
434
Utility function to add a series of modifications to the given command.
 
435
</p><p>
 
436
Splits a text or comment node into 3 nodes, and returns a pointer to the middle one</p><p>
418
437
 
419
438
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
420
439
</td></tr><tr><td><span class="term"><i class="parameter"><tt>node</tt></i>�:</span></td><td>
421
440
</td></tr><tr><td><span class="term"><i class="parameter"><tt>c0</tt></i>�:</span></td><td>
422
441
</td></tr><tr><td><span class="term"><i class="parameter"><tt>c1</tt></i>�:</span></td><td>
423
 
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>
424
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2812499"></a><h3><a name="cong-command-add-remove-tag"></a>cong_command_add_remove_tag ()</h3><a class="indexterm" name="id2812511"></a><pre class="programlisting">void        cong_command_add_remove_tag     (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
 
442
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> the middle node of the three newly-created nodes
 
443
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2596406"></a><h3><a name="cong-command-add-remove-tag"></a>cong_command_add_remove_tag ()</h3><a class="indexterm" name="id2596418"></a><pre class="programlisting">void        cong_command_add_remove_tag     (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
425
444
                                             <a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> node);</pre><p>
426
 
TODO: Write me</p><p>
 
445
Utility function to add a series of modifications to the given command.
 
446
</p><p>
 
447
Removes the given node from the tree, moving all of its children into the space it occupied.</p><p>
427
448
 
428
449
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
429
 
</td></tr><tr><td><span class="term"><i class="parameter"><tt>node</tt></i>�:</span></td><td>
430
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2812581"></a><h3><a name="cong-command-add-set-cursor-to-first-text-descendant"></a>cong_command_add_set_cursor_to_first_text_descendant ()</h3><a class="indexterm" name="id2812595"></a><pre class="programlisting">void        cong_command_add_set_cursor_to_first_text_descendant
 
450
</td></tr><tr><td><span class="term"><i class="parameter"><tt>node</tt></i>�:</span></td><td> a node
 
451
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2596494"></a><h3><a name="cong-command-add-set-cursor-to-first-text-descendant"></a>cong_command_add_set_cursor_to_first_text_descendant ()</h3><a class="indexterm" name="id2596507"></a><pre class="programlisting">void        cong_command_add_set_cursor_to_first_text_descendant
431
452
                                            (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
432
453
                                             <a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> node);</pre><p>
433
454
TODO: Write me</p><p>
434
455
 
435
456
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
436
457
</td></tr><tr><td><span class="term"><i class="parameter"><tt>node</tt></i>�:</span></td><td>
437
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2812667"></a><h3><a name="cong-command-add-set-external-dtd"></a>cong_command_add_set_external_dtd ()</h3><a class="indexterm" name="id2812680"></a><pre class="programlisting">void        cong_command_add_set_external_dtd
 
458
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2596580"></a><h3><a name="cong-command-add-set-external-dtd"></a>cong_command_add_set_external_dtd ()</h3><a class="indexterm" name="id2596592"></a><pre class="programlisting">void        cong_command_add_set_external_dtd
438
459
                                            (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
439
460
                                             const gchar *root_element,
440
461
                                             const gchar *public_id,
441
462
                                             const gchar *system_id);</pre><p>
442
 
TODO: Write me</p><p>
 
463
Utility function to add a series of modifications to the given command.
 
464
</p><p>
 
465
Sets an external DTD on the document, or removes it if NULL is given</p><p>
443
466
 
444
 
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td>
445
 
</td></tr><tr><td><span class="term"><i class="parameter"><tt>root_element</tt></i>�:</span></td><td>
 
467
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>cmd</tt></i>�:</span></td><td> a command
 
468
</td></tr><tr><td><span class="term"><i class="parameter"><tt>root_element</tt></i>�:</span></td><td> the root element of the document
446
469
</td></tr><tr><td><span class="term"><i class="parameter"><tt>public_id</tt></i>�:</span></td><td>
447
470
</td></tr><tr><td><span class="term"><i class="parameter"><tt>system_id</tt></i>�:</span></td><td>
448
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2812794"></a><h3><a name="cong-command-add-required-sub-elements"></a>cong_command_add_required_sub_elements ()</h3><a class="indexterm" name="id2812806"></a><pre class="programlisting">gboolean    cong_command_add_required_sub_elements
 
471
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id2596713"></a><h3><a name="cong-command-add-required-sub-elements"></a>cong_command_add_required_sub_elements ()</h3><a class="indexterm" name="id2596725"></a><pre class="programlisting">gboolean    cong_command_add_required_sub_elements
449
472
                                            (<a href="CongCommand.html" title="CongCommand">CongCommand</a> *cmd,
450
473
                                             <a href="conglomerate-XML-Nodes.html#CongNodePtr">CongNodePtr</a> node);</pre><p>
451
474