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

Method text

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

Source from the content-addressed store, hash-verified

126 }
127
128 pub fn text(&self) -> String {
129 self.document.to_string()
130 }
131
132 pub fn insert_char(&mut self, ch: char) {
133 let cursor_before = self.cursor;

Callers 3

saveMethod · 0.80
handle_keyMethod · 0.80

Calls 1

to_stringMethod · 0.80

Tested by

no test coverage detected