getCaretPosition() now takes text-align into account
Merge pull request #28 from trevorah/gh-pages

getCaretPosition() now takes text-align into account