Settings
struct Settings: Equatable, Codable, Sendable
Settings for the editor
-
The range of available font sizes
Declaration
Swift
static let fontSizeRange: ClosedRange<Double> = 10...24 -
The size of the font
Declaration
Swift
var fontSize: Double = 14 -
The font style of the editor
Declaration
Swift
var fontStyle: FontStyle = .monospaced -
The calculated font for the editor
Declaration
Swift
var font: NSFont
-
The color for brackets
Declaration
Swift
var bracketColor: Color = .gray -
The color for a chord
Declaration
Swift
var chordColor: Color = .red -
The color for a directive
Declaration
Swift
var directiveColor: Color = .indigo -
The color for a directive argument
Declaration
Swift
var argumentColor: Color = .orange -
The color for markup
Declaration
Swift
var markupColor: Color = .teal -
The color for comments
Declaration
Swift
var commentColor: Color = .gray -
The editor font-style
See moreDeclaration
Swift
enum FontStyle: String, CaseIterable, Codable, Sendable
View on GitHub