On 27/07/2013, at 1:15 AM, Kyle Sluder <k...@ksluder.com> wrote:

> Subclass NSTextView and override
> -selectionRangeForProposedRange:granularity:. That should take care of
> both mouse- and keyboard-based selection.

Thanks. I wasn't sure that would work, given the docs say of it: "These 
mechanisms aren’t meant for changing language word definitions (such as what’s 
selected by a double click). That detail of selection is handled at a lower 
(and currently private) level of the text system." I took that to mean it 
wouldn't work, which now in the light of day to be reading too much into it.


-- 
Shane Stanley <sstan...@myriad-com.com.au>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to