auto merge of #4255 : ema-fox/servo/textinput, r=jdm

This commit is contained in:
bors-servo 2014-12-05 13:16:12 -07:00
commit 58f9b4ad96

View file

@ -149,7 +149,7 @@ impl TextInput {
/// Return the length of the current line under the editing point.
fn current_line_length(&self) -> uint {
self.lines[self.edit_point.line].len()
self.lines[self.edit_point.line].char_len()
}
/// Adjust the editing point position by a given of lines. The resulting column is