Enable undo in MacEditorTextView

This commit is contained in:
Angelo Stavrow 2020-12-18 14:58:09 -05:00
parent f880b48021
commit 022792e7f4
No known key found for this signature in database
GPG Key ID: 1A49C7064E060EEE

View File

@ -157,6 +157,7 @@ final class CustomTextView: NSView {
)
textView.minSize = NSSize(width: 0, height: contentSize.height)
textView.textColor = NSColor.labelColor
textView.allowsUndo = true
return textView
}()