Small refactoring
Added the STree.calc_position method, to calculate line/column ranges.

TODO: proper tab support