java.lang.Object | ||
↳ | com.google.gwt.user.client.ui.impl.TextBoxImpl | |
↳ | com.google.gwt.user.client.ui.impl.TextBoxImplIE6 |
IE6-specific implementation of
TextBoxImpl
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The text reported in the text range does not include newline characters at
the end of the selection.
| |||||||||||
Moving the start 1 character will move across a \r\n, but \r\n counts as
two characters, so we need to offset the position accordingly.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.user.client.ui.impl.TextBoxImpl
| |||||||||||
From class
java.lang.Object
|
The text reported in the text range does not include newline characters at the end of the selection. So, we need to create 2 ranges and subtract a character from one until the lengths are different. At that point, we know exactly how many \r\n were truncated from the selection.
Moving the start 1 character will move across a \r\n, but \r\n counts as two characters, so we need to offset the position accordingly.