Class

IdeBufferManager

Description

final class Ide.BufferManager : Ide.Object
  implements Gio.ListModel {
  /* No available fields */
}
No description available.

Hierarchy

hierarchy this IdeBufferManager implements_0 GListModel this--implements_0 ancestor_0 IdeObject ancestor_0--this ancestor_1 GObject ancestor_1--ancestor_0

Ancestors

Implements

Functions

ide_buffer_manager_from_context

Gets the IdeBufferManager for the IdeContext.

Instance methods

ide_buffer_manager_apply_edits_async

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.

ide_buffer_manager_apply_edits_finish
No description available.

ide_buffer_manager_find_buffer

Locates the IdeBuffer that matches GFile, if any.

ide_buffer_manager_foreach

Calls foreach_func for every buffer registered.

ide_buffer_manager_get_max_file_size

Gets the max file size that will be allowed to be loaded from disk. This is useful to protect Builder from files that would overload the various subsystems.

ide_buffer_manager_has_file

Checks to see if a buffer has been loaded which contains the contents of file.

ide_buffer_manager_load_file_async

Requests that file be loaded by the buffer manager. Depending on flags, this may result in a new view being displayed in a Builder workspace.

ide_buffer_manager_load_file_finish

Completes an asynchronous request to ide_buffer_manager_laod_file_async().

ide_buffer_manager_reload_all_async
No description available.

ide_buffer_manager_reload_all_finish
No description available.

ide_buffer_manager_save_all_async

Asynchronously requests that the IdeBufferManager save all of the loaded buffers to disk.

ide_buffer_manager_save_all_finish

Completes an asynchronous request to save all buffers.

ide_buffer_manager_set_max_file_size
No description available.

Methods inherited from IdeObject (29)

Please see IdeObject for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from GListModel (5)
g_list_model_get_item

Get the item at position.

since: 2.44

g_list_model_get_item_type

Gets the type of the items in list.

since: 2.44

g_list_model_get_n_items

Gets the number of items in list.

since: 2.44

g_list_model_get_object

Get the item at position.

since: 2.44

g_list_model_items_changed

Emits the GListModel::items-changed signal on list.

since: 2.44

Properties

Ide.BufferManager:max-file-size

The “max-file-size” property is the largest file size in bytes that Builder will attempt to load. Larger files will fail to load to help ensure that Builder’s buffer manager does not attempt to load files that will slow the buffer management beyond usefulness.

Properties inherited from IdeObject (2)
Ide.Object:cancellable

The “cancellable” property is a GCancellable that can be used by operations that will be cancelled when the IdeObject::destroy signal is emitted on self.

Ide.Object:parent

The parent IdeObject, if any.

Signals

Ide.BufferManager::buffer-loaded

The “buffer-loaded” signal is emitted when an IdeBuffer has loaded a file from storage.

Ide.BufferManager::buffer-saved

The “buffer-saved” signal is emitted when an IdeBuffer has been saved to storage.

Ide.BufferManager::buffer-unloaded

The “buffer-unloaded” signal is emitted when an IdeBuffer has been unloaded from the buffer manager.

Ide.BufferManager::load-buffer
No description available.

Signals inherited from IdeObject (1)
IdeObject::destroy

The “destroy” signal is emitted when the object should destroy itself and cleanup any state that is no longer necessary. This happens when the object has been removed from the because it was requested to be destroyed, or because a parent object is being destroyed.

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Signals inherited from GListModel (1)
GListModel::items-changed

This signal is emitted whenever items were added to or removed from list. At position, removed items were removed and added items were added in their place.

since: 2.44

Class structure

struct IdeBufferManagerClass {
  IdeObjectClass parent_class;
  
}
No description available.
Class members
parent_class: IdeObjectClass
No description available.