FIX findPoint offset may be include zero width string (#2982)
FIX findPoint offset may be include zero width string (#2982)

* FIX point offset may be include zero width string

* fix prettier style

* FIX prettier style

ianstormtaylor/slate,isubastiCadmus/slate,ianstormtaylor/slate