Multiple actions for -do command line option

"[email protected]" <[email protected]> Sun, 23 Jan 2011 12:28:24 +0000 (GMT)
Newsgroups gmane.editors.nedit.user
Message-ID <16083572.614761295785704556.JavaMail.defaultUser@defaultHost>
Hi there

Newbie question here, although I promise I have looked for the 
answer... Basically is it possible to put multiple actions under the -
do command line option?



I am running Nedit from a REXX script running on Solaris 8 (SPARC) and 
call the editor to allow users to enter details into an options file.  
Once the user saves & quits control returns to the REXX script that 
then reads the options file and checks the validity of the user input 
data.  If out of range or invalid data has been entered a message is 
written to the screen and the user is returned to the options file via 
nedit with the cursor placed at the offending data item.  This all 
works with uni-Xedit but I am struggling getting it to work with 
Nedit.  I think I want to invoke the editor with something like;



nedit -do 'find("TARGET")' NAME_OF_OPTION_FILE



where TARGET is the 'tag' against which the user entered erroneous data 
i.e. 'MONTH='

Whilst the above works I really want the editor to place the cursor 
and/or select the erroneous text entered by the user ready for instant 
over-typing.  However, I reckon I need a second command following the 
find command for that.  Seperating commands by commas, semi-colons 
doesn't work and none of the examples I have seen show multiple 
commands for the -do option.



Thanks in advance of any help you can give

Ian   
-- 
NEdit Discuss mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/discuss