/
html.hlx
130 lines (92 loc) · 2.79 KB
/
html.hlx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
#---------------------------------------------------------------------------------
#
# Configuration file for HILEX
#
# Languague: HTML
#
# by Dvorka
#
#---------------------------------------------------------------------------------
Setup( "TRANSLATION" )
{
Output ="HTML_PAGE"; # HTML_PAGE or NO_ENCAPS or HTML_TABLE
CRLF ="FALSE"; # add CRs to output ( Unix LF, Dos CRLF )
HtmlOutput="TRUE"; # convert < to < ...
}
#---------------------------------------------------------------------------------
Setup( "ENCAPSULATION" )
{
Face_Font ="COURIER NEW";
Title ="HILEX translated source";
BaseColor ="#FFFF00";
BaseSize ="+1";
BgColor ="#000080";
}
#---------------------------------------------------------------------------------
Element( "COMMENTS" )
{
Descr="<!--((-+[^>])|([^\-]))*-+>";
Color="#C0C0C0";
Italic="TRUE";
Action="ENCAPSULATE";
}
#----------------------------------------------------------------------------------
Element( "TAGS GROUP1" )
{
Descr="<([Hh][Tt][Mm][Ll])|(/[Hh][Tt][Mm][Ll])|";
Descr="([Bb][Oo][Dd][Yy][^>]*)|(/[Bb][Oo][Dd][Yy])>";
Color="#CC0000";
Bold="TRUE";
Action="ENCAPSULATE";
}
#----------------------------------------------------------------------------------
Element( "TAGS GROUP2" )
{
Descr="<([Hh][Ee][Aa][Dd])|(/[Hh][Ee][Aa][Dd])|";
Descr="([Ff][Oo][Nn][Tt][^>]*)|(/[Ff][Oo][Nn][Tt])|";
Descr="([Cc][Ee][Nn][Tt][Ee][Rr])|(/[Cc][Ee][Nn][Tt][Ee][Rr])>";
Color="#00FFFF";
Bold="TRUE";
Action="ENCAPSULATE";
}
#----------------------------------------------------------------------------------
Element( "TAGS GROUP3" )
{
Descr="<([Tt][Ii][Tt][Ll][Ee])|(/[Tt][Ii][Tt][Ll][Ee])|";
Descr="([Bb][Rr])>";
Color="#FFFFFF";
Bold="TRUE";
Action="ENCAPSULATE";
}
#----------------------------------------------------------------------------------
Element( "TAGS GROUPIV" )
{
Descr="<([Aa][^>]*)|(/[Aa])>";
Color="#00AA00";
Bold="TRUE";
Action="ENCAPSULATE";
}
#----------------------------------------------------------------------------------
Element( "TAGS GROUP5" )
{
Descr="<([Ii][Mm][Gg][^>]*)|(/[Ii][Mm][Gg])>";
Color="#CC00CC";
Bold="TRUE";
Action="ENCAPSULATE";
}
#---------------------------------------------------------------------------------
Element( "TAGS - REST" )
{
Descr="<[^>]+>";
Color="#00FF00";
Bold="TRUE";
Action="ENCAPSULATE";
}
#---------------------------------------------------------------------------------
Element( "TEXT" )
{
Descr ="[^\n \t]";
Color="#FFFF00";
Action="ENCAPSULATE";
}
#---------------------------------------------------------------------------------