## ide-code-types ide-code-types |

## Properties

IdeBufferManager * | buffer-manager | Write / Construct Only
IdeBufferChangeMonitor * | change-monitor | Read / Write
gboolean | changed-on-volume | Read
IdeDiagnostics * | diagnostics | Read / Write
gboolean | failed | Read
GFile * | file | Read / Write
IdeFileSettings * | file-settings | Read
gboolean | has-diagnostics | Read
gboolean | has-symbol-resolvers | Read
gboolean | highlight-diagnostics | Read / Write
gboolean | is-temporary | Read / Write / Construct Only
gchar * | language-id | Read / Write
gboolean | read-only | Read
IdeBufferState | state | Read
gchar * | style-scheme-name | Read / Write
gchar * | title | Read
IdeBuffer * | buffer | Read / Write / Construct Only
gint64 | max-file-size | Read / Write
gchar * | display-text | Read
IdeLocation * | location | Read / Write / Construct Only
IdeDiagnosticSeverity | severity | Read / Write / Construct Only
gchar * | text | Read / Write / Construct Only
gboolean | has-errors | Read
gboolean | has-warnings | Read
guint | n-errors | Read
guint | n-warnings | Read
gboolean | busy | Read
gboolean | auto-indent | Read / Write
gboolean | auto-indent-set | Read / Write
gchar * | encoding | Read / Write
gboolean | encoding-set | Read / Write
GFile * | file | Read / Write / Construct Only
IdeIndentStyle | indent-style | Read / Write
gboolean | indent-style-set | Read / Write
gint | indent-width | Read / Write
gboolean | indent-width-set | Read / Write
gboolean | insert-matching-brace | Read / Write
gboolean | insert-matching-brace-set | Read / Write
gboolean | insert-trailing-newline | Read / Write
gboolean | insert-trailing-newline-set | Read / Write
gchar * | language | Read / Write / Construct Only
GtkSourceNewlineType | newline-type | Read / Write
gboolean | newline-type-set | Read / Write
gboolean | overwrite-braces | Read / Write
gboolean | overwrite-braces-set | Read / Write
guint | right-margin-position | Read / Write
gboolean | right-margin-position-set | Read / Write
gboolean | settled | Read / Write
gboolean | show-right-margin | Read / Write
gboolean | show-right-margin-set | Read / Write
IdeSpacesStyle | spaces-style | Read / Write
gboolean | spaces-style-set | Read / Write
guint | tab-width | Read / Write
gboolean | tab-width-set | Read / Write
gboolean | trim-trailing-whitespace | Read / Write
gboolean | trim-trailing-whitespace-set | Read / Write
gboolean | insert-spaces | Read / Write
guint | tab-width | Read / Write
IdeBuffer * | buffer | Read / Write / Construct Only
IdeHighlighter * | highlighter | Read
GFile * | file | Read / Write / Construct Only
gint | line | Read / Write / Construct Only
gint | line-offset | Read / Write / Construct Only
gint | offset | Read / Write / Construct Only
IdeLocation * | begin | Read / Write / Construct Only
IdeLocation * | end | Read / Write / Construct Only
IdeSymbolFlags | flags | Read / Write / Construct Only
IdeLocation * | header-location | Read / Write / Construct Only
IdeSymbolKind | kind | Read / Write / Construct Only
IdeLocation * | location | Read / Write / Construct Only
gchar * | name | Read / Write / Construct Only
IdeSymbolFlags | flags | Read / Write
IdeSymbolKind | kind | Read / Write
gchar * | name | Read / Write
gboolean | use-markup | Read / Write
IdeRange * | range | Read / Write
gchar * | text | Read / Write
gchar * | project-id | Read / Write / Construct Only

## Signals

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

## Types and Values

| IdeBuffer
| IdeBufferAddin
| IdeBufferChangeMonitor
| IdeBufferManager
| IdeCodeIndexEntries
| IdeCodeIndexEntry
| IdeCodeIndexer
| IdeDiagnostic
| IdeDiagnosticProvider
| IdeDiagnostics
| IdeDiagnosticsManager
| IdeFile
| IdeFileSettings
| IdeFormatter
| IdeFormatterOptions
| IdeHighlightEngine
| IdeHighlightIndex
| IdeHighlighter
| IdeLocation
| IdeRange
| IdeRenameProvider
| IdeSymbol
| IdeSymbolNode
| IdeSymbolResolver
| IdeSymbolTree
| IdeTextEdit
| IdeUnsavedFile
| IdeUnsavedFiles

