Re: Highlighting programmatically
Re: Highlighting programmatically
- Subject: Re: Highlighting programmatically
- From: Andy Matuschak <email@hidden>
- Date: Sun, 21 Aug 2005 10:01:35 -0500
One can programmatically select some text in an NSTextView by calling
setSelectedRange: with an NSRange.
- Andy Matuschak
On Aug 21, 2005, at 9:10 AM, Sanri Parov wrote:
Hi everybody,
Is there a way, using a NSTextView and an NSScanner, to higlight
programmatically a certain portion of text?
What I mean is: the application highlights (like when is selected) a
portion of text from a comma to the next one.
Then, after a user decision, it goes to the next phrase and so on.
Is it possible?
Many thanks.
--
Sanri Parov
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40andymatuschak.org
This email sent to email@hidden
_______________________________________________
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