home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / con2v766.zip / colore01.zip / includes / config / config.hrc < prev    next >
Text File  |  2000-08-22  |  2KB  |  62 lines

  1. <!--
  2.     Config Files
  3. With help of:
  4.     Vladimir Tarasov <tsoftgroup@chat.ru>
  5.     Safin Timur <timur@lanit.ru>
  6. -->
  7.  
  8. <Scheme Name="mConfCore">
  9.    <Include Scheme="mNetAddresses">
  10.    <!-- Path -->
  11.    <RegExp Start="/\c(\\\\[\w\-\.\\\~\s]*)/" Color0="dStrings">
  12.    <RegExp Start="/\b([A-Za-z]\:\\[\w\-\.\\\~\s]*)/" Color0="dStrings">
  13.    <RegExp Start="/(\%[\w\.]+\%)/" Color0="dStringsEx">
  14.    <RegExp Start="/(\{[\da-fA-F]{8}\-[\da-fA-F]{4}\-[\da-fA-F]{4}\-[\da-fA-F]{4}\-[\da-fA-F]{12}\})/" Color0="dNumbers">
  15.    <KeyWords MatchCase="False" Color="dSymbols">
  16.       <!--Symb Name="."-->
  17.       <Symb Name=",">
  18.    </KeyWords>
  19. </Scheme>
  20.  
  21. <Scheme Name="mConfCommon">
  22.    <!-- Linear Comments -->
  23.    <Block Start="/([;\#]|(\/\/))/" End="/$/" Scheme="Comment" Color0="dComments">
  24.  
  25.    <Include Scheme="mConfCore">
  26. </Scheme>
  27.  
  28. <Scheme Name="mConfStrings">
  29.     <!-- Strings -->
  30.     <Block  Start="/'/" End="/'|$/" Scheme="ConfString" Color0="dStrings">
  31.     <Block  Start='/"/' End='/"|$/' Scheme="ConfString" Color0="dStrings">
  32. </Scheme>
  33.  
  34. <Scheme Name="ConfString">
  35.    <Include Scheme="mConfCore">
  36.    <RegExp Start='/("")/' Color0="dCommentsEx">
  37.    <RegExp Start='/(\\")/' Color0="dCommentsEx">
  38. </Scheme>
  39.  
  40. <Scheme Name="ConfRight">
  41.     <Include Scheme="mConfStrings">
  42.     <!-- Numbers -->
  43.     <!--Timur: Hack just for ignore 'pseudo' hex digits as "Add", "dbf" etc..-->
  44.     <RegExp Start="/\b(([A-Fa-f]+[^\d])?!(0x|X)?[\da-fA-F]+)\B/" Color0="dNumbers">
  45.  
  46.     <Include Scheme="mConfCommon">
  47.  
  48.     <KeyWords MatchCase="False" Color="dCommentsEx">
  49.        <Word Name="DWord">
  50.        <Word Name="Hex">
  51.     </KeyWords>
  52. </Scheme>
  53.  
  54. <Scheme Name="Config">
  55.     <Include Scheme="mConfCommon">
  56.     <RegExp Start='/^\s*(\[.*?\])/' Color0="dCommentsEx">
  57.     <!-- Apache conf stuff -->
  58.     <RegExp Start='/^\s*(\<.*?\>)\s*$/' Color0="dCommentsEx">
  59.     <Block  Start="/(=)/" End="/^ | ([^\\]?#1) $/x" Scheme="ConfRight" Color1="dSymbols">
  60.     <Include Scheme="mConfStrings">
  61. </Scheme>
  62.