Pete's MEditor Bug Fix
- Posted by Judith Evans <camping at txcyber.com> Oct 04, 2003
- 366 views
I have looked off and on for a way user could specify an alternate editor for IDE. The bottom line is I am stumped for a method to obtain the data from an external editor for control-event pair coding. However if you want to use a different editor to code and modify files other than control-event pair you can already do that using Roland Stowasser's Menu Launch/Edit Launcher feature or Menu Launch/Run. If you are working on a file that is a new module of your project, IDE could not automatically add the module name to Manage Include Statements for you but that is a minor inconvience. The only way you could presently obtain the data from an external editor for control-event pair would be to copy/paste your code into Code Editor and that would surely be a lot of trouble. I am open to ideas. --judith C, K. writes: Pete, FYI, on line 2162 of your MEditor, you have this: Prm_ptr = allocate_string(path&name) which, when I ran my program at "C:\Documents and Settings...," gave me an error, "Can't run C:\Documents.exw." I had to modify that line to this in order to fix that: Prm_ptr = allocate_string("\"" & path&name & "\"") I don't know why it followed that branch at 2160; all I know is it required quotes around the path and name on line 2162. I'm sure if it had branched to 2164 instead that it would have to be modified similarly as well. -ck P.S. Great job on that editor. I'm just getting started working with it and its performance has improved since last time I used it. I wonder if it can be my editor of choice when using JIDE... Judith? :)