Skip navigation.
 
mlPaste (without a bonus space) in a Cocoa NSText
FROM : Jonathan Gillaspie
DATE : Mon Mar 03 22:01:07 2008

So Cocoa is wonderfully clever when you double-click to select a word 
about making sure that it "comes with it's own extra space 
character".  For editing english text documents this works great but 
for editing source or scripts it's usually a drawback.

I didn't see anything "easy" documented to override or control this 
behavior, although perhaps I just overlooked them.  What techniques 
have people used to improve this behavior in cocoa based code-editors?

--
Jonathan Gillaspie
http://www.redstonesoftware.com
Redstone Software Inc. -- Makers of Platform Independent Automation 
Software

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