1. EE Editor 2.1:CS -- The Parallel Edition

Since David and I seem to be running in parallel now, it's up to you lot
to choose which editor to use. Since David's programs tend to run fairly
well first time, some way wish to stick with his EE.

However, those of you who like to be frontiersmen (Do we have any ladies
on here?) might like to try *my* EE that I *have* put up today!

I've even included a screenshot on my (not very good) Euphoria page.

Just follow the links from my main page (so I can record the hits ;) ).

Happy Coding,
Carl

--
Carl R White -- cyrek- at -bigfoot.com -- http://www.bigfoot.com/~cyrek
 aka Cyrek   --    No hyphens :)    --       Bigfoot URL Alias

new topic     » topic index » view message » categorize

2. Re: EE Editor 2.1:CS -- The Parallel Edition

Well, I've been using my own EE for a while now, and I've only found one
tiny bug. Anyone else found any?

The tiny bug in question occurs in the colours in places like this:

    s = s[1..length(s)-1]
           ^^^^^^^^

Technical bit:
As an extra feature, some of you may have noticed that I added the names
of the standard libraries to the keyword colouration library, to help make
code more readable. To do this, however, I had to change the character
class of the fullstop (period, whatever :) ) to LETTER. This then means
that any dot before a letter stops it showing up if it's part of a keyword
or builtin.

There are four workarounds/solutions to the 'bug':
1)  s = s[1 .. length(s)-1]
           ^^^^ add spaces

2) Comment out the "char_class['.'] = LETTER" line in color.e.
   If you do this permanently, you may wish to delete the entries for the
   library [.e] files in keywords.e, as they don't work with this
   workaround...

3) Add a CHAMELEON char_class, and place '.' in it. Add the necessary
   behavioural code.

4) Wait for me to implement and test #3. :)

The bug does not affect your programs. Just how they look on screen.

Any other comments on the EEditor?
Carl

--
Carl R White -- cyrek- at -bigfoot.com -- http://www.bigfoot.com/~cyrek
 aka Cyrek   --    No hyphens :)    --       Bigfoot URL Alias

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

3. Re: EE Editor 2.1:CS -- The Parallel Edition

Every time I try to open an empty folder it crashes.
-----Original Message-----
From: Carl R. White <C.R.White at SCM.BRAD.AC.UK>
To: EUPHORIA at LISTSERV.MUOHIO.EDU <EUPHORIA at LISTSERV.MUOHIO.EDU>
Date: Friday, April 09, 1999 10:13 AM
Subject: Re: EE Editor 2.1:CS -- The Parallel Edition


>Well, I've been using my own EE for a while now, and I've only found one
>tiny bug. Anyone else found any?
>
>The tiny bug in question occurs in the colours in places like this:
>
>    s = s[1..length(s)-1]
>           ^^^^^^^^
>
>Technical bit:
>As an extra feature, some of you may have noticed that I added the names
>of the standard libraries to the keyword colouration library, to help make
>code more readable. To do this, however, I had to change the character
>class of the fullstop (period, whatever :) ) to LETTER. This then means
>that any dot before a letter stops it showing up if it's part of a keyword
>or builtin.
>
>There are four workarounds/solutions to the 'bug':
>1)  s = s[1 .. length(s)-1]
>           ^^^^ add spaces
>
>2) Comment out the "char_class['.'] = LETTER" line in color.e.
>   If you do this permanently, you may wish to delete the entries for the
>   library [.e] files in keywords.e, as they don't work with this
>   workaround...
>
>3) Add a CHAMELEON char_class, and place '.' in it. Add the necessary
>   behavioural code.
>
>4) Wait for me to implement and test #3. :)
>
>The bug does not affect your programs. Just how they look on screen.
>
>Any other comments on the EEditor?
>Carl
>
>--
>Carl R White -- cyrek- at -bigfoot.com -- http://www.bigfoot.com/~cyrek
> aka Cyrek   --    No hyphens :)    --       Bigfoot URL Alias

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

4. Re: EE Editor 2.1:CS -- The Parallel Edition

On Fri, 9 Apr 1999, Adam Weeden reported the bug:

] Every time I try to open an empty folder it crashes.

Hmm. Probably a bad dir() read. I'll look into it...

For the time being, put something in the folder before using it. :)

Thanks,
Carl

--
Carl R White -- cyrek- at -bigfoot.com -- http://www.bigfoot.com/~cyrek
 aka Cyrek   --    No hyphens :)    --       Bigfoot URL Alias

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

5. Re: EE Editor 2.1:CS -- The Parallel Edition

