[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Highlight comment in HTML
From: |
Tim McNamara |
Subject: |
Re: Highlight comment in HTML |
Date: |
Tue, 06 Jan 2004 12:57:14 -0600 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (darwin) |
Tim McNamara <timmcn@bitstream.net> writes:
> GianUberto.Lauri@eng.it (Gian Uberto Lauri) writes:
>
>> What could be a good way to highlight HTML comments (they can span
>> multiple lines) ?
<snip>
> Since comments are placed within <!-- and //--!> tags, comments
> ought to at least highlight in the same color as other tags. I
> can't tell, I don't have any comments in any handy .html files to
> check against and don't have time to create a file to play with on
> my lunch break. I'll try later on this evening, if I can. Since
> the opening and closing tags have a unique structure, perhaps that
> could be exploited for highlighting.
OK, I couldn't resist. Checking it out, I found that html-helper-mode
*does* highlight comments between <-- and -->, even those spanning
multiple lines. They highlight in a unique color, too.
Perhaps I didn't understand the question?
- Highlight comment in gauss mode, address@hidden, 2004/01/06
- Re: Highlight comment in gauss mode, Stefan Monnier, 2004/01/06
- Re: Highlight comment in gauss mode, address@hidden, 2004/01/06
- Re: Highlight comment in gauss mode, Stefan Monnier, 2004/01/06
- Re: Highlight comment in gauss mode, address@hidden, 2004/01/07
- Re: Highlight comment in gauss mode, Stefan Monnier, 2004/01/07
- Re: Highlight comment in gauss mode, address@hidden, 2004/01/08
- Re: Highlight comment in gauss mode, Stefan Monnier, 2004/01/08
- Re: Highlight comment in gauss mode, address@hidden, 2004/01/09
Message not available