Skip to content

fontlabapp.fontui.features_state

features_state

Pure staging for the B08 editor: blocks, line endings, add/remove.

Qt's plain-text widget shows every line break as LF. Each block remembers its own stored line ending (LF, CRLF or CR) and gets it back on write; a block with mixed endings may be shown but not rewritten. Fontport validates the result.

Classes

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
MIXED attribute
NEW_FEATURE attribute
PREFIX attribute
line_ending function (text: str) -> str | None Return the one line ending used by text (LF if none), or None if mixed.
shown function (text: str) -> str What QPlainTextEdit displays for text.