rql #35054 cleanup edition api [open]

currently it's not clear which method have undo support, handle variable references, or barely edit the tree.

We should cleanup this.

priorityimportant
typeenhancement
done in<not specified>
load0.500
load left0.500
closed by<not specified>