[Webkit-unassigned] [Bug 55571] [Refactoring] Auto correction panel should be handled by its own class.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 7 17:23:58 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=55571





--- Comment #57 from Jia Pu <jpu at apple.com>  2011-04-07 17:23:58 PST ---
(From update of attachment 88728)
View in context: https://bugs.webkit.org/attachment.cgi?id=88728&action=review

> Source/WebCore/editing/SpellingCorrectionController.cpp:363
> +bool SpellingCorrectionController::shouldRemoveMarkersUponEditing()
> +{
> +    return REMOVE_MARKERS_UPON_EDITING && m_correctionPanelInfo.isActive;

On platforms where REMOVE_MARKERS_UPON_EDITING is true, if an editing action changes a word that bears a spelling, grammar or autocorrection marker, we always want to remove it. It is not related to whether the correction panel is active. So this function should return true as long as REMOVE_MARKERS_UPON_EDITING is true.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list