modifyindent changes to ed.ex

new topic     » topic index » view thread      » older message » newer message

Hello,

     I just made the changes to ed.ex that Jacques Deschenes
posted earlier this month.  The comment and uncomment feature
works great, and I use it alot in testing procedures.

     I did however have a problem with the indent and unindent features.
When I added the code for the indent and unindent features I received
an error stating that:

single-quote character is empty, so I added a space between the single
quotes.  Now the indent feature works fine, but the unindent feature gives
me the following error:

true/false condition must be an ATOM.

If I remove the space on the line that gives me the error it tells me
the old error that:

single-quote character is empty
            if buffer[i][1] = '' then
                                 ^

I have noticed that the only time I get the ATOM error is if I am
editing a Euphoria source file, such as test.e or test1.ex.
If I am editing a plain file such as ed.doc it works great.

I was wondering if anyone else has had this trouble, or if it is a
conflict with some of the enhancements that I have personally
made to ed.ex

THANKS in advance for any help.

Ferlin.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu