Chromium Code Reviews| Index: chrome/browser/autocomplete/autocomplete_edit_view_mac.mm |
| =================================================================== |
| --- chrome/browser/autocomplete/autocomplete_edit_view_mac.mm (revision 68309) |
| +++ chrome/browser/autocomplete/autocomplete_edit_view_mac.mm (working copy) |
| @@ -478,6 +478,8 @@ |
| return false; |
| suggest_text_length_ = 0; |
| + // Call SetText() to force a redraw and move the cursor to the end. |
| + SetText(GetText()); |
| model()->FinalizeInstantQuery(GetText()); |
| return true; |
| } |
| @@ -771,6 +773,7 @@ |
| suggest_text_length_ > 0 && |
| (range.location + suggest_text_length_ == |
| [[field_ stringValue] length])) { |
| + LOG(ERROR) << "Committing suggest"; |
|
Nico
2010/12/06 04:07:51
remove?
rohitrao (ping after 24h)
2010/12/06 19:46:29
Silly log spam. Gone.
|
| controller_->OnCommitSuggestedText(GetText()); |
| return true; |
| } |