PageRenderTime 281ms CodeModel.GetById 277ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-0-pre3/modes/html.xml

#
XML | 69 lines | 49 code | 12 blank | 8 comment | 0 complexity | 3155bf8af9bd2231a3056b3452df306c MD5 | raw file
 1<?xml version="1.0"?>
 2
 3<!DOCTYPE MODE SYSTEM "xmode.dtd">
 4
 5<MODE>
 6	<PROPS>
 7		<PROPERTY NAME="commentStart" VALUE="&lt;!--" />
 8		<PROPERTY NAME="commentEnd" VALUE="--&gt;" />
 9	</PROPS>
10	<RULES IGNORE_CASE="TRUE">
11		<!-- whitespace: (space and tab) -->
12		<WHITESPACE> </WHITESPACE>
13		<WHITESPACE>	</WHITESPACE>
14
15		<!-- SGML comment -->
16		<SPAN TYPE="COMMENT1">
17			<BEGIN>&lt;!--</BEGIN>
18			<END>--&gt;</END>
19		</SPAN>
20
21		<!-- JavaScript -->
22		<SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
23			<BEGIN>&lt;SCRIPT&gt;</BEGIN>
24			<END>&lt;/SCRIPT&gt;</END>
25		</SPAN>
26
27		<!-- stylesheet -->
28		<SPAN TYPE="MARKUP" DELEGATE="css::MAIN">
29			<BEGIN>&lt;STYLE&gt;</BEGIN>
30			<END>&lt;/STYLE&gt;</END>
31		</SPAN>
32
33		<!-- DTD instructions -->
34		<SPAN TYPE="KEYWORD2" DELEGATE="xml::DTD-TAGS">
35			<BEGIN>&lt;!</BEGIN>
36			<END>&gt;</END>
37		</SPAN>
38
39		<!-- markup tags -->
40		<SPAN TYPE="MARKUP" DELEGATE="TAGS">
41			<BEGIN>&lt;</BEGIN>
42			<END>&gt;</END>
43		</SPAN>
44
45		<!-- SGML entities -->
46		<SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
47			<BEGIN>&amp;</BEGIN>
48			<END>;</END>
49		</SPAN>
50	</RULES>
51
52	<RULES SET="TAGS" DEFAULT="MARKUP">
53		<!-- whitespace: (space and tab) -->
54		<WHITESPACE> </WHITESPACE>
55		<WHITESPACE>	</WHITESPACE>
56
57		<SPAN TYPE="LITERAL1">
58			<BEGIN>"</BEGIN>
59			<END>"</END>
60		</SPAN>
61
62		<SPAN TYPE="LITERAL1">
63			<BEGIN>'</BEGIN>
64			<END>'</END>
65		</SPAN>
66
67		<SEQ TYPE="OPERATOR">=</SEQ>
68	</RULES>
69</MODE>