Skip to content

Commit 5d15012

Browse files
Angel GarciaAngel Garcia
Angel Garcia
authored and
Angel Garcia
committed
#46 Disabled smart quotes
1 parent fb8798b commit 5d15012

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Sources/SwiftKotlinApp/ViewController.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@ class ViewController: NSViewController {
2525

2626
override func viewDidLoad() {
2727
super.viewDidLoad()
28-
// Do any additional setup after loading the view.
28+
self.swiftTextView.isAutomaticQuoteSubstitutionEnabled = false
29+
self.swiftTextView.isAutomaticDashSubstitutionEnabled = false
30+
self.swiftTextView.isAutomaticTextReplacementEnabled = false
31+
self.kotlinTextView.isAutomaticQuoteSubstitutionEnabled = false
32+
self.kotlinTextView.isAutomaticDashSubstitutionEnabled = false
33+
self.kotlinTextView.isAutomaticTextReplacementEnabled = false
2934
}
3035

3136
@IBAction func openSwiftFile(_ sender: AnyObject) {

0 commit comments

Comments
 (0)