MCPcopy Create free account
hub / github.com/Eeive/Evcode-ide / cursor

Method cursor

src/editor/buffer.rs:67–69  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

65 }
66
67 pub fn cursor(&self) -> (usize, usize) {
68 self.cursor.line_col()
69 }
70
71 pub fn set_cursor(&mut self, line: usize, column: usize) {
72 self.cursor = self.cursor.set(line, column, &self.document);

Callers 4

scroll_editor_fileFunction · 0.80
handle_editor_keyMethod · 0.80
draw_status_barFunction · 0.80
drawFunction · 0.80

Calls 1

line_colMethod · 0.80

Tested by

no test coverage detected