[Webkit-unassigned] [Bug 164519] Word transformations apply to a single word instead of entire selection if selection is made by triple-clicking
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Nov 13 11:36:18 PST 2016
https://bugs.webkit.org/show_bug.cgi?id=164519
--- Comment #3 from mitz at webkit.org <mitz at webkit.org> ---
(In reply to comment #1)
> The function VisibleSelection::expandUsingGranularity exists; is that
> relevant?
Yes, VisibleSelection::expandUsingGranularity is the one calling VisibleSelection::validate in this case. Hereâs the call stack:
WebCore::VisibleSelection::setStartAndEndFromBaseAndExtentRespectingGranularity(WebCore::TextGranularity) at Source/WebCore/editing/VisibleSelection.cpp:272
WebCore::VisibleSelection::validate(WebCore::TextGranularity) at Source/WebCore/editing/VisibleSelection.cpp:422
WebCore::VisibleSelection::expandUsingGranularity(WebCore::TextGranularity) at Source/WebCore/editing/VisibleSelection.cpp:198
WebCore::expandSelectionToGranularity(WebCore::Frame&, WebCore::TextGranularity) at Source/WebCore/editing/EditorCommand.cpp:177
WebCore::executeSelectWord(WebCore::Frame&, WebCore::Event*, WebCore::EditorCommandSource, WTF::String const&) at Source/WebCore/editing/EditorCommand.cpp:1015
WebCore::Editor::Command::execute(WTF::String const&, WebCore::Event*) const at Source/WebCore/editing/EditorCommand.cpp:1777
::-[WebHTMLView executeCoreCommandBySelector:](SEL) at Source/WebKit/mac/WebView/WebHTMLView.mm:2954
::-[WebHTMLView selectWord:](id) at Source/WebKit/mac/WebView/WebHTMLView.mm:3056
::-[WebHTMLView _changeWordCaseWithSelector:](SEL) at Source/WebKit/mac/WebView/WebHTMLView.mm:5824
::-[WebHTMLView uppercaseWord:](id) at Source/WebKit/mac/WebView/WebHTMLView.mm:5835
(In reply to comment #2)
> And SelectionController::expandUsingGranularity.
I donât see that one in TOT.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161113/41c32de6/attachment.html>
More information about the webkit-unassigned
mailing list