suppressing a browser opening a link
suppressing a browser opening a link
- Subject: suppressing a browser opening a link
- From: Jeff Martirano <email@hidden>
- Date: Mon, 29 Apr 2002 00:00:21 -0700
I have a NSTextView rendering simple html:
[[textView layoutManager] replaceTextStorage: htmlStorage];
I am also opening up links within the same textview with this method:
- (BOOL)textView:(NSTextView *)textView clickedOnLink:(id)link
atIndex:(unsigned)charIndex
This all works fine, except that in addition to the url that the user
clicked on being loaded into the text field (desired), it also opens the
url in the default browser for that user (undesired).
I'm not sure where to even start looking for a method to suppress this
behavior. Assistance is appreciated.
Jeff
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.