Internals
struct Internals: Sendable
Share internal editor stuff with the SwiftUI View
-
The current line of the cursor
Declaration
Swift
var currentLine = Song.Section.Line() -
The optional directive arguments in the current paragraph
Declaration
Swift
var directiveArguments = ChordProParser.Arguments() -
All arguments as a single string
Declaration
Swift
var directiveArgument: String = "" -
The range of the current paragraph
Declaration
Swift
var currentLineRange: NSRange? -
Bool if the directive is double-clicked
Declaration
Swift
var clickedDirective: Bool = false -
The currently selected range
Declaration
Swift
var selectedRange = NSRange() -
The
textViewDeclaration
Swift
var textView: TextView?
View on GitHub