I am using styled text to processes some text files. When I open some
file and put cursor to some specific place, i can see in bottom of
eclipse line and position number, how i can get document offset if i
know this number, i have founded getOffsetAtLine(int i) method, but I
can't found how to get offset for some position in line?