FontStyle
enum FontStyle: String, CaseIterable, Codable, Sendable
The editor font-style
-
Use a monospaced font
Declaration
Swift
case monospaced = "Monospaced"
-
Use a serif font
Declaration
Swift
case serif = "Serif"
-
Use a sans-serif font
Declaration
Swift
case sansSerif = "Sans Serif"
-
The calculated font for the
EditorView
Declaration
Swift
func nsFont(size: Double) -> NSFont
-
The calculated font for the
SettingsView
Declaration
Swift
func font() -> Font