On Fri, 9 Apr 1999, Carl R. White wrote:

] On Fri, 9 Apr 1999, Adam Weeden reported the bug:
]
] ] Every time I try to open an empty folder it crashes.
]
] Hmm. Probably a bad dir() read. I'll look into it...
] For the time being, put something in the folder before using it. :)

Replying to my own messages... Whatever next. :)

Two points:

1) I can't find the problem with the empty directory. I'll admit that the
   message that appears is a little screwy (i.e. "oops" :) ), but the
   editor doesn't crash with a 300 statements error when I try it.

   What exactly happens (Editor-wise) with you folks out there?

2) The fix for the colour bug is so simple I kicked myself...

   Just change the "char_class['.'] = LETTER" line in color.e to
   "char_class['.'] = DIGIT"       Problem solved. Bug fixed. :)

One more thing...

I'll see if I can implement wildcard file opens (like *.txt) on the
command line, add it to the bug fixes above, and release a patch/update in
the near future. Don't hold your breath too long though, I'm a bit busy
with projects and the like at the mo.

Seizure later, :)
Carl

--
Carl R White -- cyrek- at -bigfoot.com -- http://www.bigfoot.com/~cyrek
 aka Cyrek   --    No hyphens :)    --       Bigfoot URL Alias

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

6. Re: EE Editor 2.1:CS -- The Parallel Edition

I found another bug.

It appears:

1.  Create a new file, without a name.
2.  Choose file - save. (not: 'save as...')
3.  A pop up box appears. Type in the name.
4.  Press enter.
5.  The file ISN'T saved...

Not very bad, but a bug...

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

7. Re: EE Editor 2.1:CS -- The Parallel Edition

On Wed, 14 Apr 1999, Bert Belder wrote:

] I found another bug.
]
] It appears:
]
] 1.  Create a new file, without a name.
] 2.  Choose file - save. (not: 'save as...')
] 3.  A pop up box appears. Type in the name.
] 4.  Press enter.
] 5.  The file ISN'T saved...
]
] Not very bad, but a bug...

Hmm... Untitled files should move stright to Save As... I'll look into it.
However, you didn't say whether you've typed anything into the new file
before attempting to save it. That code is still David's and may be not
saving a zero-length file.

Another tiny bug that I found the other day:
If you tell the editor to create a new file with a name (i.e. it doesn't
exist originally) in the Open File dialog or on the command line, the file
doesn't get deleted if you write nothing to it.
Result? A zero length file created that isn't wanted.
I did some checking, and this is exactly the way DOS Edit does things. It
just remembers to delete the darn things if they aren't used! :)

Like I said before, I'm a little busy at the mo (hence the huge gap
between sessions on the listserv), but I'll fix the bugs if I have time.

Thanks for the feedback,
Carl

--
Carl R White -- cyrek- at -bigfoot.com -- http://www.bigfoot.com/~cyrek
 aka Cyrek   --    No hyphens :)    --       Bigfoot URL Alias

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

8. Re: EE Editor 2.1:CS -- The Parallel Edition

>On Wed, 14 Apr 1999, Bert Belder wrote
>Hmm... Untitled files should move stright to Save As... I'll look into it.
>However, you didn't say whether you've typed anything into the new file
>before attempting to save it. That code is still David's and may be not
>saving a zero-length file.

I thing I said something wrong. When a menu Item is disabled, you can
still use the hotkey for the menu item. I mean: when saving a file, I always
press alt-F S. If a file does not have a name yet, a pop-up box appears, you
type in a name, but the file isn't saved.

Bert

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

9. Re: EE Editor 2.1:CS -- The Parallel Edition

On Mon, 26 Apr 1999, Bert Belder wrote:

] I thing I said something wrong. When a menu Item is disabled, you can
] still use the hotkey for the menu item. I mean: when saving a file, I always
] press alt-F S. If a file does not have a name yet, a pop-up box
] appears, you type in a name, but the file isn't saved.

I think I see what you mean. I'll go home tonight and test for it, but I
can't say I'd noticed the bug myself... Probably just a call to
write_file() missing from the code.
The "[Alt]+F; S" is the exception to the rule with dimmed items though,
most other things don't work. Try loading in cyrek.txt, and trying to run
it [F5], for instance. :)

/me goes away muttering,
Carl

--
Carl R White -- cyrek- at -bigfoot.com -- http://www.bigfoot.com/~cyrek
 aka Cyrek   --    No hyphens :)    --       Bigfoot URL Alias

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

Search



Quick Links

User menu

Not signed in.

Misc Menu