1. Html syntax colouring

Just asking if anyone has any links/images of html syntax colouring,
as I am about to add this to Edita.

Regards,
Pete

new topic     » topic index » view message » categorize

2. Re: Html syntax colouring

> Just asking if anyone has any links/images of html syntax colouring,
> as I am about to add this to Edita.

You could probably just do a standard coloring scheme. I say make the
standard tag (BODY, FONT, TABLE, etc.) blue, make the attributes
(BGCOLOR, COLOR, BORDER, etc.) magenta, and any strings green. Also,
comments (<!--  -->) could be red. This would follow the standard
Euphoria coloring, and would be quite easy to implement, as you
wouldn't have to look at any specific tags.

Just my $0.02,
~Greg

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

3. Re: Html syntax colouring

On Sun, 21 Aug 2005 21:30:09 -0400, Greg Haberek <ghaberek at gmail.com>
wrote:

>Also, comments (<!--  -->) could be red. [..] and would be quite easy to
>implement,
I need another entry in the dictionary:
easy[57] adj: damn sight more difficult than you could possibly
imagine, as in 'quite easy' by Greg Haberek.

Only joking, I have a plan...

Anyway, here's why I /actually/ posted: "<!--" is *FOUR* characters,
which must be the longest comment lead-in in existence (yes?). Is
"-->", at three characters, the longest 'end-of-comment'?

Pete

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

4. Re: Html syntax colouring

Pete Lomax wrote:
> 
> Anyway, here's why I /actually/ posted: "<!--" is *FOUR* characters,
> which must be the longest comment lead-in in existence (yes?). Is
> "-->", at three characters, the longest 'end-of-comment'?

Actually, some BASIC dialects use "REMBEGIN"/"REMSTART" and "REMEND" for block
comments.

The Euphoria Standard Library project :
    http://esl.sourceforge.net/
The Euphoria Standard Library mailing list :
    https://lists.sourceforge.net/lists/listinfo/esl-discussion

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

Search



Quick Links

User menu

Not signed in.

Misc Menu