title: NSSavePanel selecting part of file name
body: <p>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.</p>
  
  <p>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.</p>
  
  <p>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?</p>