Foundry.DiagnosticFix

g Foundry.DiagnosticFix Foundry.DiagnosticFix GObject.Object GObject.Object GObject.Object->Foundry.DiagnosticFix

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

dup_description ()

list_text_edits ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

description

str

r

text-edits

Gio.ListModel

r

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Foundry.DiagnosticFix(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Foundry.DiagnosticFixClass

Represents a fix that may be applied to resolve a diagnostic.

dup_description()
Return type:

str

New in version 1.1.

list_text_edits()
Returns:

a [iface`Gio`.ListModel] of [class`Foundry`.TextEdit].

Return type:

Gio.ListModel

Gets the list of changes to be applied to fix the diagnostic.

New in version 1.1.

Property Details

Foundry.DiagnosticFix.props.description
Name:

description

Type:

str

Default Value:

None

Flags:

READABLE

Foundry.DiagnosticFix.props.text_edits
Name:

text-edits

Type:

Gio.ListModel

Default Value:

None

Flags:

READABLE