LineNumbersView
class LineNumbersView: NSRulerView
The line numbers view for the editor
-
Draw a background a a stroke on the right of the
NSRulerViewDeclaration
Swift
override func draw(_ dirtyRect: NSRect)Parameters
dirtyRectThe current rect of the editor
-
Draw line numbers and symbols in the ruler of the text view
See moreDeclaration
Swift
override func drawHashMarksAndLabels(in rect: NSRect)Parameters
rectThe available rect
View on GitHub