| libinftext-0.5 Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
InfTextRemoteDeleteOperation; InfTextRemoteDeleteOperation * inf_text_remote_delete_operation_new (guint position,guint length);
InfTextRemoteDeleteOperation implements InfAdoptedOperation and InfTextDeleteOperation.
"length" guint : Read / Write / Construct Only "position" guint : Read / Write / Construct Only
typedef struct _InfTextRemoteDeleteOperation InfTextRemoteDeleteOperation;
InfTextRemoteDeleteOperation * inf_text_remote_delete_operation_new (guint position,guint length);
Creates a new delete operation that, when applied, deletes length
characters starting from position position. Note that this operation is
not reversible because it does not know the text to delete and is therefore
only used to transmit a delete operation through the network to reduce
bandwidth usage. The other part can then reconstruct the deleted text
using the make_reversible vfunc.
However, it is easier to just use InfTextDefaultDeleteOperation if you want the operation to be reversible.
|
The position at which to delete text. |
|
The number of characters to delete. |
Returns : |
A new InfTextRemoteDeleteOperation. |