Interface

FoundryTextBuffer

Description

interface Foundry.TextBuffer : GObject.Object

No description available.

Prerequisite

In order to implement TextBuffer, your type must inherit fromGObject.

Instance methods

foundry_text_buffer_apply_edit
No description available.

foundry_text_buffer_dup_contents

Gets the contents of the buffer as a GBytes.

foundry_text_buffer_load

Loads file into the buffer.

foundry_text_buffer_save

Saves file into the buffer.

foundry_text_buffer_settle

Gets a DexFuture that will resolve after short delay when changes have completed.

Properties

Foundry.TextBuffer:context
No description available.

Foundry.TextBuffer:file
No description available.

Interface structure

struct FoundryTextBufferInterface {
  GTypeInterface parent_iface;
  GBytes* (* dup_contents) (
    FoundryTextBuffer* self
  );
  DexFuture* (* settle) (
    FoundryTextBuffer* self
  );
  DexFuture* (* load) (
    FoundryTextBuffer* self,
    GFile* file
  );
  DexFuture* (* save) (
    FoundryTextBuffer* self,
    GFile* file
  );
  gboolean (* apply_edit) (
    FoundryTextBuffer* self,
    FoundryTextEdit* edit
  );
  
}

No description available.

Interface members
parent_iface
GTypeInterface
 

No description available.

dup_contents
GBytes* (* dup_contents) (
    FoundryTextBuffer* self
  )
 

No description available.

settle
DexFuture* (* settle) (
    FoundryTextBuffer* self
  )
 

No description available.

load
DexFuture* (* load) (
    FoundryTextBuffer* self,
    GFile* file
  )
 

No description available.

save
DexFuture* (* save) (
    FoundryTextBuffer* self,
    GFile* file
  )
 

No description available.

apply_edit
gboolean (* apply_edit) (
    FoundryTextBuffer* self,
    FoundryTextEdit* edit
  )
 

No description available.

Virtual methods

Foundry.TextBuffer.apply_edit
No description available.

Foundry.TextBuffer.dup_contents

Gets the contents of the buffer as a GBytes.

Foundry.TextBuffer.load

Loads file into the buffer.

Foundry.TextBuffer.save

Saves file into the buffer.

Foundry.TextBuffer.settle

Gets a DexFuture that will resolve after short delay when changes have completed.