## Object Hierarchy

        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

## Prerequisites

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.

## Implemented Interfaces

IdeBufferManager implements GListModel.

IdeDiagnostics implements GListModel.

## Known Implementations

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.

## Description

## Functions

## Types and Values

### IdeBuffer

    typedef struct _IdeBuffer IdeBuffer;

### IdeBufferAddin

    typedef struct _IdeBufferAddin IdeBufferAddin;

### IdeBufferChangeMonitor

    typedef struct _IdeBufferChangeMonitor IdeBufferChangeMonitor;

### IdeBufferManager

    typedef struct _IdeBufferManager IdeBufferManager;

### IdeCodeIndexEntries

    typedef struct _IdeCodeIndexEntries IdeCodeIndexEntries;

### IdeCodeIndexEntry

    typedef struct _IdeCodeIndexEntry IdeCodeIndexEntry;

### IdeCodeIndexer

    typedef struct _IdeCodeIndexer IdeCodeIndexer;

### IdeDiagnostic

    typedef struct _IdeDiagnostic IdeDiagnostic;

### IdeDiagnosticProvider

    typedef struct _IdeDiagnosticProvider IdeDiagnosticProvider;

### IdeDiagnostics

    typedef struct _IdeDiagnostics IdeDiagnostics;

### IdeDiagnosticsManager

    typedef struct _IdeDiagnosticsManager IdeDiagnosticsManager;

### IdeFile

    typedef struct _IdeFile IdeFile;

### IdeFileSettings

    typedef struct _IdeFileSettings IdeFileSettings;

### IdeFormatter

    typedef struct _IdeFormatter IdeFormatter;

### IdeFormatterOptions

    typedef struct _IdeFormatterOptions IdeFormatterOptions;

### IdeHighlightEngine

    typedef struct _IdeHighlightEngine IdeHighlightEngine;

### IdeHighlightIndex

    typedef struct _IdeHighlightIndex IdeHighlightIndex;

### IdeHighlighter

    typedef struct _IdeHighlighter IdeHighlighter;

### IdeLocation

    typedef struct _IdeLocation IdeLocation;

### IdeRange

    typedef struct _IdeRange IdeRange;

### IdeRenameProvider

    typedef struct _IdeRenameProvider IdeRenameProvider;

### IdeSymbol

    typedef struct _IdeSymbol IdeSymbol;

### IdeSymbolNode

    typedef struct _IdeSymbolNode IdeSymbolNode;

### IdeSymbolResolver

    typedef struct _IdeSymbolResolver IdeSymbolResolver;

### IdeSymbolTree

    typedef struct _IdeSymbolTree IdeSymbolTree;

### IdeTextEdit

    typedef struct _IdeTextEdit IdeTextEdit;

### IdeUnsavedFile

    typedef struct _IdeUnsavedFile IdeUnsavedFile;

### IdeUnsavedFiles

    typedef struct _IdeUnsavedFiles IdeUnsavedFiles;

## Property Details

### The `“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.

Owner: IdeBuffer

Flags: Write / Construct Only

Since: 3.32

### The `“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.

Owner: IdeBuffer

Flags: Read / Write

Since: 3.32

### The `“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.

Owner: IdeBuffer

Flags: Read

Default value: FALSE

Since: 3.32

### The `“diagnostics”` property

      “diagnostics”              IdeDiagnostics *

The "diagnostics" property contains an IdeDiagnostics that represent the diagnostics found in the buffer.

Owner: IdeBuffer

Flags: Read / Write

Since: 3.32

### The `“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.

Owner: IdeBuffer

Flags: Read

Default value: FALSE

Since: 3.32

### The `“file”` property

      “file”                     GFile *

The "file" property is the underlying file represented by the buffer.

Owner: IdeBuffer

Flags: Read / Write

