Add method to set text and perform immediate validation.
Fix ort and indetion
Merge pull request #5 from wzs/master

Add method to set text and perform immediate validation.