mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-10 02:11:07 -06:00
A row left in the source stays in the last paragraph. An extra marker is not placed across two marked-content regions.
15 lines
602 B
JSON
15 lines
602 B
JSON
{
|
|
"name": "last paragraph keeps both rows",
|
|
"content": "BT /F1 12 Tf 14.4 TL 1 0 0 1 72 700 Tm (Alpha first row.) Tj T* (Alpha next row.) Tj ET",
|
|
"steps": [
|
|
{"command": {"id": "edit.edit_text"}},
|
|
{"click_page": {"x": 120, "y": 704}},
|
|
{"type": {"text": "One.\nAlpha next row."}},
|
|
{"key": {"key": "Enter", "modifiers": ["command"]}},
|
|
{"expect_together": {"parts": ["One.", "Alpha next row."]}},
|
|
{"click_page": {"x": 120, "y": 704}},
|
|
{"expect_editor": {"contains": "One.", "text": "One.\nAlpha next row."}},
|
|
{"shot": {"name": "last-paragraph-keeps-both-rows"}}
|
|
]
|
|
}
|