[Openroad-users] external Editor, continuation on Ians mail
Andrew
andrew at delta-link.com.au
Fri Mar 16 10:37:32 EST 2007
That looks a little familiar...
You could go even further by adding some code to make a backup
(either before calling editplus and/or after returning from editplus)
as some people out there may experience the 'Oh sh*t, I have lost
my code, because OR could not handle opening two or more external
editors at the same time' bug.
PS - new editplus has code-folding - not really designed for OR but its
a start.
Frank, you should get out more. The only people I know using the
OR editor are those that are not-allowed to install/use a different editor
due to !@#$% (ignorant) management policies and the like. A lot of
editors do more that just show some colour and possible word/
statement selections.
I started to write about editplus but deleted it. There are tons of
external editors, yes they may not be native to OR and allow all
the OR features and they may have some faults but people who use
them will most likely have them configured in such a way that will be
more beneficial. Some of the editors are free, why then CA/IC could
not have acquired some of the technology and included it into the OR
editor leaves me a little disappointed.
Rant over.
Andrew.
Colin Hay wrote:
>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
>
More information about the Openroad-users
mailing list