Start on copy-paste

This commit is contained in:
Antonio Scandurra
2021-04-13 14:58:10 +02:00
parent 7469240a2e
commit f4c1ffc329
6 changed files with 87 additions and 9 deletions
+4
View File
@@ -1215,6 +1215,10 @@ impl MutableAppContext {
pub fn copy(&self, text: &str) {
self.platform.copy(text);
}
pub fn paste(&self) -> Option<String> {
self.platform.paste()
}
}
impl ReadModel for MutableAppContext {