| Index: views/controls/textfield/textfield.h
|
| diff --git a/views/controls/textfield/textfield.h b/views/controls/textfield/textfield.h
|
| index e468423e8bb49329c1d352cddf633f4880efdc04..a041d1cc1b336a3cbcf336a13d608517cfcf932c 100644
|
| --- a/views/controls/textfield/textfield.h
|
| +++ b/views/controls/textfield/textfield.h
|
| @@ -36,9 +36,11 @@ class NativeTextfieldWrapper;
|
|
|
| // TextRange specifies the range of text in the Textfield. This is
|
| // used to specify selected text and will be used to change the
|
| -// attributes of characters in the textfield. The range preserves the
|
| -// direction, and selecting from the end to the begining is considered
|
| -// "reverse" order.
|
| +// attributes of characters in the textfield. When this is used for
|
| +// selection, the start is caret position, and the end is where
|
| +// selection started. The range preserves the direction, and
|
| +// selecting from the begining to the end is considered "reverse"
|
| +// order. (that is, start > end is reverse)
|
| class TextRange {
|
| public:
|
| TextRange() : start_(0), end_(0) {}
|
|
|