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

Method delete_current_line

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

Source from the content-addressed store, hash-verified

265 }
266
267 pub fn delete_current_line(&mut self) {
268 self.delete_line(self.cursor.line);
269 self.cursor.column = 0;
270 self.cursor.clamp_to_document(&self.document);
271 }
272
273 pub fn move_cursor(&mut self, movement: BufferMove, selecting: bool) {
274 if selecting {

Callers 1

handle_editor_keyMethod · 0.80

Calls 2

clamp_to_documentMethod · 0.80
delete_lineMethod · 0.45

Tested by

no test coverage detected