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
None
An
GPtrArray
ofIdeTextEdit
.The instance takes ownership of the data, and is responsible for freeing it. cancellable
-
Type:
GCancellable
A
GCancellable
orNULL
.The argument can be NULL
.The data is owned by the caller of the method. callback
-
Type:
GAsyncReadyCallback
The callback to complete the request.
The argument can be NULL
. user_data
-
Type:
gpointer
User data for
callback
.The argument can be NULL
.The data is owned by the caller of the method.