Skip to content

fontlabapp.proof.text_holder.editor · declarations 001

Back to fontlabapp.proof.text_holder.editor

BREAKS module-attribute

BREAKS

SEPARATOR module-attribute

SEPARATOR

document_position

document_position(editor: Any, position: int, upper: bool = False) -> int

Map a literal Find boundary to Qt, highlighting an intersected CRLF block.

editor_type

editor_type(qt: Any) -> type

Create an ordinary editable Qt widget whose own ingress retains literals.

literal_position

literal_position(editor: Any, position: int) -> int

Map native cursor positions to literal UTF16; a CRLF block is atomic.

literal_text

literal_text(editor: Any) -> str

Read literal block text and its exact authored separator, never toPlainText.