TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Preston Smith
from: Michael Duffy
date: 1994-10-31 12:13:18
subject: Re: WATCOM C++ Editor

-=> Quoting Preston Smith to Peter Fitzsimmons <=-

 [quoted message deleted]
 ...
 PS> - can you tell me how i could integrate another
 PS> editor (like Boxer) into the IDE 
 PS> thanks

 PS> Preston

To do this you have to go dinking around with the ide.cfg file.  Be warned
that the patch upgrades only work on the original file, so if you ever want
to patch the .cfg files, you have to restore the old version, patch it, and
then go back in and re-make all of your alterations by hand.

To get something like Boxer to integrate into the IDE, you have to find
the instances in the ide.cfg file where the DLL "!Editor" is run.  For 
example, if you replace the line in the section "Rule TXT":
Command "!Editor Editfile ${at}"
with
Command "c:\\box_path\\b2.exe ${at}"
you will launch BoxerOS2 instead of the default editor.  You can add any 
command line options that you want.  Of course, you will want to replace
"box_path" with your own path.  The "${at}" expands to the
path and filename of
the file to edit.  This alteration will affect double clicking on a file in
the target window.  I think you have to edit other lines to get it to launch
from the icon on the toolbar.  You can also make alterations to use your own
text editor for viewing/editing a disassembly.  

You cannot use your own editor for when you double click on Warning and 
Error messages in the Log, as the launching of the editor was hard coded 
in this situation.  I have no idea why.

Also, since boxer is being passed a specific filename, it does not load up
the list of previously edited files (Shift F1).  Bummer.

I also wish that OS/2 would expand the size of the window when text mode 
editors like Boxer go to a higher row resolution. *sigh*

Hope this helps,
Michael Duffy

... Yes, I program PCs.  Stop laughing.
--- GEcho 1.10+

* Origin: Knight Mare 405 672 5644 (1:147/3006)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 942 949 712/353 623 713/888 800/1
@PATH: 147/3006 1032 3615/50 229/2 12/2442 711/409 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.