Class

FoundryGtkSourceBuffer

Description

final class FoundryGtk.SourceBuffer : GtkSource.Buffer
  implements Foundry.TextBuffer {
  /* No available fields */
}

No description available.

Hierarchy

hierarchy this FoundrySourceBuffer implements_0 FoundryTextBuffer this--implements_0 ancestor_0 GtkSourceBuffer ancestor_0--this ancestor_1 GtkTextBuffer ancestor_1--ancestor_0 ancestor_2 GObject ancestor_2--ancestor_1

Implements

Instance methods

foundry_source_buffer_comment

Comments the specified text range using the appropriate comment syntax for the current language.

unstable since: 1.1

foundry_source_buffer_dup_context
No description available.

foundry_source_buffer_dup_override_syntax

Gets the syntax to be used, overriding any language guessing.

foundry_source_buffer_set_override_syntax
No description available.

foundry_source_buffer_uncomment

Removes comment markers from the specified text range.

unstable since: 1.1

Methods inherited from GtkSourceBuffer (27)

Please see GtkSourceBuffer for a full list of methods.

Methods inherited from GtkTextBuffer (72)

Please see GtkTextBuffer for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from FoundryTextBuffer (10)
foundry_text_buffer_add_commit_notify

Adds a new commit notify handler.

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_dup_language_id

Gets the GtkSourceView-style identifier for the language of the buffer such as “c” or “js”.

foundry_text_buffer_emit_changed
No description available.
foundry_text_buffer_get_change_count

Gets the number of changes that have occurred to buffer.

foundry_text_buffer_get_iter_at_offset
No description available.
foundry_text_buffer_get_start_iter
No description available.
foundry_text_buffer_remove_commit_notify

Remove a commit notify handler.

foundry_text_buffer_settle

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

Properties

FoundryGtk.SourceBuffer:context
No description available.

FoundryGtk.SourceBuffer:language-id
No description available.

FoundryGtk.SourceBuffer:override-syntax

The GtkSourceLanguage identifier of the syntax to use, ignoring any guessed language.

Properties inherited from GtkSourceBuffer (6)
GtkSource.Buffer:highlight-matching-brackets

Whether to highlight matching brackets in the buffer.

GtkSource.Buffer:highlight-syntax

Whether to highlight syntax in the buffer.

GtkSource.Buffer:implicit-trailing-newline

Whether the buffer has an implicit trailing newline. See gtk_source_buffer_set_implicit_trailing_newline().

GtkSource.Buffer:language
No description available.
GtkSource.Buffer:loading

The “loading” property denotes that a GtkSourceFileLoader is currently loading the buffer.

GtkSource.Buffer:style-scheme

Style scheme. It contains styles for syntax highlighting, optionally foreground, background, cursor color, current line color, and matching brackets style.

Properties inherited from GtkTextBuffer (7)
Gtk.TextBuffer:can-redo

Denotes that the buffer can reapply the last undone action.

Gtk.TextBuffer:can-undo

Denotes that the buffer can undo the last applied action.

Gtk.TextBuffer:cursor-position

The position of the insert mark.

Gtk.TextBuffer:enable-undo

Denotes if support for undoing and redoing changes to the buffer is allowed.

Gtk.TextBuffer:has-selection

Whether the buffer has some text currently selected.

Gtk.TextBuffer:tag-table

The GtkTextTagTable for the buffer.

Gtk.TextBuffer:text

The text content of the buffer.

Properties inherited from FoundryTextBuffer (2)
Foundry.TextBuffer:context
No description available.
Foundry.TextBuffer:language-id
No description available.

Signals

Signals inherited from GtkSourceBuffer (4)
GtkSourceBuffer::bracket-matched

iter is set to a valid iterator pointing to the matching bracket if state is GTK_SOURCE_BRACKET_MATCH_FOUND. Otherwise iter is meaningless.

GtkSourceBuffer::cursor-moved

The “cursor-moved” signal is emitted when then insertion mark has moved.

GtkSourceBuffer::highlight-updated

The ::highlight-updated signal is emitted when the syntax highlighting and context classes are updated in a certain region of the buffer.

GtkSourceBuffer::source-mark-updated

The ::source-mark-updated signal is emitted each time a mark is added to, moved or removed from the buffer.

Signals inherited from GtkTextBuffer (15)
GtkTextBuffer::apply-tag

Emitted to apply a tag to a range of text in a GtkTextBuffer.

GtkTextBuffer::begin-user-action

Emitted at the beginning of a single user-visible operation on a GtkTextBuffer.

GtkTextBuffer::changed

Emitted when the content of a GtkTextBuffer has changed.

GtkTextBuffer::delete-range

Emitted to delete a range from a GtkTextBuffer.

GtkTextBuffer::end-user-action

Emitted at the end of a single user-visible operation on the GtkTextBuffer.

GtkTextBuffer::insert-child-anchor

Emitted to insert a GtkTextChildAnchor in a GtkTextBuffer.

GtkTextBuffer::insert-paintable

Emitted to insert a GdkPaintable in a GtkTextBuffer.

GtkTextBuffer::insert-text

Emitted to insert text in a GtkTextBuffer.

GtkTextBuffer::mark-deleted

Emitted as notification after a GtkTextMark is deleted.

GtkTextBuffer::mark-set

Emitted as notification after a GtkTextMark is set.

GtkTextBuffer::modified-changed

Emitted when the modified bit of a GtkTextBuffer flips.

GtkTextBuffer::paste-done

Emitted after paste operation has been completed.

GtkTextBuffer::redo

Emitted when a request has been made to redo the previously undone operation.

GtkTextBuffer::remove-tag

Emitted to remove all occurrences of tag from a range of text in a GtkTextBuffer.

GtkTextBuffer::undo

Emitted when a request has been made to undo the previous operation or set of operations that have been grouped together.

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.

Class structure

struct FoundryGtkSourceBufferClass {
  GtkSourceBufferClass parent_class;
  
}

No description available.

Class members
parent_class: GtkSourceBufferClass

No description available.