Method
IdeBufferManagerapply_edits_async
Declaration
void
ide_buffer_manager_apply_edits_async (
IdeBufferManager* self,
GPtrArray* edits,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description
Asynchronously requests that all of edits are applied to the buffers
in the project. If the buffer has not been loaded for a particular edit,
it will be loaded.
callback should call ide_buffer_manager_apply_edits_finish() to get the
result of this operation.
Parameters
edits-
Type: An array of
NoneAn
GPtrArrayofIdeTextEdit.The instance takes ownership of the data, and is responsible for freeing it. cancellable-
Type:
GCancellableA
GCancellableorNULL.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackThe callback to complete the request.
The argument can be NULL. user_data-
Type:
gpointerUser data for
callback.The argument can be NULL.The data is owned by the caller of the method.