ghisler(Author) wrote: 2026-05-19, 06:49 UTC
The dialog doesn't show "create file x", it shows "Enter name of file to edit". It's one of the two branches of the cm_Edit function:
- one is to strictly open a single existing file with an editor. This is the "F4" branch.
- the other is to create a single file, or to open or create multiple files. Only that branch has access to the dialog with edit box. This is the Shift+F4 branch. Since the F4 branch can only handle single files, just opening multiple files also needs to be handled by the Shift+F4 branch.
The dialog's primary purpose is to create a new file and edit it. When you press F1 in the dialog, you get the page "SHIFT+F4: New text file".
The user used to only be able to create and edit a single file using the dialog. This later expanded to also being able to create multiple files, and to be able to not launch the editor.
The dialog is opened by cm_EditNewFile, generally not by cm_Edit (which purpose was to act like pressing F4 and opening the file under the cursor). The dialog is only opened by cm_Edit when using the /C switch to create files. AFAIK, it was never possible to get this dialog to specify a filename for editing without creating a file.
You are suggesting we now have a new dialog besides the "SHIFT+F4: New text file" dialog. A dialog that is indistinguishable from the "SHIFT+F4: New text file" dialog. A dialog that also has context sensitive help "SHIFT+F4: New text file". A dialog that can only be opened by using cm_Edit /N="<1-2>[C][error]" (making an error in a range specification). A dialog that creates a file when a single file is specified, and opens files without creating files if multiple filenames are specified. It doesn't make sense.