Re: Cursor
Re: Cursor
- Subject: Re: Cursor
- From: Dan Wood <email@hidden>
- Date: Mon, 08 Jul 2002 14:50:01 -0700
You probably mean you want to select the text (even if there's
no text to select) between the tags. See methods like
"setSelectedRange:" in NSTextView. In your case, the range you
pass in would be the starting position past the <b> and the
length of the text before the </b> -- which might be zero if
there's no text in between them.
On Monday, July 8, 2002, at 04:06 AM, Luca Torella wrote:
I've a problem: my html editor adds tags. For example when the
user click
bold it adds the tags <b> and </b>. I'd like set the cursor
between the two
tags. How can I do this?
Thanks, Luca
_______________________________________________
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.
--
Dan Wood
Karelia Software, LLC
email@hidden
http://www.karelia.com/
Watson for Mac OS X:
http://www.karelia.com/watson/
_______________________________________________
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.
References: | |
| >Cursor (From: Luca Torella <email@hidden>) |