ConfTextView: enable undo and disable junk
Double space stil makes a period, unfortunately.
This commit is contained in:
parent
ab48f7bed8
commit
40cabd6e66
|
@ -23,6 +23,14 @@ class ConfTextView: NSTextView {
|
|||
confTextStorage.addLayoutManager(layoutManager)
|
||||
super.init(frame: CGRect(x: 0, y: 0, width: 1, height: 60), textContainer: textContainer)
|
||||
font = confTextStorage.defaultFont
|
||||
allowsUndo = true
|
||||
isAutomaticSpellingCorrectionEnabled = false
|
||||
isAutomaticDataDetectionEnabled = false
|
||||
isAutomaticLinkDetectionEnabled = false
|
||||
isAutomaticTextCompletionEnabled = false
|
||||
isAutomaticTextReplacementEnabled = false
|
||||
isAutomaticDashSubstitutionEnabled = false
|
||||
isAutomaticQuoteSubstitutionEnabled = false
|
||||
updateTheme()
|
||||
delegate = self
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue