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

Method start_selection

src/editor/buffer.rs:104–108  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

102 }
103
104 pub fn start_selection(&mut self) {
105 if self.selection_anchor.is_none() {
106 self.selection_anchor = Some(self.cursor);
107 }
108 }
109
110 pub fn cancel_selection(&mut self) {
111 self.selection_anchor = None;

Callers 2

move_cursorMethod · 0.80

Calls

no outgoing calls

Tested by 1