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

Method line_col

src/editor/cursor.rs:19–21  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

17 }
18
19 pub fn line_col(self) -> (usize, usize) {
20 (self.line, self.column)
21 }
22
23 pub fn set(self, line: usize, column: usize, document: &Document) -> Self {
24 let mut cursor = Self::new(line, column);

Callers 2

cursorMethod · 0.80
selection_rangeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected