Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 67d8e1c6a1943bafb2827958f0c50b86e719449a
      
https://github.com/WebKit/WebKit/commit/67d8e1c6a1943bafb2827958f0c50b86e719449a
  Author: Aditya Keerthi <akeer...@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to