DescriptionRevert of [Mac] Preserve original selection when suggesting completions with diacritics (patchset #13 id:240001 of https://codereview.chromium.org/2395233005/ )
Reason for revert:
This almost definitely caused crbug.com/656972, but I can't repro the issue. Reverting while I investigate.
Original issue's description:
> Preserve original selection when suggesting completions with diacritics
>
> When NSTextView is asked to select a range which does not begin on a grapheme
> boundary, it expands the selection to the previous boundary. This change
> preserves the original selection, then contracts the range sent to
> NSTextView to fall on the *next* boundary.
>
> Text editing operations that operate on the selection use the original
> selection instead of the visual selection.
>
> Since the omnibox view uses the text view's selected range, the
> view's |selectedRange| returns the original range and not the visual
> range.
> BUG=603883
>
> Committed: https://crrev.com/8a8bae9fbc2e72afc208a0376c0f4a49388a6da3
> Cr-Commit-Position: refs/heads/master@{#425671}
TBR=asvitkine@chromium.org,erikchen@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=603883
Committed: https://crrev.com/67434dc6fcbb9c1f734b147e75183d864b33f174
Cr-Commit-Position: refs/heads/master@{#425975}
Patch Set 1 #
Messages
Total messages: 13 (5 generated)
|