You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
3.0: draw every level of a nested list by default, and refuse at AddChild what the layout cannot draw #771
2.4 draws list levels past the second only when the document opts in (#483, PR #758), because drawing them adds lines
to documents that 2.x saved with two levels, and 2.x keeps a valid file's bytes. With the setting off, items below
level 2 are left out and reported once per list. A loop, a chain past ListItem.MaxNestingDepth and a fault below
level 2 are found only at Save, because AddChild must not throw anything new in 2.x. The list renderer also keeps
the layout of before #476 and #685 (the twin) for lists the document cannot place with the new layout, and that twin
draws two levels.
Proposal
In 3.0, every level is drawn and the setting is removed. AddChild refuses a loop and a chain past the bound where the
child is added (ArgumentException), and a fault in a nested item is refused as it is at level 1. The twin goes with #688, so one layout draws every level.
Acceptance
No setting for nesting; a nested list draws every level by default.
AddChild refuses a loop and a chain past the bound, with the exception documented on the member.
The 3.0 changelog lists the byte changes for documents with items below level 2.
Activity
feat(layout): draw nested list levels past the second when DrawNested…