Since: 3.32

### The `“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.

Owner: IdeBuffer

Flags: Read

Since: 3.32

### The `“has-diagnostics”` property

      “has-diagnostics”          gboolean

The "has-diagnostics" property denotes that there are a non-zero number of diangostics registered for the buffer.

Owner: IdeBuffer

Flags: Read

Default value: FALSE

Since: 3.32

### The `“has-symbol-resolvers”` property

      “has-symbol-resolvers”     gboolean

The "has-symbol-resolvers" property is `TRUE` if there are any symbol resolvers loaded.

Owner: IdeBuffer

Flags: Read

Default value: FALSE

Since: 3.32

### The `“highlight-diagnostics”` property

      “highlight-diagnostics”    gboolean

The "highlight-diagnostics" property indicates that diagnostics which are discovered should be styled.

Owner: IdeBuffer

Flags: Read / Write

Default value: TRUE

Since: 3.32

### The `“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`.

Owner: IdeBuffer

Flags: Read / Write / Construct Only

Default value: FALSE

Since: 3.32

### The `“language-id”` property

      “language-id”              gchar *

The "language-id" property is a convenience property to set the “langauge” property using a string name.

Owner: IdeBuffer

Flags: Read / Write

Default value: NULL

Since: 3.32

### The `“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.

Owner: IdeBuffer

Flags: Read

Default value: FALSE

Since: 3.32

### The `“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.

Owner: IdeBuffer

Flags: Read

Default value: IDE_BUFFER_STATE_READY

Since: 3.32

### The `“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.

Owner: IdeBuffer

Flags: Read / Write

Default value: NULL

Since: 3.32

### The `“title”` property

      “title”                    gchar *

The "title" for the buffer which includes some variant of the path to the underlying file.

Owner: IdeBuffer

Flags: Read

Default value: NULL

Since: 3.32

### The `“buffer”` property

      “buffer”                   IdeBuffer *

The IdeBuffer to be monitored.

Owner: IdeBufferChangeMonitor

Flags: Read / Write / Construct Only

### The `“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.

Owner: IdeBufferManager

Flags: Read / Write

Allowed values: >= -1

Default value: 10485760

Since: 3.32

### The `“display-text”` property

      “display-text”             gchar *

The text formatted for display.

Owner: IdeDiagnostic

Flags: Read

Default value: NULL

### The `“location”` property

      “location”                 IdeLocation *

The location of the diagnostic.

Owner: IdeDiagnostic

Flags: Read / Write / Construct Only

### The `“severity”` property

      “severity”                 IdeDiagnosticSeverity

The severity of the diagnostic.

Owner: IdeDiagnostic

Flags: Read / Write / Construct Only

Default value: IDE_DIAGNOSTIC_IGNORED

### The `“text”` property

      “text”                     gchar *

The text of the diagnostic.

Owner: IdeDiagnostic

Flags: Read / Write / Construct Only

Default value: NULL

### The `“has-errors”` property

      “has-errors”               gboolean

If there are any errors in the diagnostic set.

Owner: IdeDiagnostics

Flags: Read

Default value: FALSE

### The `“has-warnings”` property

      “has-warnings”             gboolean

If there are any warnings in the diagnostic set.

Owner: IdeDiagnostics

Flags: Read

Default value: FALSE

### The `“n-errors”` property

      “n-errors”                 guint

Number of errors in diagnostic set.

Owner: IdeDiagnostics

Flags: Read

Default value: 0

### The `“n-warnings”` property

      “n-warnings”               guint

Number of warnings in diagnostic set.

Owner: IdeDiagnostics

Flags: Read

Default value: 0

### The `“busy”` property

      “busy”                     gboolean

If the diagnostics manager is busy.

Owner: IdeDiagnosticsManager

Flags: Read

Default value: FALSE

### The `“auto-indent”` property

      “auto-indent”              gboolean

If the the auto-indenter should be enabled.

Owner: IdeFileSettings

Flags: Read / Write

Default value: FALSE

### The `“auto-indent-set”` property

      “auto-indent-set”          gboolean

If IdeFileSettings:auto-indent is set.

Owner: IdeFileSettings

