VirtualBox

Changeset 2400 in kBuild


Ignore:
Timestamp:
Mar 7, 2010 2:08:52 PM (15 years ago)
Author:
bird
Message:

kkdev.e: Mac OS X Command+F/E/T menu hacks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VSlickMacros/kkeys.e

    r2388 r2400  
    2424 */
    2525
     26/*******************************************************************************
     27*  Header Files                                                                *
     28*******************************************************************************/
     29#include 'slick.sh'
     30
     31
     32/*******************************************************************************
     33*  Global Variables                                                            *
     34*******************************************************************************/
    2635defeventtab default_keys
    2736def  'A-UP'     = find_prev
     
    5362def  'M-PGDN'   = next_proc
    5463def  'M-d'      = delete_line
     64def  'M-f'      = kkeys_open_file_menu
     65def  'M-e'      = kkeys_open_edit_menu
    5566def  'M-o'      = kkeys_duplicate_line
    5667def  'M-s'      = kkeys_switch_lines
     68def  'M-t'      = kkeys_open_tools_menu
    5769def  'M-u'      = undo_cursor
    5870def  'M-g'      = goto_line
     
    276288#endif
    277289
     290/** @name Mac OS X Hacks: Alt+[fet] -> drop down menu
     291 *
     292 * This only works when the alt menu hotkeys are enabled in the
     293 * settings.  Al
     294 *
     295 * @{
     296 */
     297_command void kkeys_open_file_menu()
     298{
     299   call_key(A_F)
     300}
     301
     302_command void kkeys_open_edit_menu()
     303{
     304   call_key(A_E)
     305}
     306
     307_command void kkeys_open_tools_menu()
     308{
     309   call_key(A_T)
     310}
     311/** @} */
    278312
    279313void nop()
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette