alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

jEdit example source code file (jmk.xml)

This example jEdit source code file (jmk.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - jEdit tags/keywords

keyword1, keyword1, keyword2, mode, operator, operator, property, seq, seq, span, true, type, type, value

The jEdit jmk.xml source code

<?xml version="1.0"?>

<!DOCTYPE MODE SYSTEM "xmode.dtd">

<MODE>
	<PROPS>
		<PROPERTY NAME="lineComment" VALUE="#" />
		<PROPERTY NAME="indentOpenBrackets" VALUE="{" />
		<PROPERTY NAME="indentCloseBrackets" VALUE="}" />
	</PROPS>
	<RULES IGNORE_CASE="FALSE" HIGHLIGHT_DIGITS="TRUE">
		<!-- Comment -->
		<EOL_SPAN TYPE="COMMENT1">#

		<!-- Literals -->
		<SPAN TYPE="LITERAL1" ESCAPE="\" NO_LINE_BREAK="TRUE">
			<BEGIN>"
			<END>"
		</SPAN>
		<SPAN TYPE="LITERAL1" ESCAPE="\" NO_LINE_BREAK="TRUE">
			<BEGIN>'
			<END>'
		</SPAN>

		<!-- Brackets -->
		<SEQ TYPE="OPERATOR">{
		<SEQ TYPE="OPERATOR">}
		<SEQ TYPE="OPERATOR">(
		<SEQ TYPE="OPERATOR">)
		<SEQ TYPE="OPERATOR">-
		<SEQ TYPE="OPERATOR">=

		<KEYWORDS>
			<KEYWORD1>cat
			<KEYWORD1>copy
			<KEYWORD1>create
			<KEYWORD1>delall
			<KEYWORD1>delete
			<KEYWORD1>dirs
			<KEYWORD1>equal
			<KEYWORD1>else
			<KEYWORD1>end
			<KEYWORD1>exec
			<KEYWORD1>first
			<KEYWORD1>forname
			<KEYWORD1>function
			<KEYWORD1>getprop
			<KEYWORD1>glob
			<KEYWORD1>if
			<KEYWORD1>join
			<KEYWORD1>load
			<KEYWORD1>mkdir
			<KEYWORD1>mkdirs
			<KEYWORD1>note
			<KEYWORD1>patsubst
			<KEYWORD1>rename
			<KEYWORD1>rest
			<KEYWORD1>subst
			<KEYWORD1>then
			<KEYWORD2>@
			<KEYWORD2>?
			<KEYWORD2><
			<KEYWORD2>%
			<KEYWORD3>include
		</KEYWORDS>
	</RULES>
</MODE>

Other jEdit examples (source code examples)

Here is a short list of links related to this jEdit jmk.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.