Do tokens caching in new thread
(For some reason, caching time reduces 15s -> 5s)
Construct new line index in the same text iteration
FIX some bug such as need to break when backslash followed by new line