fontlabapp.fontui.features.FeaturesEditor
FeaturesEditor
Edit the prefix and each feature block; Apply writes them in one batch.
Models with features.get_blocks/set_blocks (Fontport) are edited block by block; other models with features.apply edit one whole text. Code is stored, never compiled or executed; each block keeps its own line ending. FontLab's Undo/Redo actions reload the editor.
Source bases
Inherited member index
Source-proven inherited members; local declarations override these entries.
connect— defined byfontlabapp.fontui.lifecycle.Owned.connect
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
__init__ |
function | (self, font: Any, parent: Any=None, on_apply: Callable[[Any, str], None] | None=None) -> None |
|
add_feature |
function | (self) -> bool |
|
apply |
function | (self) -> bool |
Write all staged blocks in one backend call and verify the readback. |
close |
function | (self) -> None |
|
dirty |
attribute | (self) -> bool |
|
refresh |
function | (self) -> bool |
Explicitly discard staged edits and load the captured font's source. |
remove_feature |
function | (self) -> bool |
|
revert |
attribute |