token_pos(byte_offset)
Calculates the column (by character) and line of the current token based on byte_offset.
# File lib/rdoc/markup/parser.rb, line 541 def token_pos byte_offset offset = char_pos byte_offset [offset - @line_pos, @line] end