Open eeeeaaii opened 3 years ago
erm I guess we would only do this if the insertion pip was inside - and it was changed to a command type that doesn't have an argument.
It seems like this could actually be a different FR - maybe commands without args should be
of course what happens when you have a command that has children and you accidentally change the name of the command to "random" - does it delete the children?
needs further thought and maybe this can just stay the way it is.
closing as WAI, this old bug is out of date
we have logic for commands that moves the default insertion pip to after a command if it has no args.
However it's not really clear when we actually run this code to set the pip. maybe when it's selected?
We should run it then I guess, but ALSO immediately after editing the command - i.e. after that command name has been chosen and the editor finishes