[Openroad-users] external Editor, continuation on Ians mail
Colin Hay
colin.hay at Fintechnix.com
Fri Mar 16 09:39:15 EST 2007
We get around this (using EditPlus in this example) by
Setting II_WINDOWEDIT to C:\Progra~1\EditPl~1\ed.cmd %f %l %e %t -n
ed.cmd contains the following which renames the temp file to a more meaningful one
@echo off
cls
color F1
rem Invoke System Editor with Script Name in WindowTitle
rem ----------------------------------------------------
echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo º º
echo º OpenROAD - Edit Script. º
echo º º
echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
echo.
echo OR File - %1
echo Line No. - %2
echo Edit Cmd - %3
echo New File - %6.%4
if exist "%II_TEMPORARY%\%6.%4" del "%II_TEMPORARY%\%6.%4"
rename %1 "%6.%4"
echo.
echo Editor activated...
echo.
echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo º º
echo º Do not close this window !!! º
echo º º
echo º OpenROAD will close this window when editing has finished. º
echo º º
echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
rem Change your editior here...
c:\Progra~1\EditPl~1\EditPlus.exe %9 -cursor %2 "%II_TEMPORARY%\%6.%4"
copy "%II_TEMPORARY%\%6.%4" %1
echo.
Colin Hay
Fintechnix
-----Original Message-----
From: openroad-users-bounces at peerlessit.com [mailto:openroad-users-bounces at peerlessit.com] On Behalf Of Kim Ginnerup
Sent: Thursday, 15 March 2007 11:39 PM
To: International OpenROAD Users
Subject: [Openroad-users] external Editor, continuation on Ians mail
I have started using SCite.
It is not as fancy as Ian describes, but it gives some syntax checking and context coloring.
The problem with external editors is the save before compile that can be quite irritating.
I have also used vim, but I like scite better.
A problem is the way that OpenROAD name the file extension.
.e01 .e02 .e03 ...
The dynamic part should be in the name and not the extension. That will make it much easier to integrate with external editors, because they often choose language-config based on the extension.
Kim
_______________________________________________
Openroad-users mailing list Openroad-users at peerlessit.com
To unsubscribe please click on this link mailto:openroad-users-unsubscribe at peerlessit.com&subject=unsubscribe
To subscribe please click on this link
mailto:openroad-users-subscribe at peerlessit.com&subject=subscribe
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________
Specialist providers of back and front office systems for the financial services industry.
Featuring: Fintechnix(r)
Disclaimer:
Notice: This message contains privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that you must not disseminate, copy or take any action in reliance on it.
Any views expressed in this message are those of the individual sender,except where the sender specifically states them to be the views of Fintechnix Pty Ltd.
More information about the Openroad-users
mailing list