fontlabapp.proof.text_holder.storage.TextStore
TextStore
Never access a path until explicitly loading or saving this tool.
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, path: Path) |
|
load |
function | (self) -> str |
Recover saved content; missing means empty, corrupt/unreadable raises. |
save |
function | (self, text: str) -> None |
Publish complete text; failed replacement preserves the previous file. |
save_size |
function | (self, size: tuple[int, int]) -> None |
Keep source decorated frame resizing across sessions without saving draft text. |
size |
function | (self) -> tuple[int, int] | None |
Recover only this tool decorated frame size; never read global settings. |