Added cursor to editor