Bug 882292 - getTextAfterOffset for line boundary on new rails, r=tbsaunde