DescriptionViews Textfield: Copy on Ctrl+Insert, fix and disable overtype.
Copy/paste on [Ctrl]/[Shift]+[Insert]; no-op on [Ctrl]+[Shift]+[Insert].
Disable insert/overtype mode toggling on [Insert].
(both of these match Windows native textfield behavior)
(note: there is no other way to access overtype mode)
Fix overtype cursor rendering for potential future use.
(use an unfocused selection color for overtype cursors)
(do not attempt to re-color the cursor's associated graphemes)
See a screenshot at http://crbug.com/163107#c5
BUG=163107
TEST=Views textfield/omnibox will copy on [Ctrl]+[Insert], paste on [Shift]+[Insert], and no-op on [Insert] and [Ctrl]+[Shift]+[Insert].
R=asvitkine@chromium.org,sky@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181250
Patch Set 1 : Draw a gray overtype rect instead. #Patch Set 2 : Disable overtype mode toggle on [Insert]. #Patch Set 3 : Remove NativeTextfieldViewsTest overtype-mode cases. #Patch Set 4 : Add [Shift]+[Insert] for paste; no-op on [Ctrl]+[Shift]+[Insert]. #Patch Set 5 : Expand unit tests. #
Messages
Total messages: 8 (0 generated)
|