Thread:Talk:VisualEditor/Software design/Coping with meta-nodes

Our plan for coping with meta-nodes (i.e., non-positional nodes that make page-level changes, but which nevertheless can appear anywhere in the document):

We will have a Meta Linear Model:
 * Transactions & processing
 * Sparsely-indexed array correlating to offsets in the data array
 * Offsets are maintained with  &mdash; insertion splices into meta array with undefined; deletions splice out meta array data and leave meta elements in place.
 * Offsets are maintained with  &mdash; insertion splices into meta array with undefined; deletions splice out meta array data and leave meta elements in place.