Comment 11 for bug 1375900

Revision history for this message
Olivier Tilloy (osomon) wrote :

The issue (where RenderWidgetHostView::SelectionChanged(…) is invoked with an invalid selection range) seems to happen when the word being committed is the first one on a new line. What happens then is that oxide correctly reports the "text before cursor" with the trailing whitespaces (including \n characters), but for some reason they are trimmed in the text that is passed to SelectionChanged. Not sure why yet.