All Downloads are FREE. Search and download functionalities are using the official Maven repository.

modes.rcp.xml Maven / Gradle / Ivy

Go to download

This project aims to build a command line tool that can create HTML view with syntax highlighted source code. It uses Jedit syntax highlighting engine and support all languages that are supported in JEdit. Which are currently: ActionScript, Ada 95, ANTLR, Apache HTTPD, APDL, AppleScript, ASP, Aspect-J, Assembly, AWK, B formal method, Batch, BBj, BCEL, BibTeX, C, C++, C#, CHILL, CIL, COBOL, ColdFusion, CSS, CVS Commit, D, DOxygen, DSSSL, Eiffel, EmbPerl, Erlang, Factor, Fortran, Foxpro, FreeMarker, Fortran, Gettext, Groovy, Haskell, HTML, Icon, IDL, Inform, INI, Inno Setup, Informix 4GL, Interlis, Io, Java, JavaScript, JCL, JHTML, JMK, JSP, Latex, Lilypond, Lisp, LOTOS, Lua, Makefile, Maple, ML, Modula-3, MoinMoin, MQSC, NetRexx, NQC, NSIS2, Objective C, ObjectRexx, Occam, Omnimark, Parrot, Pascal, Patch, Perl, PHP, Pike, PL-SQL, PL/I, Pop11, PostScript, Povray, PowerDynamo, Progress 4GL, Prolog, Properties, PSP, PV-WAVE, Pyrex, Python, REBOL, Redcode, Relax-NG, RelationalView, Rest, Rib, RPM spec, RTF, Ruby, Ruby-HTML, RView, S+, S#, SAS, Scheme, SDL/PL, SGML, Shell Script, SHTML, Smalltalk, SMI MIB, SQR, Squidconf, SVN Commit, Swig, TCL, TeX, Texinfo, TPL, Transact-SQL, UnrealScript, VBScript, Velocity, Verilog, VHDL, XML, XSL, ZPT

The newest version!
<?xml version="1.0"?>

<!--
 **
 ** Pilrc *.prc highlight rules for jEdit
 **
 ** Marcin Orlowski - [email protected]
 **
 ** v1.0 (2006.04.25)
 **
-->

<!DOCTYPE MODE SYSTEM "xmode.dtd">

