PageRenderTime 28ms CodeModel.GetById 25ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-3-pre5/modes/embperl.xml

#
XML | 51 lines | 31 code | 4 blank | 16 comment | 0 complexity | 5bc1b5616046493a69d2e58e8b3727ff MD5 | raw file
 1<?xml version="1.0"?>
 2
 3<!DOCTYPE MODE SYSTEM "xmode.dtd">
 4
 5<!--
 6catalog entry:
 7
 8<MODE NAME="embperl"		FILE="embperl.xml"
 9				FILE_NAME_GLOB="*.epl"/>
10
11sidekick parser entry:
12mode.embperl.sidekick.parser=html
13
14xml completion entry:
15mode.embperl.xml.completion-info=jeditresource:/XML.jar!/xml/completion/html-complete.xml
16-->
17
18<MODE>
19	<PROPS>
20		<PROPERTY NAME="commentStart" VALUE="&lt;!--" />
21		<PROPERTY NAME="commentEnd" VALUE="--&gt;" />
22	</PROPS>
23	<RULES IGNORE_CASE="TRUE" HIGHLIGHT_DIGITS="FALSE">
24		<SPAN TYPE="COMMENT2">
25			<BEGIN>[#</BEGIN>
26			<END>#]</END>
27		</SPAN>
28		<!-- output result -->
29		<SPAN DELEGATE="perl::MAIN" TYPE="LITERAL3">
30			<BEGIN>[+</BEGIN>
31			<END>+]</END>
32		</SPAN>
33		<!-- execute code -->
34		<SPAN DELEGATE="perl::MAIN" TYPE="LITERAL3">
35			<BEGIN>[-</BEGIN>
36			<END>-]</END>
37		</SPAN>
38		<!-- control flow -->
39		<SPAN DELEGATE="perl::MAIN" TYPE="LITERAL3">
40			<BEGIN>[$</BEGIN>
41			<END>$]</END>
42		</SPAN>
43		<!-- execute once -->
44		<SPAN DELEGATE="perl::MAIN" TYPE="LITERAL3">
45			<BEGIN>[!</BEGIN>
46			<END>!]</END>
47		</SPAN>
48		<IMPORT DELEGATE="html::MAIN"/>
49	</RULES>
50</MODE>
51