Re: WEE auto-complete
- Posted by K_D_R Jan 26, 2015
- 1891 views
One feature I miss from the Euphoria editor is auto-completion of blocks. For example:
if ...
autocompletes to something like:
if ... then end if
I'd test it out with ed, but launching ed currently gives me this error:
<0158>:: Wrong number of arguments supplied for forward reference C:\euphoria\bin\ed.ex (547): function SyntaxColor. Expected 2, but found 4. color_line = SyntaxColor(this_line, ,get_multiline( bline - 1 )) ^
- David
Welcome to ed/edx.ex hell...
Obviously you have a ed.ex/syncolor.e mismatch. Line 547 which you quoted from ed.ex appears to be from euphoria 4.1, but you appear to be referencing a 4.0 version of syncolor.e.
Check your eu.cfg files.
I seem to have managed a beta version of Linux which has renamed ed.ex as edx.ex which executes and auto-completes the "if then" block as expected.
However, I have never been able to get any version of ed/edx.ex to display multi-line quotes, double quotes, or single quote - tick marks correctly. It seems that a tremendous amount of effort has gone into adapting syncolor.e and developing tokenize.e - to no good end that I can tell. So, ed.ex has been renamed edx.ex and virtually abandoned. Kinda reminds me of an old movie in which the family members would beat the dog every time grandma farted.
I hope WEE.EX grows to includes the features you referenced. Linux user's best bet for an editor is Geany, or perhaps GVIM.
Regards, Ken Rhodes