Files
pdfcraft/crates/ui-egui/tests/play/repeated-step-tm.json
T
ihsan mokhlisse 4ebb575a88 M7: keep a repeated step without TL, and a partial rewrite's neighbour (#2517)
Three or more rows at one repeated step stay one paragraph when the file has no TL, which is how LibreOffice writes each line. A rewrite that leaves a source row still marks the whole paragraph, so the neighbour survives a second edit. Dragging the box width keeps the line breaks.
2026-10-29 10:11:18 +01:00

10 lines
368 B
JSON

{
"name": "repeated step one Tm per row",
"content": "BT /F1 12 Tf 1 0 0 1 72 700 Tm (One) Tj ET BT /F1 12 Tf 1 0 0 1 72 672.4 Tm (Two) Tj ET BT /F1 12 Tf 1 0 0 1 72 644.8 Tm (Three) Tj ET",
"steps": [
{"command": {"id": "edit.edit_text"}},
{"click_page": {"x": 90, "y": 676}},
{"expect_editor": {"contains": "Two", "text": "One\nTwo\nThree"}}
]
}