[Webkit-unassigned] [Bug 48078] Editing a word with misspell or autocorrection underline should remove the underline when the editing changes the word.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 28 10:57:00 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=48078
mitz at webkit.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #72204|review? |review-
Flag| |
--- Comment #12 from mitz at webkit.org 2010-10-28 10:57:00 PST ---
(From update of attachment 72204)
View in context: https://bugs.webkit.org/attachment.cgi?id=72204&action=review
This is very close but I still have a few comments.
> WebCore/dom/DocumentMarker.h:36
> + // Changed MarkerType from regular enum to bit mask to make searching for multiple types easier.
This comment is appropriate for a change log, but it will not make sense to anyone reading this file in the future. Just remove it.
> WebCore/dom/DocumentMarker.h:46
> MarkerType type;
You should also typedef unsigned MarkerTypes.
> WebCore/dom/DocumentMarkerController.cpp:534
> +bool DocumentMarkerController::hasMarkers(Range* range, unsigned markerTypes)
Use the MarkerTypes typedef here.
> WebCore/editing/Editor.cpp:2977
> + static const unsigned markerTypesToRemove = DocumentMarker::Spelling | DocumentMarker::CorrectionIndicator;
“static” doesn’t do anything here. I’d not use a variable at all for this, but that’s just a matter of taste.
--
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