Class
FoundrySimpleTextBuffer
Description [src]
final class Foundry.SimpleTextBuffer : GObject.Object
implements Foundry.TextBuffer {
/* No available fields */
}
Simple implementation of a text buffer.
FoundrySimpleTextBuffer provides a basic text buffer implementation that stores content as a string and provides text editing operations. It implements the FoundryTextBuffer interface and serves as a lightweight alternative to more complex text buffer implementations.
Instance methods
Methods inherited from FoundryTextBuffer (10)
foundry_text_buffer_add_commit_notify
Adds a new commit notify handler.
unstable since: 1.1
foundry_text_buffer_apply_edit
foundry_text_buffer_dup_contents
Gets the contents of the buffer as a GBytes.
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_emit_changed
foundry_text_buffer_get_change_count
Gets the number of changes that have occurred to buffer.
foundry_text_buffer_get_iter_at_offset
foundry_text_buffer_get_start_iter
foundry_text_buffer_remove_commit_notify
Remove a commit notify handler.
unstable since: 1.1
foundry_text_buffer_settle
Gets a DexFuture that will resolve after short delay when changes
have completed.
Properties
Properties inherited from FoundryTextBuffer (2)
FoundryTextBuffer:context
FoundryTextBuffer:language-id
Signals
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.