1. find position 2. count the newlines up until that position 3. count characters until the first newline prior to position [View original context.](https://github.com/dashkite/parse/blob/1ea2e8932734bdd3de914ca05da6e9dac6d1318c/src/index.coffee#L289)