Foundry.OnTypeDiagnostics

g Foundry.OnTypeDiagnostics Foundry.OnTypeDiagnostics GObject.GInterface GObject.GInterface Gio.ListModel Gio.ListModel GObject.GInterface->Gio.ListModel GObject.Object GObject.Object GObject.Object->Foundry.OnTypeDiagnostics Gio.ListModel->Foundry.OnTypeDiagnostics

Subclasses:

None

Methods

Inherited:

GObject.Object (37), Gio.ListModel (4)

Structs:

GObject.ObjectClass (5)

class

new (document)

foreach_in_range (first_line, last_line, callback, *callback_data)

line_has_diagnostic (line)

Virtual Methods

Inherited:

GObject.Object (7), Gio.ListModel (3)

Properties

None

Signals

Inherited:

GObject.Object (1), Gio.ListModel (1)

Fields

Inherited:

GObject.Object (1), Gio.ListModel (1)

Class Details

class Foundry.OnTypeDiagnostics(**kwargs)
Bases:

GObject.Object, Gio.ListModel

Abstract:

No

Structure:

Foundry.OnTypeDiagnosticsClass

Represents diagnostics that are continually updated as the contents of a document are changed.

classmethod new(document)
Parameters:

document (Foundry.TextDocument) –

Return type:

Foundry.OnTypeDiagnostics

foreach_in_range(first_line, last_line, callback, *callback_data)
Parameters:

Calls callback for each diagnostic found between the two lines.

line_has_diagnostic(line)
Parameters:

line (int) –

Return type:

bool