Flags: Read / Write

Default value: FALSE

### The `“encoding”` property

      “encoding”                 gchar *

The character encoding.

Owner: IdeFileSettings

Flags: Read / Write

Default value: NULL

### The `“encoding-set”` property

      “encoding-set”             gboolean

If IdeFileSettings:encoding is set.

Owner: IdeFileSettings

Flags: Read / Write

Default value: FALSE

### The `“file”` property

      “file”                     GFile *

The GFile the settings represent.

Owner: IdeFileSettings

Flags: Read / Write / Construct Only

### The `“indent-style”` property

      “indent-style”             IdeIndentStyle

The indentation style.

Owner: IdeFileSettings

Flags: Read / Write

Default value: IDE_INDENT_STYLE_TABS

### The `“indent-style-set”` property

      “indent-style-set”         gboolean

If IdeFileSettings:indent-style is set.

Owner: IdeFileSettings

Flags: Read / Write

Default value: FALSE

### The `“indent-width”` property

      “indent-width”             gint

The indentation width, or -1 to use tab-width.

Owner: IdeFileSettings

Flags: Read / Write

Allowed values: [-1,32]

Default value: -1

### The `“indent-width-set”` property

      “indent-width-set”         gboolean

If IdeFileSettings:indent-width is set.

Owner: IdeFileSettings

Flags: Read / Write

Default value: FALSE

### The `“insert-matching-brace”` property

      “insert-matching-brace”    gboolean

Insert Matching Brace.

Owner: IdeFileSettings

Flags: Read / Write

Default value: FALSE

### The `“insert-matching-brace-set”` property

      “insert-matching-brace-set” gboolean

If IdeFileSettings:insert-matching-brace is set.

Owner: IdeFileSettings

Flags: Read / Write

Default value: FALSE

### The `“insert-trailing-newline”` property

      “insert-trailing-newline”  gboolean

If a trailing newline should be added when saving.

Owner: IdeFileSettings

Flags: Read / Write

Default value: FALSE

### The `“insert-trailing-newline-set”` property

      “insert-trailing-newline-set” gboolean

If IdeFileSettings:insert-trailing-newline is set.

Owner: IdeFileSettings

Flags: Read / Write

Default value: FALSE

### The `“language”` property

      “language”                 gchar *

The language the settings represent.

Owner: IdeFileSettings

Flags: Read / Write / Construct Only

Default value: NULL

### The `“newline-type”` property

      “newline-type”             GtkSourceNewlineType

The type of newline to use at the end of each line.

Owner: IdeFileSettings

Flags: Read / Write

Default value: GTK_SOURCE_NEWLINE_TYPE_LF

### The `“newline-type-set”` property

      “newline-type-set”         gboolean

If IdeFileSettings:newline-type is set.

Owner: IdeFileSettings

Flags: Read / Write

Default value: FALSE

### The `“overwrite-braces”` property

      “overwrite-braces”         gboolean

Type over existing braces.

Owner: IdeFileSettings

Flags: Read / Write

Default value: FALSE

### The `“overwrite-braces-set”` property

      “overwrite-braces-set”     gboolean

If IdeFileSettings:overwrite-braces is set.

Owner: IdeFileSettings

Flags: Read / Write

Default value: FALSE

### The `“right-margin-position”` property

      “right-margin-position”    guint

The position to draw the right margin, in characters.

Owner: IdeFileSettings

Flags: Read / Write

Allowed values: [1,1000]

Default value: 80

### The `“right-margin-position-set”` property

      “right-margin-position-set” gboolean

If IdeFileSettings:right-margin-position is set.

Owner: IdeFileSettings

Flags: Read / Write

Default value: FALSE

### The `“settled”` property

      “settled”                  gboolean

If the file settings implementations have settled.

Owner: IdeFileSettings

Flags: Read / Write

Default value: FALSE

### The `“show-right-margin”` property

      “show-right-margin”        gboolean

If the right margin line should be shown in the editor.

Owner: IdeFileSettings

Flags: Read / Write

Default value: FALSE

### The `“show-right-margin-set”` property

      “show-right-margin-set”    gboolean

If IdeFileSettings:show-right-margin is set.

