]> git.r.bdr.sh - rbdr/map/blobdiff - Map/Views/MapTextEditor.swift
Fix performance and undo
[rbdr/map] / Map / Views / MapTextEditor.swift
index e030d641e1bd7243c4ee174160859109e0bbacae..4fbff82f673b329f9b22e1a9b2130e0c6a46dbc4 100644 (file)
@@ -30,6 +30,7 @@ class MapTextEditorController: NSViewController {
 
     scrollView.translatesAutoresizingMaskIntoConstraints = false
 
+    textView.allowsUndo = true
     textView.delegate = self
     textView.textStorage?.delegate = self
     textView.string = self.text