Lines Matching refs:cursor
136 ui.cursor.set_prefix_mode(true); in goto()
138 ui.cursor.restore_pos().unwrap(); in goto()
146 let lasty = ui.cursor.y(); in goto()
148 ui.cursor.move_to(x, y).unwrap(); in goto()
150 let pos = ui.cursor.store_tmp_pos(); in goto()
152 ui.cursor.restore_tmp_pos(pos).unwrap(); in goto()
154 ui.cursor.highlight(Some(lasty)).unwrap(); in goto()
156 ui.cursor.store_pos(); in goto()
167 .add_line_flags(ui.cursor.cmd_y() as usize - 1, LineState::FLAGED); in flag()
192 .add_line_flags(ui.cursor.cmd_y() as usize - 1, LineState::LOCKED) in lock()
220 .remove_line_flags(ui.cursor.cmd_y() as usize - 1, LineState::FLAGED) in unflag()
248 .remove_line_flags(ui.cursor.cmd_y() as usize - 1, LineState::LOCKED) in unlock()
273 let offset = ui.buffer.offset() + ui.cursor.y() as usize; in delete_lines()