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
After I have gotten the byte index with let str_start = files.byte_index(file_idx, line_nr, 0).unwrap(); I need to know the length of that line, so that I can use it as span length.
Please add a way to get access to a file stored in SimpleReportingFiles, so that I can do let line_len = files.file(file_idx)[str_start..].position(|c| c == '\n');
to get the line len.
The text was updated successfully, but these errors were encountered:
After I have gotten the byte index with
let str_start = files.byte_index(file_idx, line_nr, 0).unwrap();
I need to know the length of that line, so that I can use it as span length.Please add a way to get access to a file stored in
SimpleReportingFiles
, so that I can dolet line_len = files.file(file_idx)[str_start..].position(|c| c == '\n');
to get the line len.
The text was updated successfully, but these errors were encountered: