Skip to content

Edit text that reads right to left #128

Open

Description

@anderix

A paragraph holding Hebrew or Arabic, or one whose style reads right to left, is drawn in the order the bidirectional algorithm gives (#76) from a layout of its own, which does not line up character for character with the text the page editor edits; such a paragraph is read-only, and hovering it in edit mode says so. The spreadsheet's cell editor and formula bar, which are egui text boxes, show such text in the order it is written.

Editing needs the caret, the selection and a click mapped between written and drawn order line by line (the visual runs odox_core::bidi::Paragraph::line gives), with the arrow keys moving visually or logically as the platform does.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions