Changeset 70113 in webkit


Ignore:
Timestamp:
Oct 19, 2010 5:20:28 PM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-10-19 Jia Pu <jpu@apple.com>

Reviewed by James Robinson.

Moving cursor back to autocorrected word in the same line shouldn't remove the underline
https://bugs.webkit.org/show_bug.cgi?id=47629
<rdar://problem/8546758>

Patch <http://trac.webkit.org/changeset/70071> breaks some Chromium Mac hehavior. This patch
fixes that.

  • editing/Editor.cpp: (WebCore::Editor::respondToChangedSelection): Add "!PLATFORM(MAC)" to make sure nothing changes on non-Mac platforms.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r70104 r70113  
     12010-10-19  Jia Pu  <jpu@apple.com>
     2
     3        Reviewed by James Robinson.
     4
     5        Moving cursor back to autocorrected word in the same line shouldn't remove the underline
     6        https://bugs.webkit.org/show_bug.cgi?id=47629
     7        <rdar://problem/8546758>
     8       
     9        Patch <http://trac.webkit.org/changeset/70071> breaks some Chromium Mac hehavior. This patch
     10        fixes that.
     11
     12        * editing/Editor.cpp:
     13        (WebCore::Editor::respondToChangedSelection): Add "!PLATFORM(MAC)" to make sure nothing changes
     14          on non-Mac platforms.
     15
    1162010-10-19  Alexey Proskuryakov  <ap@apple.com>
    217
  • trunk/WebCore/editing/Editor.cpp

    r70071 r70113  
    36103610        }
    36113611
    3612 #if PLATFORM(MAC) && (defined(BUILDING_ON_TIGER) || defined(BUILDING_ON_LEOPARD) || defined(BUILDING_ON_SNOW_LEOPARD))
     3612#if !PLATFORM(MAC) || (PLATFORM(MAC) && (defined(BUILDING_ON_TIGER) || defined(BUILDING_ON_LEOPARD) || defined(BUILDING_ON_SNOW_LEOPARD)))
    36133613        // This only erases markers that are in the first unit (word or sentence) of the selection.
    36143614        // Perhaps peculiar, but it matches AppKit on these Mac OSX versions.
Note: See TracChangeset for help on using the changeset viewer.