Refactor the document window controller and the prefs controller. Some regression still in there.

This commit is contained in:
Damiano Galassi committed 2018-02-08 17:50:39 +01:00
1 parent cd27e2ce52
commit 94f5f85124
49 files changed
+2505 -2379

No files matched your search

+2 -2
View File
@@ -27,8 +27,8 @@ class TokensViewController: NSViewController, NSTokenFieldDelegate {
fatalError("init(coder:) has not been implemented")
}
override func loadView() {
super.loadView()
override func viewDidLoad() {
super.viewDidLoad()
tokenField.tokenizingCharacterSet = CharacterSet(charactersIn: "%")
tokenField.stringValue = tokens.reduce("", { "\($0)%{\($1)}" })