LineNumbersView
class LineNumbersView: NSRulerView
The line numbers view for the editor
-
Draw a background a a stroke on the right of the
NSRulerView
Declaration
Swift
override func draw(_ dirtyRect: NSRect)
Parameters
dirtyRect
The 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
rect
The available rect