Added Indent snippet.
Set the correct origin during drafting.
Recalculate when the document structure alters.
Reset the (un)formatted index when the num gets set.
Cleanup.
Added first RTE event to react to changed structures.