- if (newline_locations_[lo] > pos_str0)
- return 1;
-
- if (newline_locations_[hi - 1] < pos_str0)
- return hi;
-
- lo = binary_search (newline_locations_,
- pos_str0,
- less<char const*> (),
- lo, hi);
-
-
- if (*pos_str0 == '\n')
- lo--;
- return lo + 2 + line_offset_;