You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix rawLine: and offsetOfRawLine: ignoring bufferStartOffset after line drops (#589)
Both methods hardcoded linenum == 0 → start = 0 instead of checking
linenum == _firstEntry → start = bufferStartOffset. After dropLines
advances _firstEntry and sets bufferStartOffset to a non-zero value,
they returned a pointer/offset that started too early in the buffer,
reading dropped data and missing the tail of live data.
The fix mirrors the existing correct logic in _lineRawOffset: and
lengthOfRawLine:.
Co-authored-by: chall37 <chall37@users.noreply.github.com>
0 commit comments