NSSavePanel selecting part of file name
- by regulus6633
How do I set the part of the file name that is selected in NSSavePanel? I only want the file name selected and not the file extension.
Here's what I noticed. If I setAllowedFileTypes: for the save panel then only the file name is selected but not the file extension. However if I don't set the allowed file types then the file extension is selected along with the file name.
I don't want to use setAllowedFileTypes but I still want to control the selection so that the file extension is not selected. Can that be done?