VirtualBox

Changeset 2411 in kBuild


Ignore:
Timestamp:
Jun 27, 2010 11:29:22 PM (15 years ago)
Author:
bird
Message:

kkeys.e: Mac OS X hacks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VSlickMacros/kkeys.e

    r2410 r2411  
    359359}
    360360
     361
     362#if __VERSION__ >= 14.0
     363
     364/*
     365 * Some diff keyboard hacks for Mac OS X.
     366 */
     367defeventtab _diff_form
     368def  'M-f'      = kkeys_diffedit_find
     369def  'M-n'      = kkeys_diffedit_next
     370def  'M-p'      = kkeys_diffedit_prev
     371
     372_command kkeys_diffedit_find()
     373{
     374   _nocheck _control _ctlfind;
     375   _ctlfind.call_event(_ctlfind, LBUTTON_UP);
     376}
     377
     378_command kkeys_diffedit_next()
     379{
     380   _nocheck _control _ctlfile1;
     381   _nocheck _control _ctlfile2;
     382   _DiffNextDifference(_ctlfile1, _ctlfile2);
     383}
     384
     385_command kkeys_diffedit_prev()
     386{
     387   _nocheck _control _ctlfile1;
     388   _nocheck _control _ctlfile2;
     389   _DiffNextDifference(_ctlfile1, _ctlfile2, '-');
     390}
     391
     392#endif /* >= 14.0 */
     393
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