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

  1. <!--
  2.     Samples and Hrc Description
  3. with help of:
  4. -->
  5.  
  6. <include name="includes/baselng/asm.hrc">
  7. <include name="includes/baselng/c.hrc">
  8. <include name="includes/net/html.hrc">
  9.  
  10. <scheme name="man">
  11.    <!-- numbers -->
  12.    <include scheme="mCHexNumb">
  13.    <include scheme="mFloatNumb">
  14.    <regexp Start="/\b(0x|X[\da-fA-F]*?([^\s\W\da-fA-F]).*?)\B/i" Color0="dError">
  15.    <regexp Start="/\b([01]+b)\B/i" Color0="Green">
  16.    <regexp Start="/\b(\d[\da-fA-F]+h)\B/i" Color0="Green">
  17.    <!-- c/c++ comments -->
  18.    <regexp Start="/(\/\/.*$)/" Color0="dCommentsEx">
  19.    <block  Start="/\/\*/" End="/\*\//" Scheme="CNestComm" Color0="dComments">
  20.    <!-- firstpos comment demo -->
  21.    <regexp Start="/^(\*.*$)/" Color0="dComments">
  22.    <!-- http and eMail addresses -->
  23.    <include scheme="mNetAddresses">
  24.    <!-- block structures -->
  25.    <Block  Start='/"/' End='/"/' Scheme="PerlInterpolatedString" Color0="PlString">
  26.    <Block  Start="/\b(q(\W))/" End="/(\y2)/" Color0="PlString" Scheme="PerlInterpolatedString"
  27.            Color1="dStringsEx"  Color3="dStringsEx">
  28.    <Block  Start="/\b\M(s|(tr)|y ([^\w\s]))/x" End="/(\y3 [mgeioxcds]*)/x"
  29.            Scheme="PerlSubstBlock" Color0="PlString" Color1="dStringsEx"
  30.            Color4="dStringsEx">
  31.    <Block  Start="/<<([^\s;\x22]+)/"  End="/^(\y1)$/" Scheme="PerlInterpolatedString" Color0="PlString" Color1="PlWord" Color2="PlWord">
  32.    <block  Start="/(This is an Asm)\s*?\{/" End="/\}/" Scheme="Asm" Color1="CWord">
  33.    <block  Start="/(And C...)\s*?\{/" End="/\}/" Scheme="C" Color1="CWord">
  34.    <block  Start="/(And look here - Html)\s*?(\(\*)/" End="/(\*\))/" Scheme="Html" Color1="LtRed" Color2="LtRed" Color3="LtRed">
  35. </Scheme>
  36.