Hi, On Sun, Jul 23, 2023 at 10:33 AM Casey Tucker <vim-dev-git...@256bit.org> wrote:
> @chrisbra <https://github.com/chrisbra> > > hm, can we have tests please? Can we make it a bit more explicit, that <D- > is done using the <super> key on non-Macs? > > I may need a bit of advice on how to write a test for this. I imagine the > main test case would be checking that <D- is recognized on Mac and GTK as > a shortcut by the parser and is accepted as a binding by the map command. > Would you be able to point me in the right direction with a link to > documentation for test writing, or to an existing test that I could adapt > towards this case? Are there additional test cases I should be considering? > There are quite a few test cases in src/testdir/test_termcodes.vim for testing various terminal key codes. For example, refer to the Test_special_term_keycodes() function. For MS-Windows, the tests are in the test_mswin_event.vim file. Refer to the LoopTestKeyArray() function. Regards, Yegappan > I'd also appreciate suggestions on how to make this more explicit. I > wasn't able to identify any other parts of the builtin documentation that > mention this previously Mac-only functionality, so I just amended those > sections to indicate that it's available on GTK. Please let me know what > more is needed. I'm comfortable doing the technical writing if it's needed, > I would just need to know what to write and where. > > > -- -- You received this message from the "vim_dev" 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_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAAW7x7mYRKiKEDrySWiW9Uvyg94EzmMOJFANreNTofi_vtx3ng%40mail.gmail.com.