Skip navigation.
 
mlRe: Changing selection color in NSTextView
FROM : Douglas Davidson
DATE : Thu Apr 26 23:07:43 2007

On Apr 24, 2007, at 9:31 AM, sheen mac wrote:

> How can I change default selection of NSTextView ?.


To change the selection color, call setSelectedTextAttributes: with a 
dictionary that includes your desired color as the value for 
NSBackgroundColorAttributeName.

Douglas Davidson

Related mailsAuthorDate
mlChanging selection color in NSTextView sheen mac Apr 24, 18:31
mlRe: Changing selection color in NSTextView Alan Smith Apr 24, 23:04
mlRe: Changing selection color in NSTextView hac Apr 24, 23:38
mlRe: Changing selection color in NSTextView Douglas Davidson Apr 26, 23:07