Foundry.OnTypeFormatter¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class Foundry.OnTypeFormatter(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
Abstract base class for plugins to implement formatting as you type.
- indent(document, iter)¶
- Parameters:
document (
Foundry.TextDocument)iter (
Foundry.TextIter)
- Return type:
iter:
Foundry.TextIter
Indents the text at iter.
iter should be set to the cursor location after the indent when exiting this function.
- is_trigger(document, iter, state, keyval)¶
- Parameters:
document (
Foundry.TextDocument)iter (
Foundry.TextIter)state (
Foundry.ModifierType)keyval (
int)
- Return type:
- do_indent(document, iter) virtual¶
- Parameters:
document (
Foundry.TextDocument)iter (
Foundry.TextIter)
- Return type:
iter:
Foundry.TextIter
Indents the text at iter.
iter should be set to the cursor location after the indent when exiting this function.
- do_is_trigger(document, iter, state, keyval) virtual¶
- Parameters:
document (
Foundry.TextDocument)iter (
Foundry.TextIter)state (
Foundry.ModifierType)keyval (
int)
- Return type: