Keith,
> 2) The feature of opening the editor to the line
> where an upload error
> occurred only works for editors for which the
> script knows the
> appropriate command line syntax.  

the PN editor opens and jumps to the line with following command (ie
to the line 3)

C:\WinAVR\pn\pn.exe --line 3 filename

So I added to the edit_file
...
elif exename == "pn.exe":
cmd = [self.editor, " --line", " " + str(lineno), filename ]
...

however it does not even attempts to open the editor when error - ie

(ATmega1284P)> #include pytest.frt
|D=#include pytest.frt
|I=mcudef
|I=using device.py for atmega1284p
|F=C:\MyCode\AVR\WINAVR\projects\AMFORTH\new_amforth\trunk\tools\pytest.frt
||S|    1|-pytest
|S|    2|marker -pytest
|S|    3|ggg
|E=ggg ?? -13 3
Error: Error in line sent
(ATmega1284P)>

Any hint?

Thanks,
p.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to