PageRenderTime 101ms CodeModel.GetById 98ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-2-pre14/modes/props.xml

#
XML | 27 lines | 23 code | 2 blank | 2 comment | 0 complexity | 27679b078c14547d2c91ce470eaabc5d MD5 | raw file
 1<?xml version="1.0"?>
 2
 3<!DOCTYPE MODE SYSTEM "xmode.dtd">
 4
 5<MODE>
 6	<PROPS>
 7		<PROPERTY NAME="lineComment" VALUE="#" />
 8	</PROPS>
 9	<RULES DEFAULT="KEYWORD1">
10		<EOL_SPAN TYPE="COMMENT1" AT_LINE_START="TRUE">#</EOL_SPAN>
11		<EOL_SPAN TYPE="NULL" DELEGATE="PROP_VALUE">=</EOL_SPAN>
12		<EOL_SPAN TYPE="NULL" DELEGATE="PROP_VALUE">:</EOL_SPAN>
13		<EOL_SPAN TYPE="NULL" DELEGATE="PROP_VALUE"> </EOL_SPAN>
14		<EOL_SPAN TYPE="NULL" DELEGATE="PROP_VALUE">	</EOL_SPAN>
15	</RULES>
16	<RULES SET="PROP_VALUE" HIGHLIGHT_DIGITS="TRUE"
17		DIGIT_RE="([[:digit:]]+|#[[:xdigit:]]+)"
18		NO_WORD_SEP="#">
19		<!-- MessageFormat { ... } stuff -->
20		<SPAN TYPE="KEYWORD3" NO_LINE_BREAK="TRUE">
21			<BEGIN>{</BEGIN>
22			<END>}</END>
23		</SPAN>
24		<!-- Sillyness -->
25		<MARK_FOLLOWING TYPE="DIGIT">#</MARK_FOLLOWING>
26	</RULES>
27</MODE>