help-source-highlight
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-source-highlight] Re: xml highlight problem


From: Lorenzo Bettini
Subject: Re: [Help-source-highlight] Re: xml highlight problem
Date: Sun, 08 Oct 2006 19:44:01 +0200
User-agent: Thunderbird 1.5.0.7 (X11/20060927)

Lorenzo Bettini wrote:
Attached, you find the fixed xml.lang definition file, which now highlights xml file correctly.

ehm... sorry... forgot the attachment :-)

--
+-----------------------------------------------------+
| Lorenzo Bettini          ICQ# lbetto, 16080134      |
| PhD in Computer Science, DSI, Univ. di Firenze      |
| Florence - Italy        (GNU/Linux User # 158233)   |
| http://www.lorenzobettini.it                        |
| http://tronprog.blogspot.com  BLOG                  |
| http://www.purplesucker.com Deep Purple Cover Band  |
| http://www.gnu.org/software/src-highlite            |
| http://www.gnu.org/software/gengetopt               |
| http://www.lorenzobettini.it/software/gengen        |
| http://www.lorenzobettini.it/software/doublecpp     |
+-----------------------------------------------------+
state preproc delim "<?xml" "?>" multiline begin
  string delim "\"" "\"" escape "\\" multiline
end

comment delim "<!--" "-->" multiline nested

keyword = '<(/)?[[:alnum:]:_]+(/)?>'

state keyword delim '<(/)?[[:alnum:]:_]+' '(/)?>' multiline begin
  type = '[^="[:blank:]>]+'
  symbol = "="
  string delim "\"" "\"" escape "\\" multiline
end

preproc = '&([[:alnum:]]+);'

reply via email to

[Prev in Thread] Current Thread [Next in Thread]