Foundry.DiagnosticBuilder¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class Foundry.DiagnosticBuilder¶
- classmethod new(context)¶
- Parameters:
context (
Foundry.Context)- Return type:
- add_fix(description, text_edits)¶
- Parameters:
text_edits (
Gio.ListModel) – [iface`Gio`.ListModel] of [class`Foundry`.TextEdit]
Adds a potential fix to the diagnostic.
Added in version 1.1.
- add_range(begin_line, begin_line_offset, end_line, end_line_offset)¶
- end()¶
- Returns:
a
Foundry.DiagnosticorNone- Return type:
- ref()¶
- Return type:
- set_markup(markup)¶
- Parameters:
markup (
Foundry.Markup)
- set_severity(severity)¶
- Parameters:
severity (
Foundry.DiagnosticSeverity)
- take_markup(markup)¶
- Parameters:
markup (
Foundry.Markup)
- unref()¶