X-Git-Url: https://git.r.bdr.sh/rbdr/map/blobdiff_plain/91fd86189477e6c690c6487d51d80bc58c8ecb63..75a0e4509a70055851b085f3f7293ae1cf48164c:/Map/Views/MapTextEditor.swift diff --git a/Map/Views/MapTextEditor.swift b/Map/Views/MapTextEditor.swift index e030d64..4fbff82 100644 --- a/Map/Views/MapTextEditor.swift +++ b/Map/Views/MapTextEditor.swift @@ -30,6 +30,7 @@ class MapTextEditorController: NSViewController { scrollView.translatesAutoresizingMaskIntoConstraints = false + textView.allowsUndo = true textView.delegate = self textView.textStorage?.delegate = self textView.string = self.text