home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
con2v766.zip
/
colore01.zip
/
includes
/
_defines
/
_defines.hrc
< prev
next >
Wrap
Text File
|
2000-08-23
|
3KB
|
73 lines
<!--
Copyright (c) Cail Lomecb (Igor Ruskih) 1999-2000 <ruiv@uic.nnov.ru>
This and any other HRC file is part of colorer library.
You can use, modify, distribute this code or any other part
of colorer library in sources or in binaries only according
to Colorer License (see /doc/(rus/)?license.txt for more information).
shared macroses
-->
<scheme name="default">
</scheme>
<scheme name="mCHexNumb">
<RegExp Start="/\b (0x|X[\da-fA-F]+) ([UuLl]+|(i64)|(i128))? \B/x"
Color0="dNumbHex" Color1="dNumSuffix">
</scheme>
<scheme name="mCString">
<RegExp Start='/("((\\.)|[^\\"])*")/' Color0="dStrings">
</scheme>
<scheme name="mFloatNumb">
<RegExp Start="/\c(\d*\.?\d+(e|E[\-+]?\d+)?)([lLfF]?)\B/"
Color0="dNumbers" Color2="dNumSuffix">
</scheme>
<scheme name="mDecNumb">
<RegExp Start="/\b(\d+)(([UuLl]+)|(i64)|(i128))?\B/"
Color0="dNumbDec" Color1="dNumSuffix">
</scheme>
<scheme name="mApost">
<RegExp Start="/\w(')[DLSTMdstml]/" Color0="dStrings">
</scheme>
<scheme name="mStdStr">
<RegExp Start='/(".*?")/' Color0="dStrings">
<RegExp Start="/('.*?')/" Color0="dStrings">
</scheme>
<scheme name="mNetAddresses">
<!-- Inet address (URL) -->
<RegExp Start="/\b((((https?)|(ftp)|(news)|(nntp)|(wais)|(wysiwyg)|(gopher)|(javascript)|(castanet)|(about))\:\/\/)|((www)|(ftp)|(news)|(fido)[0-9]*\.)[\w\.\/\\\~\?\-=_#&]+)\M\W|$/i" Prior="Low" Color0="dHttp" Prior="Low">
<!-- Mail address -->
<RegExp Start="/((\cmailto\s*\:\s*)?(\<?)[\w\.\~\-_#]+@[\w\.\~\-_#]+)(\>?)/"
Color0="dEMail" Color2="dStrings" Color3="dStrings" Prior="Low">
<!-- FTN address -->
<RegExp Start="/\b((\d+\:)?\d+\/\d+(\.\d+)?(@[\w\.]+)?)\M\W|$/"
Color0="dEMail" Prior="Low">
<!--RegExp Start="/\b((\d+\:)?\d+\/\d+(.\d+)?(@[\w\.]+)?)\M\W|$/"
Color0="dEMail" Prior="Low"-->
</scheme>
<scheme name="mPath">
<!-- Full path -->
<RegExp Start="/((([A-Za-z]\:)|([\w_~\-\.`'!@#&\$\^\{\}]*\\))[\w_~\-\\\.`'!@#&\$\^\{\}]+)/" Color0="dPath">
<!-- File name only -->
<RegExp Start="/([A-Za-z0-9_~\-`'!#&\$\^\{\}]+\.[A-Za-z0-9_~\-`'!@#&\$\^\{\}]{1,5})/" Color0="dPath">
</scheme>
<scheme name="Comment">
<!-- Please, don't laugh - it is almost empty! -->
<!-- just add http and e-mail colorization -->
<RegExp Start="/\c((mailto\s*\:\s*)?(\<?)[\w\.\~\-_#]+@[\w\.\~\-_#]+)(\>?)/"
Color0="dEMail" Color2="dStrings" Color3="dStrings" Prior="Low">
</scheme>
<scheme name="CNestComm">
<include scheme="Comment">
<block start="/(\/\*)/" end="/(\*\/)/" scheme="CNestComm" color0="dComments">
</scheme>