Owner: IdeFileSettings

Flags: Read / Write

Default value: FALSE

### The `“spaces-style”` property

      “spaces-style”             IdeSpacesStyle

How to add spaces when reformatting certain text. Mostly used by completions.

Owner: IdeFileSettings

Flags: Read / Write

### The `“spaces-style-set”` property

      “spaces-style-set”         gboolean

If IdeFileSettings:spaces-style is set.

Owner: IdeFileSettings

Flags: Read / Write

Default value: FALSE

### The `“tab-width”` property

      “tab-width”                guint

The width of a tab in characters.

Owner: IdeFileSettings

Flags: Read / Write

Allowed values: [1,32]

Default value: 8

### The `“tab-width-set”` property

      “tab-width-set”            gboolean

If IdeFileSettings:tab-width is set.

Owner: IdeFileSettings

Flags: Read / Write

Default value: FALSE

### The `“trim-trailing-whitespace”` property

      “trim-trailing-whitespace” gboolean

If trailing whitespace should be trimmed from lines.

Owner: IdeFileSettings

Flags: Read / Write

Default value: FALSE

### The `“trim-trailing-whitespace-set”` property

      “trim-trailing-whitespace-set” gboolean

If IdeFileSettings:trim-trailing-whitespace is set.

Owner: IdeFileSettings

Flags: Read / Write

Default value: FALSE

### The `“insert-spaces”` property

      “insert-spaces”            gboolean

Insert spaces instead of tabs.

Owner: IdeFormatterOptions

Flags: Read / Write

Default value: FALSE

### The `“tab-width”` property

      “tab-width”                guint

The width of a tab in spaces.

Owner: IdeFormatterOptions

Flags: Read / Write

Allowed values: [1,32]

Default value: 8

### The `“buffer”` property

      “buffer”                   IdeBuffer *

The buffer to highlight.

Owner: IdeHighlightEngine

Flags: Read / Write / Construct Only

### The `“highlighter”` property

      “highlighter”              IdeHighlighter *

The highlighter to use for type information.

Owner: IdeHighlightEngine

Flags: Read

### The `“file”` property

      “file”                     GFile *

The file representing the location.

Owner: IdeLocation

Flags: Read / Write / Construct Only

### The `“line”` property

      “line”                     gint

The line number within the file, starting from 0 or -1 for unknown.

Owner: IdeLocation

Flags: Read / Write / Construct Only

Allowed values: >= -1

Default value: -1

### The `“line-offset”` property

      “line-offset”              gint

The offset within the line, starting from 0 or -1 for unknown.

Owner: IdeLocation

Flags: Read / Write / Construct Only

Allowed values: >= -1

Default value: -1

### The `“offset”` property

      “offset”                   gint

The offset within the file in characters, or -1 if unknown.

Owner: IdeLocation

Flags: Read / Write / Construct Only

Allowed values: >= -1

Default value: -1

### The `“begin”` property

      “begin”                    IdeLocation *

The start of the range.

Owner: IdeRange

Flags: Read / Write / Construct Only

### The `“end”` property

      “end”                      IdeLocation *

The end of the range.

Owner: IdeRange

Flags: Read / Write / Construct Only

### The `“flags”` property

      “flags”                    IdeSymbolFlags

The symbol flags.

Owner: IdeSymbol

Flags: Read / Write / Construct Only

### The `“header-location”` property

      “header-location”          IdeLocation *

The header location for the symbol.

Owner: IdeSymbol

Flags: Read / Write / Construct Only

### The `“kind”` property

      “kind”                     IdeSymbolKind

The kind of symbol.

Owner: IdeSymbol

Flags: Read / Write / Construct Only

Default value: IDE_SYMBOL_KIND_NONE

### The `“location”` property

      “location”                 IdeLocation *

The location for the symbol.

Owner: IdeSymbol

Flags: Read / Write / Construct Only

### The `“name”` property

      “name”                     gchar *

The name of the symbol.

Owner: IdeSymbol

Flags: Read / Write / Construct Only

Default value: NULL

### The `“flags”` property

      “flags”                    IdeSymbolFlags

Flags.

Owner: IdeSymbolNode

