ChordProviderSettings
struct ChordProviderSettings : Equatable, Codable, Sendable
Structure with all the Chord Provider settings
-
Show the chord diagrams
Declaration
Swift
var showChords: Bool
-
Show the chord diagrams inline with the song text
Declaration
Swift
var showInlineDiagrams: Bool
-
The position for the chord diagrams
Declaration
Swift
var chordsPosition: Position
-
General options (shared with the quickview plugins)
Declaration
Swift
var general: ChordProviderGeneralOptions
-
The options for the
ChordProEditor
Declaration
Swift
var editor: ChordProEditor.Settings
-
Possible positions for the chord diagrams
See moreDeclaration
Swift
enum Position : String, CaseIterable, Codable
-
Default Chord Display Options
Declaration
Swift
static let defaults: ChordDefinition.DisplayOptions
-
Load the Chord Provider settings
Declaration
Swift
static func load() -> ChordProviderSettings
Return Value
The
ChordProviderSettings
-
Save the Chord Provider settings to the cache
Declaration
Swift
static func save(settings: ChordProviderSettings) throws
Parameters
settings
The
ChordProviderSettings