Skip to content

Commit

Permalink
Merge pull request #71 from austincondiff/main
Browse files Browse the repository at this point in the history
Improved Line Number Appearance
  • Loading branch information
lukepistrol authored Oct 3, 2022
2 parents ee242bb + b7ff8f6 commit f2b8764
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/CodeEditTextView/STTextViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@ public class STTextViewController: NSViewController, STTextViewDelegate, ThemeAt
rulerView = STLineNumberRulerView(textView: textView, scrollView: scrollView)
rulerView.backgroundColor = theme.background
rulerView.textColor = .systemGray
rulerView.separatorColor = theme.invisibles
rulerView.drawSeparator = false
rulerView.baselineOffset = baselineOffset
rulerView.font = NSFont.monospacedDigitSystemFont(ofSize: 9.5, weight: .regular)

scrollView.verticalRulerView = rulerView
scrollView.rulersVisible = true
Expand Down

0 comments on commit f2b8764

Please sign in to comment.