Changeset 43419 in webkit


Ignore:
Timestamp:
May 8, 2009 4:40:39 PM (15 years ago)
Author:
Beth Dakin
Message:

2009-05-08 Douglas R. Davidson <ddavidso@apple.com>

Reviewed by Beth Dakin.

<rdar://problem/6857446> REGRESSION (Safari 3-4): Contraction base
marked as misspelled even though contraction is a word
Make sure spelling underline does not persist on words like
<doesn't>.

  • editing/TypingCommand.cpp: (WebCore::TypingCommand::typingAddedToOpenCommand):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r43418 r43419  
     12009-05-08  Douglas R. Davidson  <ddavidso@apple.com>
     2
     3        Reviewed by Beth Dakin.
     4
     5        <rdar://problem/6857446> REGRESSION (Safari 3-4): Contraction base
     6        marked as misspelled even though contraction is a word
     7        Make sure spelling underline does not persist on words like
     8        <doesn't>. 
     9
     10        * editing/TypingCommand.cpp:
     11        (WebCore::TypingCommand::typingAddedToOpenCommand):
     12
    1132009-05-08  Kevin Watters  <kevinwatters@gmail.com>
    214
  • trunk/WebCore/editing/TypingCommand.cpp

    r43044 r43419  
    312312void TypingCommand::typingAddedToOpenCommand()
    313313{
     314#if PLATFORM(MAC) && !defined(BUILDING_ON_TIGER) && !defined(BUILDING_ON_LEOPARD)
    314315    document()->frame()->editor()->appliedEditing(this);
    315316    // Since the spellchecking code may also perform corrections and other replacements, it should happen after the typing changes.
    316317    markMisspellingsAfterTyping();
     318#else
     319    // The old spellchecking code requires that checking be done first, to prevent issues like that in 6864072, where <doesn't> is marked as misspelled.
     320    markMisspellingsAfterTyping();
     321    document()->frame()->editor()->appliedEditing(this);
     322#endif
    317323}
    318324
Note: See TracChangeset for help on using the changeset viewer.