Interface
FoundryTextBuffer
Prerequisite
In order to implement TextBuffer, your type must inherit fromGObject
.
Instance methods
foundry_text_buffer_dup_language_id
Gets the GtkSourceView-style identifier for the language of the buffer such as “c” or “js”.
foundry_text_buffer_settle
Gets a DexFuture
that will resolve after short delay when changes
have completed.
Interface structure
struct FoundryTextBufferInterface {
GTypeInterface parent_iface;
GBytes* (* dup_contents) (
FoundryTextBuffer* self
);
char* (* dup_language_id) (
FoundryTextBuffer* self
);
DexFuture* (* settle) (
FoundryTextBuffer* self
);
gboolean (* apply_edit) (
FoundryTextBuffer* self,
FoundryTextEdit* edit
);
void (* iter_init) (
FoundryTextBuffer* self,
FoundryTextIter* iter
);
gint64 (* get_change_count) (
FoundryTextBuffer* self
);
}
No description available.
Interface members
parent_iface |
|
No description available. |
|
dup_contents |
|
No description available. |
|
dup_language_id |
|
No description available. |
|
settle |
|
No description available. |
|
apply_edit |
|
No description available. |
|
iter_init |
|
No description available. |
|
get_change_count |
|
No description available. |
Virtual methods
Foundry.TextBuffer.dup_language_id
Gets the GtkSourceView-style identifier for the language of the buffer such as “c” or “js”.
Foundry.TextBuffer.settle
Gets a DexFuture
that will resolve after short delay when changes
have completed.