Skip to content

fontlabapp.proof.text_holder.editor

editor

Literal text over Qt blocks, with separator provenance in native undo data.

Qt's plaintext exporter folds NBSP/LS/PS. Block text preserves NBSP/LS; undo-aware paragraph character formats distinguish authored PS from LF. Paragraph-format merges cannot move a surviving separator's identity. No original source body, shadow history or undocumented toRawText is used.

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
BREAKS attribute
SEPARATOR attribute
document_position function (editor: Any, position: int, upper: bool=False) -> int Map a literal Find boundary to Qt, highlighting an intersected CRLF block.
editor_type function (qt: Any) -> type Create an ordinary editable Qt widget whose own ingress retains literals.
literal_position function (editor: Any, position: int) -> int Map native cursor positions to literal UTF16; a CRLF block is atomic.
literal_text function (editor: Any) -> str Read literal block text and its exact authored separator, never toPlainText.