[Webkit-unassigned] [Bug 45709] Need to remove autocorrection underlines in current line when newline is entered.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 23 17:06:42 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=45709
--- Comment #16 from Enrica Casucci <enrica at apple.com> 2010-09-23 17:06:41 PST ---
(From update of attachment 68621)
View in context: https://bugs.webkit.org/attachment.cgi?id=68621&action=review
The rest looks good.
> WebCore/editing/Editor.cpp:3131
> + VisiblePosition newSelectionEnd(newSelection.end(), newSelection.affinity());
There is no need to use oldSelection, oldSelectionStart and newSelectionEnd. You can simply do:
if (!inSameParagraph(m_frame->selection()->selection().visibleStart(), newSelection.visibleEnd()))
and remove the three lines above.
--
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