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

Method get_selected_text

src/app/action.rs:224–227  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

222 }
223
224 pub fn get_selected_text(&self) -> Option<String> {
225 let file = self.editor.current_file_ref()?;
226 file.buffer.selected_text()
227 }
228}

Callers 1

handle_editor_keyMethod · 0.80

Calls 2

current_file_refMethod · 0.80
selected_textMethod · 0.80

Tested by

no test coverage detected