1. New ed editor does not recognize special characters, even neccessary ones such as [ ]
- Posted by ricardo_forno Feb 16, 2014
- 1966 views
I am an old user of EUPHORIA. I am still using and programming some scripts in EUPHORIA. The ed editor for version 3.1 did not recognize foreign letters such as ñ, á, etc. The new one seems worse in this aspect. It does not recognize even syntax valid characters as '[' and ']', unless I am missing some new features. Which is the best editor for EUPHORIA for the time being? Thanks for your answers, and greetings to Rob Craig.
2. Re: New ed editor does not recognize special characters, even neccessary ones such as [ ]
- Posted by ricardo_forno Feb 16, 2014
- 1915 views
Now, I think the problem is related to keyboard handling. In fact, I can insert any character in the text by copying it from another place in the text or from another text. \, [, ] and + signs and maybe some others are not recognized.
3. Re: New ed editor does not recognize special characters, even neccessary ones such as [ ]
- Posted by DerekParnell (admin) Feb 16, 2014
- 1901 views
Now, I think the problem is related to keyboard handling. In fact, I can insert any character in the text by copying it from another place in the text or from another text. \, [, ] and + signs and maybe some others are not recognized.
Just tried it and it seems to be working fine for me. (Windows 7)
Euphoria Interpreter v4.0.5 Windows, Using Managed Memory Revision Date: 2012-10-11, Id: 362497032f33
myfile.ex <new file> Esc for commands []+_)(*&^%$#@!?><,./';:"{}| kajshdkjahsdkjhaskjdhakjsdh
4. Re: New ed editor does not recognize special characters, even neccessary ones such as [ ]
- Posted by ricardo_forno Feb 16, 2014
- 1886 views
Hi, Derek! I tried it again, and discovered that the Alt-Graphics key itself is the one causing the problem. The Ctrl-Alt combination behaves the same way. I think this may be related to the keyboard layout. I am using a MSI Wind netbook with Spanish keyboard. At this very moment I cannot test it in another PC, but later I will do it.
5. Re: New ed editor does not recognize special characters, even neccessary ones such as [ ]
- Posted by DerekParnell (admin) Feb 16, 2014
- 1880 views
Hi, Derek! I tried it again, and discovered that the Alt-Graphics key itself is the one causing the problem. The Ctrl-Alt combination behaves the same way. I think this may be related to the keyboard layout. I am using a MSI Wind netbook with Spanish keyboard. At this very moment I cannot test it in another PC, but later I will do it.
I suspected this too. Try running the \demo\key.ex program. That will show the 'key code' for any key you press. The ed.ex program uses the key codes to work out what to do.
6. Re: New ed editor does not recognize special characters, even neccessary ones such as [ ]
- Posted by ricardo_forno Feb 20, 2014
- 1676 views
I did that, and found the key-code for AltGr is 1036496. I am using Windows XP, and it is said somewhere that some control-codes are not recognized by ed.ex. But to write a program I need characters []{}\, essential to EUPHORIA programs, and also sometimes |@#~¬ all of them available in the keyboard only through the AltGr key. I can copy them from another place, but this is awkward. In addition, it will be troublesome to install Windows 7 or 8 in this machine; it is somewhat old, but it is my preferred one.
So, I am planning to switch to another editor, considering also that ed.ex is not very friendly. In your opinion, which is the best editor for EUPHORIA programs?
Previously, I was using old EUPHORIA 3.1 for some scripts, but I discovered that the walk_dir function had a bug, not actually itself, but related to machine_function it calls. So, I switched to Open Euphoria, and the present problem cropped up. Best regards.
7. Re: New ed editor does not recognize special characters, even neccessary ones such as [ ]
- Posted by jimcbrown (admin) Feb 20, 2014
- 1663 views
Previously, I was using old EUPHORIA 3.1 for some scripts, but I discovered that the walk_dir function had a bug, not actually itself, but related to machine_function it calls. So, I switched to Open Euphoria, and the present problem cropped up.
Why can't you use the editor from 3.1 to write Open Euphoria scripts?
8. Re: New ed editor does not recognize special characters, even neccessary ones such as [ ]
- Posted by mattlewis (admin) Feb 20, 2014
- 1690 views
So, I am planning to switch to another editor, considering also that ed.ex is not very friendly. In your opinion, which is the best editor for EUPHORIA programs?
I recommend that you try out wxIDE. It has euphoria specific editing functions like auto-complete based on the files you have included and jump to a definition of a routine.
Matt
9. Re: New ed editor does not recognize special characters, even neccessary ones such as [ ]
- Posted by jaygade Feb 20, 2014
- 1661 views
You can always fallback to Notepad.
10. Re: New ed editor does not recognize special characters, even neccessary ones such as [ ]
- Posted by DerekParnell (admin) Feb 20, 2014
- 1632 views
I did that, and found the key-code for AltGr is 1036496. I am using Windows XP, and it is said somewhere that some control-codes are not recognized by ed.ex.
Ok. It would be a small job to have ed.ex recognize alternative keyboards so I could work on that if you like.
In your opinion, which is the best editor for EUPHORIA programs?
However, if you wish to use another editor anyway, then have a look at Notepad++, CrimsonEditor, or Geany.
11. Re: New ed editor does not recognize special characters, even neccessary ones such as [ ]
- Posted by ricardo_forno Feb 21, 2014
- 1624 views
Ok. It would be a small job to have ed.ex recognize alternative keyboards so I could work on that if you like.
It will be great, because there is a lot of people otside English-speaking countries who will benefit for that. Best regards.