1. EE Editor suggestion for Carl White or David

Carl R. White
I like using your version of David's EE Editor and use it alot.
I have a suggestion, that Syntax Coloring and KeyWords be imported from
an INI file. For example, the Editor would look at a file's extent when It
is first loaded. If it is somefile.PAS then it would go to the INI file
searching for the .PAS entry for color syntax and keywords and load them
into a sequence for use, if not found it would use a text default.
By doing this anyone could add auto-completes and Syntax coloring for any
language just by editing the INI file.
Thanks for your attention.
Bernie

new topic     » topic index » view message » categorize

2. Re: EE Editor suggestion for Carl White or David

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01BEC2D8.D4F20B90


As an inspiration, you can see how it's done with the shareware editor
WINEDIT:
 <<wechroma.ini>>  <<c.ini>>
The wechroma inifile associates an extension with an ini file, for example:
 *.cpp => c.ini .
Just some ideas... I must say it works fine.

Riwal Raude
rauder at thmulti.com

PS: if you see strange characters or encoding please tell me. We just passed
to
outlook here at work. For me, what I write is blue...
> -----Original Message-----
> From: Bernie Ryan [SMTP:bwryan at PCOM.NET]
> Sent: Tuesday, June 29, 1999 10:33 PM
> To:   EUPHORIA at LISTSERV.MUOHIO.EDU
> Subject:      EE Editor suggestion for Carl White or David
>
> Carl R. White
> I like using your version of David's EE Editor and use it alot.
> I have a suggestion, that Syntax Coloring and KeyWords be imported from
> an INI file. For example, the Editor would look at a file's extent when It
> is first loaded. If it is somefile.PAS then it would go to the INI file
> searching for the .PAS entry for color syntax and keywords and load them
> into a sequence for use, if not found it would use a text default.
> By doing this anyone could add auto-completes and Syntax coloring for any
> language just by editing the INI file.
> Thanks for your attention.
> Bernie

------_=_NextPart_000_01BEC2D8.D4F20B90
        name="wechroma.ini"

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

3. Re: EE Editor suggestion for Carl White or David

On Tue, 29 Jun 1999, Bernie Ryan wrote:

] Carl R. White
] I like using your version of David's EE Editor and use it alot.
] I have a suggestion, that Syntax Coloring and KeyWords be imported from
] an INI file. For example, the Editor would look at a file's extent when It
] is first loaded.

I've thought about doing this several times, but much of the code is too
hardwired to being Euphoria-oriented.

For instance, the colouration routine for dealing with comments copes well
with '--' because it's a single line colourer, but it would require a
whole new routine to cope with multiline structures like "/* */" in C.

As for altering the command set, there are in fact *two* files that deal
with this. There's the standard 'keywords.e', and there's also the the
file that deals with the auto-completion. The latter is inherently hard
coded.

There's the Run [F5] option, that's only coded to deal with .e, .ex, .ew
and .exw.

The context help and makehelp.ex both require Library.DOC to be in its
current format, and the entire routine would have to be re-written to cope
with other documents (if and when available).

*Then* there's the Colouration options box. Half of the words in there are
"Euphoria". :)

All in all, it's just too big a task to make EE generic (at least in my
opinion). It may be simpler to rewire it for one specific language at a
time. Why, after all, do you think I didn't invent a "new" language for
the .prj project files? ;)

HTH,
Carl

--
Carl R White -- Final Year Computer Science at the University of Bradford
E-mail........: cyrek- at -bigfoot.com -- Remove hyphens. Ta :)
URL...........: http://www.bigfoot.com/~cyrek/
Uncrackable...: "19.6A.23.38.52.73.45 25.31.1C 3C.53.44.39.58"

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

4. Re: EE Editor suggestion for Carl White or David

Looks like c.ini was corrupted with 3D after each "=".
So, you have =3D's below.

        Lucius L. Hilley III
          lhilley at cdc.net
+----------+--------------+--------------+
| Hollow   | ICQ: 9638898 | AIM: LLHIII  |
|  Horse   +--------------+--------------+
| Software | http://www.cdc.net/~lhilley |
+----------+-----------------------------+

> ---------------------- Information from the mail
header -----------------------
> Poster:       Raude Riwal <RAUDER at THMULTI.COM>
> Subject:      Re: EE Editor suggestion for Carl White or David
> --------------------------------------------------------------------------
-----

>
> PS: if you see strange characters or encoding please tell me. We just
passed
> to
> outlook here at work. For me, what I write is blue...


>
> ------_=_NextPart_000_01BEC2D8.D4F20B90
>         name="c.ini"
> Content-Transfer-Encoding: quoted-printable

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

Search



Quick Links

User menu

Not signed in.

Misc Menu