aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/macOS/View
diff options
context:
space:
mode:
authorEric Kuck <eric@bluelinelabs.com>2019-01-10 11:21:20 +0200
committerRoopesh Chander <roop@roopc.net>2019-01-14 14:52:36 +0530
commit321b88864c0101cda2185d048e409ca252382678 (patch)
tree94704cd4bc770409df94f2aae2ba4898c9b5f8d5 /WireGuard/WireGuard/UI/macOS/View
parentResync highlighter (diff)
downloadwireguard-apple-321b88864c0101cda2185d048e409ca252382678.tar.xz
wireguard-apple-321b88864c0101cda2185d048e409ca252382678.zip
Cut/copy/paste now work
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
Diffstat (limited to 'WireGuard/WireGuard/UI/macOS/View')
-rw-r--r--WireGuard/WireGuard/UI/macOS/View/ConfTextStorage.swift1
1 files changed, 1 insertions, 0 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/View/ConfTextStorage.swift b/WireGuard/WireGuard/UI/macOS/View/ConfTextStorage.swift
index 5ed3e68..4678cc3 100644
--- a/WireGuard/WireGuard/UI/macOS/View/ConfTextStorage.swift
+++ b/WireGuard/WireGuard/UI/macOS/View/ConfTextStorage.swift
@@ -43,6 +43,7 @@ class ConfTextStorage: NSTextStorage {
fatalError("init(pasteboardPropertyList:ofType:) has not been implemented")
}
+ //swiftlint:disable:next function_body_length
func updateAttributes(for theme: TextColorTheme) {
self.defaultAttributes = [
.foregroundColor: theme.plainText,