Top | ![]() |
![]() |
![]() |
![]() |
guint
inf_text_delete_operation_get_position
(InfTextDeleteOperation *operation
);
Returns the position at which operation
starts to delete dext.
guint
inf_text_delete_operation_get_length (InfTextDeleteOperation *operation
);
Returns the number of characters deleted by operation
.
gboolean inf_text_delete_operation_need_concurrency_id (InfTextDeleteOperation *op
,InfAdoptedOperation *against
);
Returns whether transforming op
against against
requires a concurrency ID
(see inf_adopted_operation_need_concurrency_id()
for further information).
InfAdoptedConcurrencyId inf_text_delete_operation_get_concurrency_id (InfTextDeleteOperation *op
,InfAdoptedOperation *against
);
Returns a concurrency ID for transformation of op
against against
(see inf_adopted_operation_get_concurrency_id()
for further information).
InfAdoptedOperation * inf_text_delete_operation_transform_insert (InfTextDeleteOperation *operation
,InfTextInsertOperation *against
,InfAdoptedConcurrencyId cid
);
Returns a new operation that includes the effect of against
into
operation
.
InfAdoptedOperation * inf_text_delete_operation_transform_delete (InfTextDeleteOperation *operation
,InfTextDeleteOperation *against
,InfAdoptedConcurrencyId cid
);
Returns a new operation that includes the effect of against
into
operation
.
operation |
||
against |
Another InfTextDeleteOperation. |
|
cid |
The concurrency ID for the transformation. |
struct InfTextDeleteOperationIface { GTypeInterface parent; /* Virtual table */ guint(*get_position)(InfTextDeleteOperation* operation); guint(*get_length)(InfTextDeleteOperation* operation); InfTextDeleteOperation*(*transform_position)(InfTextDeleteOperation* op, guint position); InfTextDeleteOperation*(*transform_overlap)(InfTextDeleteOperation* op, InfTextDeleteOperation* other, guint position, guint begin, guint other_begin, guint length); InfAdoptedSplitOperation*(*transform_split)(InfTextDeleteOperation* op, guint split_pos, guint split_length); };