<?xml version="1.0"?>
<!DOCTYPE hrc PUBLIC "-//Cail Lomecb//DTD Colorer HRC take5//EN"
  "http://colorer.sf.net/2003/hrc.dtd">
<hrc version="take5" xmlns="http://colorer.sf.net/2003/hrc"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://colorer.sf.net/2003/hrc http://colorer.sf.net/2003/hrc.xsd">
<!--
    Java properties
with help of:
    Vlad Dutov <vladonmailru@mail.ru>
    Konstantin Stupnik <skv@sh.novosoft.ru>
    cail: some fixes with multyline properties
-->
   <type name="javaProperties" access="public">

      <import type="def"/>

      <scheme name="javaProperties">
<!--Comments -->
         <block start="/^([\!\#])/" end="/$/" scheme="javaProperty" region="Comment" region00="Comment"/>
         <block start="/^\s*((?{Outlined}\S+?))\s*([\s=:])/" end="/(^ | [^\\]?#1) $/x" scheme="javaProperty" region01="String" region02="Symbol"/>
         <regexp match="/^\s*(.+?)\s*$/" region="String"/>
      </scheme>

      <scheme name="javaProperty">
         <regexp match="/\\\\/" region="String"/>
         <regexp match="/\\u[\da-fA-F]+/i" region="String"/>
<!-- Inet address  (just let be)-->
         <inherit scheme="NetAddresses"/>
<!-- Date, Time -->
         <inherit scheme="Date"/>
         <inherit scheme="Time"/>
         <keywords region="Symbol">
            <symb name=";"/>
            <symb name="="/>
            <symb name="+"/>
            <symb name="-"/>
            <symb name="/"/>
            <symb name="*"/>
            <symb name="&amp;"/>
            <symb name="|"/>
            <symb name="^"/>
            <symb name="("/>
            <symb name=")"/>
            <symb name="["/>
            <symb name="]"/>
            <symb name=","/>
            <symb name="."/>
            <symb name=":"/>
            <symb name="!"/>
            <symb name="~"/>
            <symb name="&lt;"/>
            <symb name="&gt;"/>
            <symb name="%"/>
            <symb name="{"/>
            <symb name="}"/>
            <symb name="?"/>
            <symb name="_"/>
         </keywords>
<!-- Java Date -->
         <keywords ignorecase="yes" region="CommentContent">
            <word name="Mon"/>
            <word name="Tue"/>
            <word name="Wed"/>
            <word name="Thu"/>
            <word name="Fri"/>
            <word name="Sat"/>
            <word name="Sun"/>
            <word name="Jan"/>
            <word name="Feb"/>
            <word name="Mar"/>
            <word name="Apr"/>
            <word name="May"/>
            <word name="Jun"/>
            <word name="Jul"/>
            <word name="Aug"/>
            <word name="Sep"/>
            <word name="Oct"/>
            <word name="Nov"/>
            <word name="Dec"/>
         </keywords>
      </scheme>

   </type>
</hrc>
