Alternate method for detecting editing start/end
Remove unused parameters, update docstring
Merge pull request #2 from le717/parser-take-2

Rewrite boundaries detection