Syntax highlighter color updates
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
This commit is contained in:
committed by
Roopesh Chander
parent
13e8c6b178
commit
70848c04de
@@ -10,6 +10,7 @@ class ConfTextStorage: NSTextStorage {
|
||||
struct TextColorTheme {
|
||||
let plainText: NSColor
|
||||
let sections: NSColor
|
||||
let keyType: NSColor
|
||||
let key: NSColor
|
||||
let url: NSColor
|
||||
let urlAttribute: NSColor
|
||||
@@ -54,9 +55,21 @@ class ConfTextStorage: NSTextStorage {
|
||||
.font: boldFont
|
||||
],
|
||||
HighlightKeytype.rawValue: [
|
||||
.foregroundColor: theme.key,
|
||||
.foregroundColor: theme.keyType,
|
||||
.font: boldFont
|
||||
],
|
||||
HighlightPublicKey.rawValue: [
|
||||
.foregroundColor: theme.key,
|
||||
.font: defaultFont
|
||||
],
|
||||
HighlightPrivateKey.rawValue: [
|
||||
.foregroundColor: theme.key,
|
||||
.font: defaultFont
|
||||
],
|
||||
HighlightPresharedKey.rawValue: [
|
||||
.foregroundColor: theme.key,
|
||||
.font: defaultFont
|
||||
],
|
||||
HighlightIP.rawValue: [
|
||||
.foregroundColor: theme.url,
|
||||
.font: defaultFont
|
||||
|
||||
Reference in New Issue
Block a user