Top | ![]() |
![]() |
![]() |
![]() |
InfTextRemoteDeleteOperation implements InfAdoptedOperation and InfTextDeleteOperation.
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 remote part can then reconstruct the deleted text
using inf_adopted_operation_apply_transformed()
.
However, it is easier to just use InfTextDefaultDeleteOperation if you want the operation to be reversible.
[constructor]