Skip to content

fontlabapp.features.identity_tools.nastaliq_connections.editor · declarations 001

Back to fontlabapp.features.identity_tools.nastaliq_connections.editor

Choices module-attribute

Choices

DATA module-attribute

DATA

END module-attribute

END

FORM module-attribute

FORM

KEY module-attribute

KEY

LOOKUP module-attribute

LOOKUP

START module-attribute

START

TITLE module-attribute

TITLE

connection_block

connection_block(choices: Choices, names: set[str]) -> str

Compile valid pairs only; retain stale choices as JSON without rules.

inventory

inventory(names: list[str]) -> tuple[list[str], list[str], dict[str, list[str]]]

Return left glyphs, right families and actual numbered variants.

main

main() -> Any

Open or replace the connection editor through the shared registry.

merge_feature

merge_feature(blocks: dict[str, Any], snippet: str) -> dict[str, Any]

Replace our region, or insert before a single rlig closing statement.

name_order

name_order(name: str) -> tuple[str, int, str]

Sort by family and numeric suffix, with the source's paired rasm order.

pair_problem

pair_problem(left: str, stem: str, replacement: str, names: set[str]) -> str

Explain an invalid pair without losing its saved record.

panel_type

panel_type() -> type

Create the owned modeless editor and the shared attachment drawing.

partition_choices

partition_choices(choices: Choices, names: set[str]) -> tuple[Choices, dict[tuple[str, str], str]]

Separate usable choices from stale records; the caller keeps both.

save_pair

save_pair(package: Any, expected: dict[str, Any], choices: Choices, names: set[str]) -> dict[str, int]

Use Fontport's source-bound writer; expose partial failures with Undo advice.

saved_choices

saved_choices(code: str) -> Choices

Read our exact managed comment; refuse ambiguous or malformed records.

unmanaged_rule_bases

unmanaged_rule_bases(blocks: dict[str, Any]) -> list[str]

Find earlier bare reverse rules outside the tool's managed region.