| 1 | # Deleting across a table's edge |
| 2 | |
| 3 | `native/` is OneNote 2010 authoring `tools/native/pages.ps1` input: four pages in |
| 4 | `Cross.one`, each "Before text", a two-by-two table and "After text". |
| 5 | |
| 6 | `keys/` is `tools/native_cross_container.py` pressing the same keys in OneNote 2010 on |
| 7 | that notebook: a selection from "Before" into the first cell deleted, one from the |
| 8 | second cell out to "After" deleted and "X" typed, one from "Before" over the first row |
| 9 | into "Beta one" typed over with "Y", and one from "Before" over the whole table deleted. |
| 10 | OneNote joins nothing across the table's edge, empties cells inside the selection, and |
| 11 | where the selection runs on past the table removes its rows inside, and the table when |
| 12 | all of them are. |
| 13 | |
| 14 | `candidate/` is the output of `deleting_across_a_tables_edge_keeps_each_side` in |
| 15 | `crates/canvas/tests/cross_container.rs`, the same edits through the editor, each |
| 16 | published as its own revision; `cold/` is a fresh OneNote 2010 read of it, whose pages |
| 17 | read as `keys/` does. `tools/test_cross_container.py` checks this without a VM. |
| 18 | Regenerate with `SNOWBOUND_CROSS_CONTAINER_EXPORT` set to a new absolute directory while |
| 19 | running the test, then cold-open it with |
| 20 | `tools/native_runner.py OUTPUT COLD --expected-pages 4 --collect-notebook --screenshots`. |