Skip navigation.
 
mlRe: Paste (without a bonus space) in a Cocoa NSText
FROM : I. Savant
DATE : Mon Mar 03 22:07:43 2008

>>  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.

Related mailsAuthorDate
mlPaste (without a bonus space) in a Cocoa NSText Jonathan Gillaspie Mar 3, 22:01
mlRe: Paste (without a bonus space) in a Cocoa NSText I. Savant Mar 3, 22:03
mlRe: Paste (without a bonus space) in a Cocoa NSText I. Savant Mar 3, 22:07