Re: 4.1 Beta Binary Release

new topic     » goto parent     » topic index » view thread      » older message » newer message
Jerome said...

... I've uploaded a new ed.ex for you to try: https://dl.dropboxusercontent.com/u/5805068/Euphoria/ed.ex. I just confirmed on my system that typing 'function','procedure','while',etc... produces the correct completions and doesn't crash.

Thanks,
Ira

Your new ed.ex works fine for me on Ubuntu 13.1. Your work is deeply appreciated.

However; there is a minor bug in the ed.ex clean function which was introduced in 4.0, I think. If only lines with a length greater than 2 are evaluated, then the CR will not be removed from "empty" lines consisting of just a CR & LF:

-- function clean(sequence line) 
ifdef UNIX  then                                                                                 
        --      error introduced in 4.0:                                                             
        --      if length(line) > 2 and line[$-1] = '\r' then                                        
        if length(line) > 1 and line[$-1] = '\r' then                                                
            -- DOS file: remove CR                                                                   
            cr_removed = TRUE                                                                        
            line = line[1..$-2] & '\n'                                                               
        end if                                                                                       
end ifdef                  
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu