mattgodbolt / zindex

Create an index on a compressed text file
BSD 2-Clause "Simplified" License
620 stars 37 forks source link

line offsets are wrong #44

Open mattgodbolt opened 1 year ago

mattgodbolt commented 1 year ago

LineFinder only pushes the lines that match the onLine, which means the line numbers are wrong for that mode. And if you don't suply an index at all then no lines are indexed.