Поисковая подсветка в NSTextView
Итак, это то, что я хочу:
When a match is highlighted under Mac OS X (when using the "Find" Action), a specific golden rounded box is drawn around the match for an instant (animated) and then goes away.
Is there any way I can programmatically trigger the very same function, and highlight a specific range in an NSTextView
?
Я уверен, что должно быть что-то подобное из коробки, но я определенно не могу найти это ...