python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
NSTextView scroll adjustment when typing at end of document
I have a NSTextView with a pretty big bottom indentation. I'm using textDidChange delegate method to adjust some attributes in the text whenever it is changed.
When typing at the edge of the screen an...
Tritonal
Votes: 0
Answers: 0
Different font output for same NSAttributedString with CATextLayer and NSTextView
In macOS using the same NSMutableAttributedString for a CATextLayer and a NSTextView seems to give different rendering results. The NSTextView has a slightly larger font than a CATextLayer. This behav...

Chris Walken
Votes: 0
Answers: 1
Scrollable NSTextView with custom NSTextStorage for formatting
I'm trying to make a text editor with formatting for Mac OS. Which I have working using an NSTextView together with a custom NSTextStorage class. Which applies attributes like bold etc to NSAttributab...
Matthijn
Votes: 0
Answers: 1
Raise baseline in NSTextView field editor
I want to manipulate the baseline when typing text in an NSTokenField to match the displayed tokens. To do so, I'm following the guide "Working With the Field Editor" in the documentation. T...

Jan Z.
Votes: 0
Answers: 0