TextBoxImplIE6#getSelectionLength() uses some hacks to figure out how many /r/n appear in a TextArea, but the hack results in an infinite loop in a TextBox.  This patch uses the original implementaton TextBoxes, as they do not contain \r\n.

Patch by: jlabanca
Review by: jgw
Issue: 3822



git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@5741 8db76d5a-ed1c-0410-87a9-c151d255dfc7
3 files changed