line-column
Convert efficiently index to/from line-column in a string
Convert efficiently index to/from line-column in a string
Convert string index to line-column position
beautifully annotate source code with a message, given an index, like a parser or compiler