Foundry.TextDocumentAddin¶
- Subclasses:
None
Methods¶
- Inherited:
Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8)
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
|
|
|
|
|
|
|
|
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/co |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class Foundry.TextDocumentAddin(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
Abstract base class for plugins to alter how documents work.
- dup_document()¶
- Return type:
- list_code_actions()¶
- Returns:
a [class`Dex`.Future] that resolves to a [iface`Gio`.ListModel] of [class`Foundry`.CodeAction] or rejects with error
- Return type:
- load()¶
- Return type:
- post_load()¶
- Returns:
a [class`Dex`.Future] that resolves to any value or rejects with error.
- Return type:
Called after the document is loadd.
- post_save()¶
- Returns:
a [class`Dex`.Future] that resolves to any value or rejects with error.
- Return type:
Called after the document is saved.
- pre_load()¶
- Returns:
a [class`Dex`.Future] that resolves to any value or rejects with error.
- Return type:
Called before the document is loadd.
- pre_save()¶
- Returns:
a [class`Dex`.Future] that resolves to any value or rejects with error.
- Return type:
Called before the document is saved.
- unload()¶
- Return type:
- do_list_code_actions() virtual¶
- Returns:
a [class`Dex`.Future] that resolves to a [iface`Gio`.ListModel] of [class`Foundry`.CodeAction] or rejects with error
- Return type:
- do_load() virtual¶
- Return type:
- do_post_load() virtual¶
- Returns:
a [class`Dex`.Future] that resolves to any value or rejects with error.
- Return type:
Called after the document is loadd.
- do_post_save() virtual¶
- Returns:
a [class`Dex`.Future] that resolves to any value or rejects with error.
- Return type:
Called after the document is saved.
- do_pre_load() virtual¶
- Returns:
a [class`Dex`.Future] that resolves to any value or rejects with error.
- Return type:
Called before the document is loadd.
- do_pre_save() virtual¶
- Returns:
a [class`Dex`.Future] that resolves to any value or rejects with error.
- Return type:
Called before the document is saved.
- do_unload() virtual¶
- Return type:
Property Details¶
- Foundry.TextDocumentAddin.props.document¶
- Name:
document- Type:
- Default Value:
- Flags: