fixed a crash when input punctuation to empty text view
Merge pull request #129 from OwenMcGirr/iss#128

fixed a crash when input punctuation to empty text view