Minor fix in text editor
Merge pull request #403 from nabinhait/hotfix

Minor fix in text editor