Flags: Read / Write

### The `“kind”` property

      “kind”                     IdeSymbolKind

Kind.

Owner: IdeSymbolNode

Flags: Read / Write

Default value: IDE_SYMBOL_KIND_NONE

### The `“name”` property

      “name”                     gchar *

Name.

Owner: IdeSymbolNode

Flags: Read / Write

Default value: NULL

### The `“use-markup”` property

      “use-markup”               gboolean

Use markup.

Owner: IdeSymbolNode

Flags: Read / Write

Default value: FALSE

### The `“range”` property

      “range”                    IdeRange *

The range for the text edit.

Owner: IdeTextEdit

Flags: Read / Write

### The `“text”` property

      “text”                     gchar *

The text to replace.

Owner: IdeTextEdit

Flags: Read / Write

Default value: NULL

### The `“project-id”` property

      “project-id”               gchar *

The identifier for the project.

Owner: IdeUnsavedFiles

Flags: Read / Write / Construct Only

Default value: NULL

## Signal Details

### The `“change-settled”` signal

    void
    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.

#### Parameters

self | an IdeBuffer |
user_data | user data set when the signal handler was connected. |

Flags: Run Last

Since: 3.32

### The `“cursor-moved”` signal

    void
    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.

#### Parameters

self | an IdeBuffer |
location | a GtkTextIter |
user_data | user data set when the signal handler was connected. |

Flags: Run Last

Since: 3.32

### The `“line-flags-changed”` signal

    void
    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.

#### Parameters

self | an IdeBuffer |
user_data | user data set when the signal handler was connected. |

Flags: Run Last

Since: 3.32

### The `“loaded”` signal

    void
    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.

#### Parameters

self | an IdeBuffer |
user_data | user data set when the signal handler was connected. |

Flags: Run Last

Since: 3.32

### The `“request-scroll-to-insert”` signal

    void
    user_function (IdeBuffer *idebuffer,
                   gpointer   user_data)

Requests that attached views scroll to insert location.

This is generally only used when loading a buffer.

#### Parameters

user_data | user data set when the signal handler was connected. |

Flags: Run Last

Since: 3.32

### The `“changed”` signal

    void
    user_function (IdeBufferChangeMonitor *idebufferchangemonitor,
                   gpointer                user_data)

Flags: Run Last

### The `“buffer-loaded”` signal

    void
    user_function (IdeBufferManager *self,
                   IdeBuffer        *buffer,
                   gpointer          user_data)

The "buffer-loaded" signal is emitted when an IdeBuffer has loaded a file from storage.

#### Parameters

self | an IdeBufferManager |
buffer | an IdeBuffer |
user_data | user data set when the signal handler was connected. |

Flags: Run Last

Since: 3.32

### The `“buffer-saved”` signal

    void
    user_function (IdeBufferManager *self,
                   IdeBuffer        *buffer,
                   gpointer          user_data)

The "buffer-saved" signal is emitted when an IdeBuffer has been saved to storage.

#### Parameters

self | an IdeBufferManager |
buffer | an IdeBuffer |
user_data | user data set when the signal handler was connected. |

Flags: Run Last

Since: 3.32

### The `“buffer-unloaded”` signal

    void
    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.

#### Parameters

self | an IdeBufferManager |
buffer | an IdeBuffer |
user_data | user data set when the signal handler was connected. |

Flags: Run Last

Since: 3.32

### The `“load-buffer”` signal

    void
    user_function (IdeBufferManager *idebuffermanager,
                   IdeBuffer        *arg1,
                   gboolean          arg2,
                   gpointer          user_data)

Flags: Run Last

### The `“invalidated”` signal

    void
    user_function (IdeDiagnosticProvider *idediagnosticprovider,
                   gpointer               user_data)

Flags: Run Last

### The `“changed”` signal

    void
    user_function (IdeDiagnosticsManager *self,
                   gpointer               user_data)

This signal is emitted when the diagnostics have changed for any file managed by the IdeDiagnosticsManager.

#### Parameters

self | an IdeDiagnosticsManager |
user_data | user data set when the signal handler was connected. |

Flags: Run Last

Since: 3.32