fix cursor issue with single editor

Make this multiple lines