| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Josh
On Apr 13, 2005, at 11:45 AM, Hamish Allan wrote:
Oops, yes, that's because [document selectAll] returns void! Sorry about that.
Best wishes, Hamish
On Apr 13, 2005, at 17:35, Joshua Ferguson wrote:
Hamish,
I did write this up as a bug. Here's an odd thing:
I tried your suggestion as:
[self setPageText:[[document selectAll] selectedString];
and this caused an EXC_BAD_ACCESS...
So to debug it I split it up into:
[document selectAll]; NSString *pageText = [document selectedString]; [sender setPageText:pageText];
And this worked! I'm at a loss...but I'm happy as long as it works! Thanks a ton!
Josh
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webkitsdk-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden
| References: | |
| >WebDocumentText string exception (From: Joshua Ferguson <email@hidden>) | |
| >Re: WebDocumentText string exception (From: Hamish Allan <email@hidden>) | |
| >Re: WebDocumentText string exception (From: Joshua Ferguson <email@hidden>) | |
| >Re: WebDocumentText string exception (From: Hamish Allan <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.