fixed cursor with single editor