other question ...
other question ...
- Subject: other question ...
- From: Wolfgang Schreurs <email@hidden>
- Date: Tue, 26 Jul 2005 13:56:22 +0200
Yesterday I asked a question on this list, but I didn't get any
response. Maybe the problem I'm having is a bit to difficult to solve
quickly.
So I've got another question, which could help me out also. Please
understand I'm a beginning Cocoa programmer.
Is it possible to get the current selected text from a webview and
put it into a variable without using the pasteboard? I tried the
following (the string tempString is declared in the header file):
tempString = [webView selectedString];
NSLog(@"tempString: %@", tempString);
I get the following error:
2005-07-26 13:53:04.134 MyOneLineOfCodeBrowser[2050] ***
-[WebView selectedString]: selector not recognized [self = 0x341260]
Can anyone tell me what I'm doing wrong? The function webView
replaceSelectionWithMarkupString: works allright, so I must have
access to the webview.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden