From:  Neil <neil@parkwaycc.co.uk>
Date:  23 May 2005 22:23:10 Hong Kong Time
Newsgroup:  news.mozilla.org/netscape.public.mozilla.editor
Subject:  

Re: cmd_insertText Function Problem, please help!

NNTP-Posting-Host:  parkwaycs-218.adsl.newnet.co.uk

Sekmet wrote:

>I`m writing a extension to mozilla and using function bellow to insert text on document.
>Works very well, but i would like know if is possible select the location where to insert text.
>Function bellow insert some text at cursor position only.
>Can Someone help me with this? or tell me if is possible do this?
>  
>
If you want to modify the document undoably then I believe you can only 
insert text at the cursor position. Obviously there are a number of 
functions that you can use to change the cursor position but I can't 
tell which one(s) might be suitable for you.

-- 
Warning: May contain traces of nuts.