Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Issue 125201: Fix bug where the autocomplete text was being overridden by the user-entered text. (Closed)

Created:
11 years, 6 months ago by Scott Hess - ex-Googler
Modified:
9 years, 6 months ago
Reviewers:
jeremy
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fix bug where the autocomplete text was being overridden by the user-entered text. During the course of this, I gave in and implemented EmphasizeURLComponents() for consistency with Windows and GTK. Since modifying the text changes the selection, added SetTextAndSelectedRange() to make operations doing both easier to get right. Renamed UpdateAndStyleText() to SetText() for consistency. http://crbug.com/14122 TEST=See bug.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -14 lines) Patch
M chrome/browser/autocomplete/autocomplete_edit_view_mac.h View 1 chunk +10 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_mac.mm View 8 chunks +28 lines, -13 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Scott Hess - ex-Googler
The very last change is actually the one which fixes the bug.
11 years, 6 months ago (2009-06-16 18:37:32 UTC) #1
jeremy
11 years, 6 months ago (2009-06-16 19:19:11 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698