Enhancement of command syntax checking in the editor