writting mode resize editor