Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
krzyzanowskim committed Feb 20, 2022
1 parent 067db0b commit f7ae0d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ paragraph.defaultTabInterval = 28
textView.defaultParagraphStyle = paragraph
textView.font = NSFont.monospacedSystemFont(ofSize: 14, weight: .regular)
textView.textColor = .labelColor
textView.string = try! String(contentsOf: Bundle.main.url(forResource: "content", withExtension: "txt")!)
textView.string = "text content"
textView.addAttributes([.foregroundColor: NSColor.red], range: NSRange(location: 10, length: 5))
textView.widthTracksTextView = true
textView.delegate = self
Expand Down

0 comments on commit f7ae0d3

Please sign in to comment.