Re: Paste (without a bonus space) in a Cocoa NSText
Re: Paste (without a bonus space) in a Cocoa NSText
- Subject: Re: Paste (without a bonus space) in a Cocoa NSText
- From: "I. Savant" <email@hidden>
- Date: Mon, 3 Mar 2008 16:07:43 -0500
>> So Cocoa is wonderfully clever when you double-click to select a word
> -smartInsertDeleteEnabled: / -setSmartInsertDeleteEnabled:
Sorry, I made two mistakes:
1 - -smartInsertDeleteEnabled does not take an argument (so the colon
was extra - keep it, I have plenty).
and
2 - If forgot to mention that your search results were poor because
you did not use the correct word ... you said "clever" when Cocoa said
"smart". If you like, you can create a category on NSTextView, adding
-cleverInsertDeleteEnabled and -setCleverInsertDeleteEnabled: ...
these can call the "-smart..." equivalents.
:-D
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden