Improvements in sentence editor