Changeset 19799

Show
Ignore:
Timestamp:
02/22/07 12:50:13 (3 years ago)
Author:
adele
Message:

Reviewed by John.

Fix < rdar://problem/5016969> REGRESSION: "Check Spelling As You Type" context menu item is never checked

  • platform/ContextMenu.cpp: (WebCore::ContextMenu::checkOrEnableIfNeeded): Set shouldCheck for ContextMenuItemTagCheckSpellingWhileTyping.
Location:
trunk/WebCore
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r19797 r19799  
     12007-02-22  Adele Peterson  <adele@apple.com> 
     2 
     3        Reviewed by John. 
     4 
     5        Fix <rdar://problem/5016969> REGRESSION: "Check Spelling As You Type" context menu item is never checked 
     6 
     7        * platform/ContextMenu.cpp: (WebCore::ContextMenu::checkOrEnableIfNeeded): Set shouldCheck for ContextMenuItemTagCheckSpellingWhileTyping. 
     8 
    192007-02-22  Antti Koivisto  <antti@apple.com> 
    210 
  • trunk/WebCore/platform/ContextMenu.cpp

    r19266 r19799  
    467467            shouldEnable = false; 
    468468            break; 
     469        case ContextMenuItemTagCheckSpellingWhileTyping: 
     470            shouldCheck = frame->editor()->isContinuousSpellCheckingEnabled(); 
     471            break; 
    469472        case ContextMenuItemTagNoAction: 
    470473        case ContextMenuItemTagOpenLinkInNewWindow: 
     
    496499        case ContextMenuItemTagIgnoreGrammar: 
    497500        case ContextMenuItemTagSpellingMenu: 
    498         case ContextMenuItemTagCheckSpellingWhileTyping: 
    499501        case ContextMenuItemTagFontMenu: 
    500502        case ContextMenuItemTagShowFonts: