[webkit-changes] [WebKit/WebKit] 8b67f0: [Unified Text Replacement] When receiving replacem...
Richard Robinson
noreply at github.com
Tue May 21 20:16:11 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8b67f039da83aed942a0431d948a22dd5d940fbe
https://github.com/WebKit/WebKit/commit/8b67f039da83aed942a0431d948a22dd5d940fbe
Author: Richard Robinson <richard_robinson2 at apple.com>
Date: 2024-05-21 (Tue, 21 May 2024)
Changed paths:
M Source/WebKit/WebProcess/WebPage/Cocoa/UnifiedTextReplacementController.mm
Log Message:
-----------
[Unified Text Replacement] When receiving replacements, the document markers may be added to incorrect ranges
https://bugs.webkit.org/show_bug.cgi?id=274435
rdar://128083075
Reviewed by Aditya Keerthi.
When receiving replacements, after replacing the text and before adding the document marker, the
session range must be re-computed so that it is up-to-date so that the marker range is correct.
* Source/WebKit/WebProcess/WebPage/Cocoa/UnifiedTextReplacementController.mm:
(WebKit::UnifiedTextReplacementController::textReplacementSessionDidReceiveReplacements):
Canonical link: https://commits.webkit.org/279098@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list