The "enhanced" editor is definitely a step back in terms of functionality. In addition to not supporting directives typed into the number prefix it does not support using SAS macros to generate commands.
You might need to dig up a copy of the SAS 6.12 documentation to find a good description of Display Manager including the Program Editor.
The on-line documentation seems to be limited to this page that mixes commands you could type at the command line and those you can use in the number prefix area.
https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/hostunx/p0ucvztqs3j33en1ikzn904rpwxg.htm
... View more