Top | ![]() |
![]() |
![]() |
![]() |
void | change-settled | Run Last |
void | cursor-moved | Run Last |
void | line-flags-changed | Run Last |
void | loaded | Run Last |
void | request-scroll-to-insert | Run Last |
void | changed | Run Last |
void | buffer-loaded | Run Last |
void | buffer-saved | Run Last |
void | buffer-unloaded | Run Last |
void | load-buffer | Run Last |
void | invalidated | Run Last |
void | changed | Run Last |
GBoxed ├── IdeCodeIndexEntry ├── IdeHighlightIndex ╰── IdeUnsavedFile GInterface ├── IdeBufferAddin ├── IdeCodeIndexEntries ├── IdeCodeIndexer ├── IdeDiagnosticProvider ├── IdeFormatter ├── IdeHighlighter ├── IdeRenameProvider ├── IdeSymbolResolver ╰── IdeSymbolTree GObject ├── GtkTextBuffer │ ╰── GtkSourceBuffer │ ╰── IdeBuffer ├── IdeFormatterOptions ├── IdeLocation ├── IdeObject │ ├── IdeBufferChangeMonitor │ ├── IdeBufferManager │ ├── IdeDiagnostic │ ├── IdeDiagnostics │ ├── IdeDiagnosticsManager │ ├── IdeFileSettings │ ├── IdeHighlightEngine │ ├── IdeTextEdit │ ╰── IdeUnsavedFiles ├── IdeRange ├── IdeSymbol ╰── IdeSymbolNode ╰── IdeLspSymbolNode
IdeBufferAddin requires GObject.
IdeCodeIndexEntries requires GObject.
IdeCodeIndexer requires IdeObject.
IdeDiagnosticProvider requires IdeObject.
IdeFormatter requires GObject.
IdeHighlighter requires IdeObject.
IdeRenameProvider requires IdeObject.
IdeSymbolResolver requires IdeObject.
IdeSymbolTree requires GObject.
IdeBufferManager implements GListModel.
IdeDiagnostics implements GListModel.
IdeDiagnosticProvider is implemented by IdeLspDiagnosticProvider.
IdeFormatter is implemented by IdeLspFormatter.
IdeHighlighter is implemented by IdeLspHighlighter.
IdeRenameProvider is implemented by IdeLspRenameProvider.
IdeSymbolResolver is implemented by IdeLspSymbolResolver.
IdeSymbolTree is implemented by IdeLspSymbolTree.
“buffer-manager”
property“buffer-manager” IdeBufferManager *
Sets the "buffer-manager" property, which is used by the buffer to clean-up state when the buffer is no longer in use.
Flags: Write / Construct Only
Since: 3.32
“change-monitor”
property“change-monitor” IdeBufferChangeMonitor *
The "change-monitor" property is an IdeBufferChangeMonitor that will be used to track changes in the IdeBuffer. This can be used to show line changes in the editor gutter.
Flags: Read / Write
Since: 3.32
“changed-on-volume”
property“changed-on-volume” gboolean
The "changed-on-volume" property is set to TRUE
when it has been
discovered that the file represented by the IdeBuffer has changed
externally to Builder.
Flags: Read
Default value: FALSE
Since: 3.32
“diagnostics”
property“diagnostics” IdeDiagnostics *
The "diagnostics" property contains an IdeDiagnostics that represent the diagnostics found in the buffer.
Flags: Read / Write
Since: 3.32
“failed”
property“failed” gboolean
The "failed" property is TRUE
when the buffer has entered a failed
state such as when loading or saving the buffer to disk.
Flags: Read
Default value: FALSE
Since: 3.32
“file”
property“file” GFile *
The "file" property is the underlying file represented by the buffer.
Flags: Read / Write
Since: 3.32
“file-settings”
property“file-settings” IdeFileSettings *
The "file-settings" property are the settings to be used by the buffer and source-view for the underlying file.
These are automatically discovered and kept up to date based on the IdeFileSettings extension points.
Flags: Read
Since: 3.32
“has-diagnostics”
property“has-diagnostics” gboolean
The "has-diagnostics" property denotes that there are a non-zero number of diangostics registered for the buffer.
Flags: Read
Default value: FALSE
Since: 3.32
“has-symbol-resolvers”
property“has-symbol-resolvers” gboolean
The "has-symbol-resolvers" property is TRUE
if there are any symbol
resolvers loaded.
Flags: Read
Default value: FALSE
Since: 3.32
“highlight-diagnostics”
property“highlight-diagnostics” gboolean
The "highlight-diagnostics" property indicates that diagnostics which are discovered should be styled.
Flags: Read / Write
Default value: TRUE
Since: 3.32
“is-temporary”
property“is-temporary” gboolean
The "is-temporary" property denotes the “file” property points to a temporary file. When saving the the buffer, various UI components know to check this property and provide a file chooser to allow the user to select the destination file.
Upon saving the file, the property will change to FALSE
.
Flags: Read / Write / Construct Only
Default value: FALSE
Since: 3.32
“language-id”
property“language-id” gchar *
The "language-id" property is a convenience property to set the “langauge” property using a string name.
Flags: Read / Write
Default value: NULL
Since: 3.32
“read-only”
property“read-only” gboolean
The "read-only" property is set to TRUE
when it has been
discovered that the file represented by the IdeBuffer is read-only
on the underlying storage.
Flags: Read
Default value: FALSE
Since: 3.32
“state”
property“state” IdeBufferState
The "state" property can be used to determine if the buffer is currently performing any specific background work, such as loading from or saving a buffer to storage.
Flags: Read
Default value: IDE_BUFFER_STATE_READY
Since: 3.32
“style-scheme-name”
property“style-scheme-name” gchar *
The "style-scheme-name" is the name of the style scheme that is used. It is a convenience property so that you do not need to use the GtkSourceStyleSchemeManager to lookup style schemes.
Flags: Read / Write
Default value: NULL
Since: 3.32
“title”
property“title” gchar *
The "title" for the buffer which includes some variant of the path to the underlying file.
Flags: Read
Default value: NULL
Since: 3.32
“buffer”
property“buffer” IdeBuffer *
The IdeBuffer to be monitored.
Flags: Read / Write / Construct Only
“max-file-size”
property“max-file-size” gint64
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.
Flags: Read / Write
Allowed values: >= -1
Default value: 10485760
Since: 3.32
“display-text”
property“display-text” gchar *
The text formatted for display.
Flags: Read
Default value: NULL
“location”
property“location” IdeLocation *
The location of the diagnostic.
Flags: Read / Write / Construct Only
“severity”
property“severity” IdeDiagnosticSeverity
The severity of the diagnostic.
Flags: Read / Write / Construct Only
Default value: IDE_DIAGNOSTIC_IGNORED
“text”
property“text” gchar *
The text of the diagnostic.
Flags: Read / Write / Construct Only
Default value: NULL
“has-errors”
property“has-errors” gboolean
If there are any errors in the diagnostic set.
Flags: Read
Default value: FALSE
“has-warnings”
property“has-warnings” gboolean
If there are any warnings in the diagnostic set.
Flags: Read
Default value: FALSE
“n-errors”
property“n-errors” guint
Number of errors in diagnostic set.
Flags: Read
Default value: 0
“n-warnings”
property“n-warnings” guint
Number of warnings in diagnostic set.
Flags: Read
Default value: 0
“busy”
property“busy” gboolean
If the diagnostics manager is busy.
Flags: Read
Default value: FALSE
“auto-indent”
property“auto-indent” gboolean
If the the auto-indenter should be enabled.
Flags: Read / Write
Default value: FALSE
“auto-indent-set”
property“auto-indent-set” gboolean
If IdeFileSettings:auto-indent is set.
Flags: Read / Write
Default value: FALSE
“encoding”
property“encoding” gchar *
The character encoding.
Flags: Read / Write
Default value: NULL
“encoding-set”
property“encoding-set” gboolean
If IdeFileSettings:encoding is set.
Flags: Read / Write
Default value: FALSE
“file”
property“file” GFile *
The GFile the settings represent.
Flags: Read / Write / Construct Only
“indent-style”
property“indent-style” IdeIndentStyle
The indentation style.
Flags: Read / Write
Default value: IDE_INDENT_STYLE_TABS
“indent-style-set”
property“indent-style-set” gboolean
If IdeFileSettings:indent-style is set.
Flags: Read / Write
Default value: FALSE
“indent-width”
property“indent-width” gint
The indentation width, or -1 to use tab-width.
Flags: Read / Write
Allowed values: [-1,32]
Default value: -1
“indent-width-set”
property“indent-width-set” gboolean
If IdeFileSettings:indent-width is set.
Flags: Read / Write
Default value: FALSE
“insert-matching-brace”
property“insert-matching-brace” gboolean
Insert Matching Brace.
Flags: Read / Write
Default value: FALSE
“insert-matching-brace-set”
property“insert-matching-brace-set” gboolean
If IdeFileSettings:insert-matching-brace is set.
Flags: Read / Write
Default value: FALSE
“insert-trailing-newline”
property“insert-trailing-newline” gboolean
If a trailing newline should be added when saving.
Flags: Read / Write
Default value: FALSE
“insert-trailing-newline-set”
property“insert-trailing-newline-set” gboolean
If IdeFileSettings:insert-trailing-newline is set.
Flags: Read / Write
Default value: FALSE
“language”
property“language” gchar *
The language the settings represent.
Flags: Read / Write / Construct Only
Default value: NULL
“newline-type”
property“newline-type” GtkSourceNewlineType
The type of newline to use at the end of each line.
Flags: Read / Write
Default value: GTK_SOURCE_NEWLINE_TYPE_LF
“newline-type-set”
property“newline-type-set” gboolean
If IdeFileSettings:newline-type is set.
Flags: Read / Write
Default value: FALSE
“overwrite-braces”
property“overwrite-braces” gboolean
Type over existing braces.
Flags: Read / Write
Default value: FALSE
“overwrite-braces-set”
property“overwrite-braces-set” gboolean
If IdeFileSettings:overwrite-braces is set.
Flags: Read / Write
Default value: FALSE
“right-margin-position”
property“right-margin-position” guint
The position to draw the right margin, in characters.
Flags: Read / Write
Allowed values: [1,1000]
Default value: 80
“right-margin-position-set”
property“right-margin-position-set” gboolean
If IdeFileSettings:right-margin-position is set.
Flags: Read / Write
Default value: FALSE
“settled”
property“settled” gboolean
If the file settings implementations have settled.
Flags: Read / Write
Default value: FALSE
“show-right-margin”
property“show-right-margin” gboolean
If the right margin line should be shown in the editor.
Flags: Read / Write
Default value: FALSE
“show-right-margin-set”
property“show-right-margin-set” gboolean
If IdeFileSettings:show-right-margin is set.
Flags: Read / Write
Default value: FALSE
“spaces-style”
property“spaces-style” IdeSpacesStyle
How to add spaces when reformatting certain text. Mostly used by completions.
Flags: Read / Write
“spaces-style-set”
property“spaces-style-set” gboolean
If IdeFileSettings:spaces-style is set.
Flags: Read / Write
Default value: FALSE
“tab-width”
property“tab-width” guint
The width of a tab in characters.
Flags: Read / Write
Allowed values: [1,32]
Default value: 8
“tab-width-set”
property“tab-width-set” gboolean
If IdeFileSettings:tab-width is set.
Flags: Read / Write
Default value: FALSE
“trim-trailing-whitespace”
property“trim-trailing-whitespace” gboolean
If trailing whitespace should be trimmed from lines.
Flags: Read / Write
Default value: FALSE
“trim-trailing-whitespace-set”
property“trim-trailing-whitespace-set” gboolean
If IdeFileSettings:trim-trailing-whitespace is set.
Flags: Read / Write
Default value: FALSE
“insert-spaces”
property“insert-spaces” gboolean
Insert spaces instead of tabs.
Flags: Read / Write
Default value: FALSE
“tab-width”
property“tab-width” guint
The width of a tab in spaces.
Flags: Read / Write
Allowed values: [1,32]
Default value: 8
“buffer”
property“buffer” IdeBuffer *
The buffer to highlight.
Flags: Read / Write / Construct Only
“highlighter”
property“highlighter” IdeHighlighter *
The highlighter to use for type information.
Flags: Read
“file”
property“file” GFile *
The file representing the location.
Flags: Read / Write / Construct Only
“line”
property“line” gint
The line number within the file, starting from 0 or -1 for unknown.
Flags: Read / Write / Construct Only
Allowed values: >= -1
Default value: -1
“line-offset”
property“line-offset” gint
The offset within the line, starting from 0 or -1 for unknown.
Flags: Read / Write / Construct Only
Allowed values: >= -1
Default value: -1
“offset”
property“offset” gint
The offset within the file in characters, or -1 if unknown.
Flags: Read / Write / Construct Only
Allowed values: >= -1
Default value: -1
“begin”
property“begin” IdeLocation *
The start of the range.
Flags: Read / Write / Construct Only
“header-location”
property“header-location” IdeLocation *
The header location for the symbol.
Flags: Read / Write / Construct Only
“kind”
property“kind” IdeSymbolKind
The kind of symbol.
Flags: Read / Write / Construct Only
Default value: IDE_SYMBOL_KIND_NONE
“location”
property“location” IdeLocation *
The location for the symbol.
Flags: Read / Write / Construct Only
“name”
property“name” gchar *
The name of the symbol.
Flags: Read / Write / Construct Only
Default value: NULL
“kind”
property“kind” IdeSymbolKind
Kind.
Flags: Read / Write
Default value: IDE_SYMBOL_KIND_NONE
“use-markup”
property“use-markup” gboolean
Use markup.
Flags: Read / Write
Default value: FALSE
“project-id”
property“project-id” gchar *
The identifier for the project.
Flags: Read / Write / Construct Only
Default value: NULL
“change-settled”
signalvoid user_function (IdeBuffer *self, gpointer user_data)
The "change-settled" signal is emitted when the buffer has stopped being edited for a short period of time. This is useful to connect to when you want to perform work as the user is editing, but you don't want to get in the way of their editing.
Flags: Run Last
Since: 3.32
“cursor-moved”
signalvoid user_function (IdeBuffer *self, GtkTextIter *location, gpointer user_data)
This signal is emitted when the insertion location has moved. You might want to attach to this signal to update the location of the insert mark in the display.
self |
an IdeBuffer |
|
location |
||
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.32
“line-flags-changed”
signalvoid user_function (IdeBuffer *self, gpointer user_data)
The "line-flags-changed" signal is emitted when the buffer has detected ancillary information has changed for lines in the buffer. Such information might include diagnostics or version control information.
Flags: Run Last
Since: 3.32
“loaded”
signalvoid user_function (IdeBuffer *self, gpointer user_data)
The "loaded" signal is emitted after the buffer is loaded.
This is useful to watch if you want to perform a given action but do not want to interfere with buffer loading.
Flags: Run Last
Since: 3.32
“request-scroll-to-insert”
signalvoid user_function (IdeBuffer *idebuffer, gpointer user_data)
Requests that attached views scroll to insert location.
This is generally only used when loading a buffer.
Flags: Run Last
Since: 3.32
“changed”
signalvoid user_function (IdeBufferChangeMonitor *idebufferchangemonitor, gpointer user_data)
Flags: Run Last
“buffer-loaded”
signalvoid user_function (IdeBufferManager *self, IdeBuffer *buffer, gpointer user_data)
The "buffer-loaded" signal is emitted when an IdeBuffer has loaded a file from storage.
Flags: Run Last
Since: 3.32
“buffer-saved”
signalvoid user_function (IdeBufferManager *self, IdeBuffer *buffer, gpointer user_data)
The "buffer-saved" signal is emitted when an IdeBuffer has been saved to storage.
Flags: Run Last
Since: 3.32
“buffer-unloaded”
signalvoid user_function (IdeBufferManager *self, IdeBuffer *buffer, gpointer user_data)
The "buffer-unloaded" signal is emitted when an IdeBuffer has been unloaded from the buffer manager.
Flags: Run Last
Since: 3.32
“load-buffer”
signalvoid user_function (IdeBufferManager *idebuffermanager, IdeBuffer *arg1, gboolean arg2, gpointer user_data)
Flags: Run Last
“invalidated”
signalvoid user_function (IdeDiagnosticProvider *idediagnosticprovider, gpointer user_data)
Flags: Run Last
“changed”
signalvoid user_function (IdeDiagnosticsManager *self, gpointer user_data)
This signal is emitted when the diagnostics have changed for any file managed by the IdeDiagnosticsManager.
Flags: Run Last
Since: 3.32