Preserve textfield selection direction when cutting.
Apparently back in 2011, undoing a cut in TextfieldModel would restore the cut text with incorrectly reversed selection direction. This was evident when then modifying the selection (e.g. shift + arrows/home/end). This was worked around by reversing the selection an additional time. However, the original reversal no longer occurs, so the workaround is now causing the bug it was meant to fix. This CL removes the workaround selection-reversal. Bug: 1017179 Change-Id: If230de84455b5be5feedc12ba6636668642e68dd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1875474 Commit-Queue: manuk hovanesian <manukh@chromium.org> Reviewed-by:Peter Boström <pbos@chromium.org> Cr-Commit-Position: refs/heads/master@{#709049}
Showing
Please register or sign in to comment