Skip to content

Commit

Permalink
Merge pull request #1 from austincondiff/line-numbers
Browse files Browse the repository at this point in the history
Improved Appearance of Line Numbers
  • Loading branch information
austincondiff authored Oct 3, 2022
2 parents 832505b + 989d82f commit a7c73cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/CodeEditTextView/STTextViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ public class STTextViewController: NSViewController, STTextViewDelegate {
rulerView = STLineNumberRulerView(textView: textView, scrollView: scrollView)
rulerView.backgroundColor = theme.background
rulerView.textColor = .systemGray
rulerView.separatorColor = theme.invisibles
// 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 a7c73cc

Please sign in to comment.