It's done in MMAppController.m's fileOpen: method. I think you just need to
enable "allowsMultipleSelection" (
https://developer.apple.com/documentation/appkit/nsopenpanel/1530786-allowsmultipleselection)
if you are trying to debug your own app.

On Wed, Jan 31, 2024 at 2:00 PM Jeff Holt <[email protected]> wrote:

> I'm looking at the source for the fileOpen method and I cannot figure out
> how it tells NSOpenPanel to respect ⌘A to select all files in the dialog.
>
> Does anyone know how it's done?
>
> --
> --
> You received this message from the "vim_mac" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups
> "vim_mac" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vim_mac/f959c994-3e15-4184-accf-8163bea9ccd2n%40googlegroups.com
> <https://groups.google.com/d/msgid/vim_mac/f959c994-3e15-4184-accf-8163bea9ccd2n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_mac/CAHTeOx8Gx0QUNe80EKXuxqRdBqTffH%2B5H_kgWoLy9KyO6P4LvQ%40mail.gmail.com.

Reply via email to