Fix setting editor width
Merge pull request #1697 from mlocati/patch-1

Fix setting editor width