Re: Setting the cursor position to particular point
Re: Setting the cursor position to particular point
- Subject: Re: Setting the cursor position to particular point
- From: Seth Willits <email@hidden>
- Date: Wed, 20 May 2009 21:50:09 -0700
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 (email@hidden)
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:
This email sent to email@hidden