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

Unified Diff: chrome/views/controls/text_field.cc

Issue 62043: The bookmarks title in the bubble should be left justified (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/controls/text_field.cc
===================================================================
--- chrome/views/controls/text_field.cc (revision 13127)
+++ chrome/views/controls/text_field.cc (working copy)
@@ -345,7 +345,7 @@
void TextField::Edit::SelectAll() {
// Using (0, -1) here is equivalent to calling SetSelAll(); both will select
// the "phantom newline" that we're trying to avoid.
- SetSel(0, GetTextLength());
+ SetSel(GetTextLength(), 0);
sky 2009/04/06 16:35:46 Does this mean any time the user presses control-a
Mohamed Mansour (USE mhm) 2009/04/06 16:45:23 I had that question in my mind as well. When teste
}
void TextField::Edit::ClearSelection() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698