[webkit-changes] [WebKit/WebKit] 67d8e1: Refactor correction indicator removal logic
Aditya Keerthi
noreply at github.com
Wed Mar 1 15:56:41 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 67d8e1c6a1943bafb2827958f0c50b86e719449a
https://github.com/WebKit/WebKit/commit/67d8e1c6a1943bafb2827958f0c50b86e719449a
Author: Aditya Keerthi <akeerthi at apple.com>
Date: 2023-03-01 (Wed, 01 Mar 2023)
Changed paths:
M Source/WebCore/editing/AlternativeTextController.cpp
M Source/WebCore/editing/Editor.cpp
Log Message:
-----------
Refactor correction indicator removal logic
https://bugs.webkit.org/show_bug.cgi?id=253122
rdar://105737163
Reviewed by Wenson Hsieh.
Move some correction indicator removal logic into static helpers.
* Source/WebCore/editing/AlternativeTextController.cpp:
(WebCore::removeCorrectionIndicatorMarkers):
(WebCore::AlternativeTextController::respondToAppliedEditing):
* Source/WebCore/editing/Editor.cpp:
(WebCore::shouldRemoveAutocorrectionIndicator):
(WebCore::Editor::insertTextWithoutSendingTextEvent):
Canonical link: https://commits.webkit.org/261028@main
More information about the webkit-changes
mailing list