Changeset 420


Ignore:
Timestamp:
Apr 20, 2010, 10:36:38 PM (15 years ago)
Author:
dmik
Message:

Use PgUp/PgDn/Home/End for scrolling navigation only if pressed without any modifiers since the modified keys may be used by the accelerator tables for other actions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/Lucide/gui/docViewer.cpp

    r412 r420  
    22982298
    22992299            case VK_PAGEUP:
    2300                 if ( !( fsflags & KC_CTRL ) )
     2300                if ( !( fsflags & (KC_CTRL | KC_SHIFT | KC_ALT) ) )
    23012301                {
    23022302                    bool dojump = ( !isContinuous() && ( sVscrollPos == 0 )
     
    23142314
    23152315            case VK_PAGEDOWN:
    2316                 if ( !( fsflags & KC_CTRL ) )
     2316                if ( !( fsflags & (KC_CTRL | KC_SHIFT | KC_ALT) ) )
    23172317                {
    23182318                    bool dojump = ( !isContinuous() && ( sVscrollPos == sVscrollMax ) );
     
    23252325                    return TRUE;
    23262326                }
    2327                 break;
     2327                return FALSE;
    23282328
    23292329            case VK_HOME:
    2330                 if ( !( fsflags & KC_CTRL ) )
     2330                if ( !( fsflags & (KC_CTRL | KC_SHIFT | KC_ALT) ) )
    23312331                {
    23322332                    goToPage( 0 );
     
    23372337
    23382338            case VK_END:
    2339                 if ( !( fsflags & KC_CTRL ) )
     2339                if ( !( fsflags & (KC_CTRL | KC_SHIFT | KC_ALT) ) )
    23402340                {
    23412341                    goToPage( totalpages - 1 );
Note: See TracChangeset for help on using the changeset viewer.