![]() |
![]() |
![]() |
libinftext-0.4 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
InfTextDefaultDeleteOperation; InfTextDefaultDeleteOperation * inf_text_default_delete_operation_new (guint position
,InfTextChunk *chunk
); InfTextChunk * inf_text_default_delete_operation_get_chunk (InfTextDefaultDeleteOperation *operation
);
InfTextDefaultDeleteOperation implements InfAdoptedOperation and InfTextDeleteOperation.
"chunk" InfTextChunk* : Read / Write / Construct Only "position" guint : Read / Write / Construct Only
typedef struct _InfTextDefaultDeleteOperation InfTextDefaultDeleteOperation;
InfTextDefaultDeleteOperation * inf_text_default_delete_operation_new (guint position
,InfTextChunk *chunk
);
Creates a new delete operation that, when applied, deletes the text chunk
that starts at character offset position
in the buffer. The operation
cannot be applied, if there is some other text at that position in the
buffer.
|
The position at which to delete text. |
|
The text to delete. |
Returns : |
A new InfTextDefaultDeleteOperation. |
InfTextChunk * inf_text_default_delete_operation_get_chunk
(InfTextDefaultDeleteOperation *operation
);
Returns the text deleted by operation
.
|
A InfTextDefaultDeleteOperation. |
Returns : |
A InfTextChunk, owned by the operation. |
"position"
property"position" guint : Read / Write / Construct Only
Position where to start deleting characters.
Default value: 0