drawHashMarksAndLabels(in:)
override func drawHashMarksAndLabels(in rect: NSRect)
Draw line numbers and symbols in the ruler of the text view
Parameters
rect
|
The available rect |
-
Draw the number of the line
Declaration
Swift
func drawLineNumber(_ number: Int, inRect rect: NSRect, highlight: Bool, warning: Bool, directive: ChordPro.Directive)