Add code index info every line.