On May 20, 2009, at 2:37 AM, archana udupa wrote:
Hi list..... we have a two files.we have to compare them and display the difference.Then when we click firstdifference the cursor should point to that difference....how can i do that?
What's a cursor? The mouse cursor? Or do you mean the text insertion point "cursor"?
Moving the mouse cursor is generally a bad idea and I can't imagine that's what you want to do. Moving the insertion point in a text view simply requires calling setSelectedRange:
-- Seth Willits _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com