<MODE>
	<PROPS>
	<!--
		<PROPERTY NAME="indentOpenBrackets" VALUE="{" />
		<PROPERTY NAME="indentCloseBrackets" VALUE="}" />
	-->
		<PROPERTY NAME="commentStart" VALUE="/*" />
		<PROPERTY NAME="commentEnd" VALUE="*/" />
	</PROPS>

	<RULES IGNORE_CASE="TRUE">

		<!-- SGML comment -->
		<SPAN TYPE="COMMENT1">
			<BEGIN>/*</BEGIN>
			<END>*/</END>
		</SPAN>

	</RULES>


	<RULES>
		<SPAN TYPE="LITERAL1">
			<BEGIN>"</BEGIN>
			<END>"</END>
		</SPAN>

		<SPAN TYPE="LITERAL1">
			<BEGIN>'</BEGIN>
			<END>'</END>
		</SPAN>

		<SEQ TYPE="OPERATOR">=</SEQ>
	</RULES>


	<RULES HIGHLIGHT_DIGITS="TRUE">
		<PROPS>
			<PROPERTY NAME="commentStart" VALUE="/*" />
			<PROPERTY NAME="lineComment" VALUE="//" />
		</PROPS>

		<SPAN TYPE="COMMENT1">
			<BEGIN>/*</BEGIN>
			<END>*/</END>
		</SPAN>

		<SPAN TYPE="LITERAL1" DELEGATE="RCP_LITERAL">
			<BEGIN>"</BEGIN>
			<END>"</END>
		</SPAN>
		<SPAN TYPE="LITERAL1" ESCAPE="\">
			<BEGIN>'</BEGIN>
			<END>'</END>
		</SPAN>

		<EOL_SPAN TYPE="COMMENT1">//</EOL_SPAN>

		<SEQ TYPE="OPERATOR">=</SEQ>
		<SEQ TYPE="OPERATOR">!</SEQ>
		<SEQ TYPE="OPERATOR">=</SEQ>
		<SEQ TYPE="OPERATOR">+</SEQ>
		<SEQ TYPE="OPERATOR">-</SEQ>
		<SEQ TYPE="OPERATOR">/</SEQ>
		<SEQ TYPE="OPERATOR">*</SEQ>
		<SEQ TYPE="OPERATOR">%</SEQ>
		<SEQ TYPE="OPERATOR">|</SEQ>
		<SEQ TYPE="OPERATOR">^</SEQ>
		<SEQ TYPE="OPERATOR">~</SEQ>

		<SEQ TYPE="OPERATOR">}</SEQ>
		<SEQ TYPE="OPERATOR">{</SEQ>
		<SEQ TYPE="OPERATOR">,</SEQ>
		<SEQ TYPE="OPERATOR">;</SEQ>
		<SEQ TYPE="OPERATOR">]</SEQ>
		<SEQ TYPE="OPERATOR">[</SEQ>
		<SEQ TYPE="OPERATOR">?</SEQ>
		<SEQ TYPE="OPERATOR">@</SEQ>
		<SEQ TYPE="OPERATOR">:</SEQ>

		<MARK_PREVIOUS TYPE="FUNCTION" MATCH_TYPE="OPERATOR">(</MARK_PREVIOUS>
		<SEQ TYPE="OPERATOR">)</SEQ>

		<KEYWORDS>
			<FUNCTION>ALERT</FUNCTION>
			<FUNCTION>APPLICATION</FUNCTION>
			<FUNCTION>APPLICATIONICONNAME</FUNCTION>
			<FUNCTION>AREA</FUNCTION>
			<FUNCTION>BITMAP</FUNCTION>
			<FUNCTION>BITMAPCOLOR</FUNCTION>
			<FUNCTION>BITMAPCOLOR16</FUNCTION>
			<FUNCTION>BITMAPCOLOR16K</FUNCTION>
			<FUNCTION>BITMAPFAMILY</FUNCTION>
			<FUNCTION>BITMAPFAMILYEX</FUNCTION>
			<FUNCTION>BITMAPFAMILYSPECIAL</FUNCTION>
			<FUNCTION>BITMAPGREY</FUNCTION>
			<FUNCTION>BITMAPGREY16</FUNCTION>
			<FUNCTION>BITMAPSCREENFAMILY</FUNCTION>
			<FUNCTION>BOOTSCREENFAMILY</FUNCTION>
			<FUNCTION>BUTTON</FUNCTION>
			<FUNCTION>BUTTONS</FUNCTION>
			<FUNCTION>BYTELIST</FUNCTION>
			<FUNCTION>CATEGORIES</FUNCTION>
			<FUNCTION>CHECKBOX</FUNCTION>
			<FUNCTION>COUNTRYLOCALISATION</FUNCTION>
			<FUNCTION>DATA</FUNCTION>
			<FUNCTION>FEATURE</FUNCTION>
			<FUNCTION>FIELD</FUNCTION>
			<FUNCTION>FONTINDEX</FUNCTION>
			<FUNCTION>FORM</FUNCTION>
			<FUNCTION>FORMBITMAP</FUNCTION>
			<FUNCTION>GADGET</FUNCTION>
			<FUNCTION>GENERATEHEADER</FUNCTION>
			<FUNCTION>GRAFFITIINPUTAREA</FUNCTION>
			<FUNCTION>GRAFFITISTATEINDICATOR</FUNCTION>
			<FUNCTION>HEX</FUNCTION>
			<FUNCTION>ICON</FUNCTION>
			<FUNCTION>ICONFAMILY</FUNCTION>
			<FUNCTION>ICONFAMILYEX</FUNCTION>
			<FUNCTION>INTEGER</FUNCTION>
			<FUNCTION>KEYBOARD</FUNCTION>
			<FUNCTION>LABEL</FUNCTION>
			<FUNCTION>LAUNCHERCATEGORY</FUNCTION>
			<FUNCTION>LIST</FUNCTION>
			<FUNCTION>LONGWORDLIST</FUNCTION>
			<FUNCTION>MENU</FUNCTION>
			<FUNCTION>MENUITEM</FUNCTION>
			<FUNCTION>MESSAGE</FUNCTION>
			<FUNCTION>MIDI</FUNCTION>
			<FUNCTION>NOGRAFFITISTATEINDICATOR</FUNCTION>
			<FUNCTION>PALETTETABLE</FUNCTION>
			<FUNCTION>POPUPLIST</FUNCTION>
			<FUNCTION>POPUPTRIGGER</FUNCTION>
			<FUNCTION>PULLDOWN</FUNCTION>
			<FUNCTION>PUSHBUTTON</FUNCTION>
			<FUNCTION>REPEATBUTTON</FUNCTION>
			<FUNCTION>RESETAUTOID</FUNCTION>
			<FUNCTION>SCROLLBAR</FUNCTION>
			<FUNCTION>SELECTORTRIGGER</FUNCTION>
			<FUNCTION>SLIDER</FUNCTION>
			<FUNCTION>SMALLICON</FUNCTION>
			<FUNCTION>SMALLICONFAMILY</FUNCTION>
			<FUNCTION>SMALLICONFAMILYEX</FUNCTION>
			<FUNCTION>STRING</FUNCTION>
			<FUNCTION>STRINGTABLE</FUNCTION>
			<FUNCTION>TABLE</FUNCTION>
			<FUNCTION>TITLE</FUNCTION>
			<FUNCTION>TRANSLATION</FUNCTION>
			<FUNCTION>TRAP</FUNCTION>
			<FUNCTION>VERSION</FUNCTION>
			<FUNCTION>WORDLIST</FUNCTION>

			<KEYWORD1>PREVTOP</KEYWORD1>
			<KEYWORD1>PREVBOTTOM</KEYWORD1>
			<KEYWORD1>PREVLEFT</KEYWORD1>
			<KEYWORD1>PREVRIGHT</KEYWORD1>
			<KEYWORD1>AUTO</KEYWORD1>
			<KEYWORD1>AUTOID</KEYWORD1>

			<KEYWORD2>AT</KEYWORD2>
			<KEYWORD2>AUTOSHIFT</KEYWORD2>
			<KEYWORD2>BACKGROUNDID</KEYWORD2>
			<KEYWORD2>BITMAPID</KEYWORD2>
			<KEYWORD2>BOLDFRAME</KEYWORD2>
			<KEYWORD2>BPP</KEYWORD2>
			<KEYWORD2>CHECKED</KEYWORD2>
			<KEYWORD2>COLORTABLE</KEYWORD2>
			<KEYWORD2>COLUMNS</KEYWORD2>
			<KEYWORD2>COLUMNWIDTHS</KEYWORD2>
			<KEYWORD2>COMPRESS</KEYWORD2>
			<KEYWORD2>COMPRESSBEST</KEYWORD2>
			<KEYWORD2>COMPRESSPACKBITS</KEYWORD2>
			<KEYWORD2>COMPRESSRLE</KEYWORD2>
			<KEYWORD2>COMPRESSSCANLINE</KEYWORD2>
			<KEYWORD2>CONFIRMATION</KEYWORD2>
			<KEYWORD2>COUNTRY</KEYWORD2>
			<KEYWORD2>CREATOR</KEYWORD2>
			<KEYWORD2>CURRENCYDECIMALPLACES</KEYWORD2>
			<KEYWORD2>CURRENCYNAME</KEYWORD2>
			<KEYWORD2>CURRENCYSYMBOL</KEYWORD2>
			<KEYWORD2>CURRENCYUNIQUESYMBOL</KEYWORD2>
			<KEYWORD2>DATEFORMAT</KEYWORD2>
			<KEYWORD2>DAYLIGHTSAVINGS</KEYWORD2>
			<KEYWORD2>DEFAULTBTNID</KEYWORD2>
			<KEYWORD2>DEFAULTBUTTON</KEYWORD2>
			<KEYWORD2>DENSITY</KEYWORD2>
			<KEYWORD2>DISABLED</KEYWORD2>
			<KEYWORD2>DYNAMICSIZE</KEYWORD2>
			<KEYWORD2>EDITABLE</KEYWORD2>
			<KEYWORD2>ENTRY</KEYWORD2>
			<KEYWORD2>ERROR</KEYWORD2>
			<KEYWORD2>EXTENDED</KEYWORD2>
			<KEYWORD2>FEEDBACK</KEYWORD2>
			<KEYWORD2>FILE</KEYWORD2>
			<KEYWORD2>FONTID</KEYWORD2>
			<KEYWORD2>FORCECOMPRESS</KEYWORD2>
			<KEYWORD2>FRAME</KEYWORD2>
			<KEYWORD2>GRAFFITI</KEYWORD2>
			<KEYWORD2>GRAPHICAL</KEYWORD2>
			<KEYWORD2>GROUP</KEYWORD2>
			<KEYWORD2>HASSCROLLBAR</KEYWORD2>
			<KEYWORD2>HELPID</KEYWORD2>
			<KEYWORD2>ID</KEYWORD2>
			<KEYWORD2>INDEX</KEYWORD2>
			<KEYWORD2>INFORMATION</KEYWORD2>
			<KEYWORD2>KEYDOWNCHR</KEYWORD2>
			<KEYWORD2>KEYDOWNKEYCODE</KEYWORD2>
			<KEYWORD2>KEYDOWNMODIFIERS</KEYWORD2>
			<KEYWORD2>LANGUAGE</KEYWORD2>
			<KEYWORD2>LEFTALIGN</KEYWORD2>
			<KEYWORD2>LEFTANCHOR</KEYWORD2>
			<KEYWORD2>LONGDATEFORMAT</KEYWORD2>
			<KEYWORD2>MAX</KEYWORD2>
			<KEYWORD2>MAXCHARS</KEYWORD2>
			<KEYWORD2>MEASUREMENTSYSTEM</KEYWORD2>
			<KEYWORD2>MENUID</KEYWORD2>
			<KEYWORD2>MIN</KEYWORD2>
			<KEYWORD2>LOCALE</KEYWORD2>
			<KEYWORD2>MINUTESWESTOFGMT</KEYWORD2>
			<KEYWORD2>MODAL</KEYWORD2>
			<KEYWORD2>MULTIPLELINES</KEYWORD2>
			<KEYWORD2>NAME</KEYWORD2>
			<KEYWORD2>NOCOLORTABLE</KEYWORD2>
			<KEYWORD2>NOCOMPRESS</KEYWORD2>
			<KEYWORD2>NOFRAME</KEYWORD2>
			<KEYWORD2>NONEDITABLE</KEYWORD2>
			<KEYWORD2>NONEXTENDED</KEYWORD2>
			<KEYWORD2>NONUSABLE</KEYWORD2>
			<KEYWORD2>NOSAVEBEHIND</KEYWORD2>
			<KEYWORD2>NUMBER</KEYWORD2>
			<KEYWORD2>NUMBERFORMAT</KEYWORD2>
			<KEYWORD2>NUMERIC</KEYWORD2>
			<KEYWORD2>PAGESIZE</KEYWORD2>
			<KEYWORD2>RECTFRAME</KEYWORD2>
			<KEYWORD2>RIGHTALIGN</KEYWORD2>
			<KEYWORD2>RIGHTANCHOR</KEYWORD2>
			<KEYWORD2>ROWS</KEYWORD2>
			<KEYWORD2>SAVEBEHIND</KEYWORD2>
			<KEYWORD2>SEARCH</KEYWORD2>
			<KEYWORD2>SCREEN</KEYWORD2>
			<KEYWORD2>SELECTEDBITMAPID</KEYWORD2>
			<KEYWORD2>SINGLELINE</KEYWORD2>
			<KEYWORD2>THUMBID</KEYWORD2>
			<KEYWORD2>TRANSPARENTINDEX</KEYWORD2>
			<KEYWORD2>TIMEFORMAT</KEYWORD2>
			<KEYWORD2>UNDERLINED</KEYWORD2>
			<KEYWORD2>USABLE</KEYWORD2>
			<KEYWORD2>VALUE</KEYWORD2>
			<KEYWORD2>VERTICAL</KEYWORD2>
			<KEYWORD2>VISIBLEITEMS</KEYWORD2>
			<KEYWORD2>WARNING</KEYWORD2>
			<KEYWORD2>WEEKSTARTDAY</KEYWORD2>

			<KEYWORD2>FONT</KEYWORD2>
			<!-- FONT ID -->
			<KEYWORD2>TRANSPARENT</KEYWORD2>

			<KEYWORD3>BEGIN</KEYWORD3>
			<KEYWORD3>END</KEYWORD3>

			<!-- Language constructs (24) -->
			<KEYWORD4>#include</KEYWORD4>
			<KEYWORD4>#define</KEYWORD4>
			<KEYWORD4>equ</KEYWORD4>
			<KEYWORD4>#undef</KEYWORD4>
			<KEYWORD4>#ifdef</KEYWORD4>
			<KEYWORD4>#ifndef</KEYWORD4>
			<KEYWORD4>#else</KEYWORD4>
			<KEYWORD4>#endif</KEYWORD4>

			<KEYWORD4>package</KEYWORD4>
			<!-- syn region pilrcInclude start="public class" end="}" -->

		</KEYWORDS>
	</RULES>

	<RULES SET="RCP_LITERAL" ESCAPE="\" DEFAULT="LITERAL1">
		<MARK_FOLLOWING TYPE="KEYWORD3">$</MARK_FOLLOWING>
		<SEQ TYPE="LITERAL1">\</SEQ>
		<SEQ TYPE="LITERAL1">=</SEQ>
		<SEQ TYPE="LITERAL1">!</SEQ>
		<SEQ TYPE="LITERAL1">=</SEQ>
		<SEQ TYPE="LITERAL1">+</SEQ>
		<SEQ TYPE="LITERAL1">-</SEQ>
		<SEQ TYPE="LITERAL1">/</SEQ>
		<SEQ TYPE="LITERAL1">*</SEQ>
		<SEQ TYPE="LITERAL1">%</SEQ>
		<SEQ TYPE="LITERAL1">|</SEQ>
		<SEQ TYPE="LITERAL1">^</SEQ>
		<SEQ TYPE="LITERAL1">~</SEQ>
		<SEQ TYPE="LITERAL1">.</SEQ>
		<SEQ TYPE="LITERAL1">}</SEQ>
		<SEQ TYPE="LITERAL1">{</SEQ>
		<SEQ TYPE="LITERAL1">,</SEQ>
		<SEQ TYPE="LITERAL1">;</SEQ>
		<SEQ TYPE="LITERAL1">]</SEQ>
		<SEQ TYPE="LITERAL1">[</SEQ>
		<SEQ TYPE="LITERAL1">?</SEQ>
		<SEQ TYPE="LITERAL1">@</SEQ>
		<SEQ TYPE="LITERAL1">:</SEQ>
		<SEQ TYPE="LITERAL1">)</SEQ>
		<SEQ TYPE="LITERAL1">'</SEQ>
	</RULES>
</MODE>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy