I am writing a text editor for Mac OS X. I need to display hidden characters in an NSTextView (such as spaces, tabs, and special characters). I have spent a lot of time searching for how to do this but so far I have not found an answer. If anyone could point me in the right direction I would be grateful.
Cocoa – Display hidden characters in NSTextView
cocoahidden-charactersspecial characters
Best Answer
Here's a fully working and clean implementation
To install, use:
To find font glyph names, you have to go to CoreGraphics: