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

Method insert_newline

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

Source from the content-addressed store, hash-verified

149 }
150
151 pub fn insert_newline(&mut self) {
152 self.insert_char('\n');
153 }
154
155 pub fn insert_str(&mut self, text: &str) {
156 if text.is_empty() {

Callers 2

handle_editor_keyMethod · 0.80

Calls 1

insert_charMethod · 0.45

Tested by 1