Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Selected range in bound text view



On Sat, 01 Jul 2006 10:43:00 -0700, "D.K. Johnston" <email@hidden> said:
>I'm trying to setSelectedRange in a text view that is bound to a
>window controller (via attributedString). I can see no relevant
>binding in the text view. I've got an IBOutlet connected to the text
>view, but sending a setSelectedRange message to it has no effect.

The binding is a red herring. It should work fine. I'm betting that your
IBOutlet is nil, or some such slip-up. m.

-- 
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.