1. Ver 4 editor prolem maybe?

When running a .exw program with Euphoria version 3.

OOps I made a boo boo.

The command dos\window opens. It's the one that's black with white letters.

It says what trouble is, The program*, the line number and the line that caused the error.

After that it say 'Press Enter'.

Now if you press Enter, the Dos window closes, The editor opens back to the program* and the line number where the error occurred. This saves a lot of time.

Ditto with version 4. Except that the editor opens at where it was the last time it was used.

You have to look up the file and line number. Taking up so much time, (when there's an error), that I'm beguine to ask "is version 4 worth it?"

Or am I doing something wrong here?

I'm using Edita. I haven't tried it with any other editor.

  • When I say program here what I mean is you may have program consisting of myProgA.exw, myProgB.e. the program would be the one the error is in.

Don Cole

new topic     » topic index » view message » categorize

2. Re: Ver 4 editor prolem maybe?

dcole said...

... Except that the editor opens at where it was the last time it was used ...

... I'm beguine to ask "is version 4 worth it?" ...

The problem is with the editor and not Euphoria 4. The text editor called "Edita" is not maintained by the Euphoria development team.

My guess is that the format of the error messages have changed (they are more informative and standardized now) and Edita has not been brought up to speed with that fact yet.

Choosing to use Eu3 rather than a subsequent version, based on the editor you use, is a strange (IMO) way of thinking.

new topic     » goto parent     » topic index » view message » categorize

3. Re: Ver 4 editor prolem maybe?

There is no particular reason why it should not work, the tests I have tried here seemed fine. The logic to unpick ex.err lines is in routine jumpToErrorInFile() in edita.exw. Maybe there is something odd about that line for whatever error you are getting. Maybe it is trying to unpick the wrong line number.

There is an options/edit flag: "Load ex.err on error" which if checked opens the ex.err on error (doh) and you have to press F12 to jump to the line in error (while the cursor is on a "<file>:<line>" line, that is). But that doesn't sound like what's happening here.

Regards, Pete

new topic     » goto parent     » topic index » view message » categorize

4. Re: Ver 4 editor prolem maybe?

petelomax said...

There is an options/edit flag: "Load ex.err on error" which if checked opens the ex.err on error (doh) and you have to press F12 to jump to the line in error (while the cursor is on a "<file>:<line>" line, that is). But that doesn't sound like what's happening here.

Regards, Pete

Thank you Pete,

For researching this.

If run (by clicking on the green light in Edita) a program with ver 4.

I get (in the black window):

E:\eu\myincludes\myKeysSeq.ew:380
<0074>:: Errors resolving the following references:
blowup.e (878):myNewKeyDown_id
E:\eu\myinclude\myKeysSeq.ew(380):myNewKeyDown_id

myNewKeyDown_id("myNewKeyDown")

Press Enter

When I press Enter Edita opens up at port.exw The main program which is where I was before I clicked the green light.

Now if I do the same thing with ver 3 and not making any changes to Edita, Edita opens up at blowup.e with the cursor blinking at line 878. Making it a easier to work on the problem.

Don Cole

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu