Implemented #340: In-tree editing of TODO state.