Added multiple-cursors support