return null instead of 0, 0 for selection if it can't be found
Merge pull request #3 from imnotjames/fix-invalidselection

return null instead of 0, 0 for selection if it can't be found
don't use a public memoization of the selection in the editor