aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/macOS/View/ConfTextStorage.swift
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2019-01-08 23:46:55 +0530
committerRoopesh Chander <roop@roopc.net>2019-01-14 14:52:34 +0530
commitbbeb732ef3f06b402f770d832180ed4cef2ec168 (patch)
tree7ebf89b035acdc198ae8fe4bebf84aa8970844c3 /WireGuard/WireGuard/UI/macOS/View/ConfTextStorage.swift
parentParsing: Always error on unrecognized keys (diff)
downloadwireguard-apple-bbeb732ef3f06b402f770d832180ed4cef2ec168.tar.xz
wireguard-apple-bbeb732ef3f06b402f770d832180ed4cef2ec168.zip
Highlighter: Report each key type separately
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI/macOS/View/ConfTextStorage.swift')
-rw-r--r--WireGuard/WireGuard/UI/macOS/View/ConfTextStorage.swift4
1 files changed, 0 insertions, 4 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/View/ConfTextStorage.swift b/WireGuard/WireGuard/UI/macOS/View/ConfTextStorage.swift
index 63c9cbf..2a9d36d 100644
--- a/WireGuard/WireGuard/UI/macOS/View/ConfTextStorage.swift
+++ b/WireGuard/WireGuard/UI/macOS/View/ConfTextStorage.swift
@@ -56,10 +56,6 @@ class ConfTextStorage: NSTextStorage {
.foregroundColor: theme.key,
.font: boldFont
],
- HighlightKey.rawValue: [
- .foregroundColor: theme.plainText,
- .font: defaultFont
- ],
HighlightIP.rawValue: [
.foregroundColor: theme.url,
.font: defaultFont