fixing line wrapping in the editor