# HG changeset patch # User aziz # Date 1187727302 0 # Node ID 44fc02d1eae6d4568e88875893391fc1e0470170 # Parent 17f43b0d61069bd10f18cd0d7b5d9cb8951abcf7 - Renamed format.css to dil_xml.css. - Added dil_html.xss. diff -r 17f43b0d6106 -r 44fc02d1eae6 trunk/src/dil_html.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/trunk/src/dil_html.css Tue Aug 21 20:15:02 2007 +0000 @@ -0,0 +1,60 @@ +@charset "utf-8"; +.compilerinfo, .sourcecode { + display: block; + white-space: pre; + font-family: Monospace; + font-size: 0.8em; +} +.compilerinfo { + white-space: normal; + border: 1px solid #A22; + padding: 0.5em; + margin: 1em; +} +.compilerinfo .error { display: block; } +/* Number */ +.n { color: teal; } +/* Keyword */ +.k { color: darkblue; font-weight: bold; } +/* Line and block comments */ +.cl, .ct { color: green; } +/* Nested comments */ +.cn { color: darkgreen; } +/* Identifier */ +.i { color: black; } +/* String literal */ +.sl { color: red; } +/* Character literal */ +.cl { color: purple; } +/* All bracket types */ +.br { color: orange; } +/* Special tokens */ +.st { color: green; font-weight: bold; } +/* #line, hash line */ +.hl { color: green; } +/* filespec (e.g. #line number [filespec]) */ +.fs { color: purple;} +/* When the first line starts with #! it's a "shebang" */ +.shebang { color: gray; } +/* Operator */ +.op { color: royalblue; } +/* Particular operators */ +.opaa { content: "and"; } /*&& ∧*/ +.opoo { content: "or"; } /*|| ∨*/ +.opn { content: "¬"; } /*!*/ +.opne { content: "≠"; } /*!=*/ +.ople { content: "≤"; } /*<=*/ +.opge { content: "≥"; } /*>=*/ +.oplg { content: "≶"; } /*<>*/ + +/* +d = Declaration +s = Statement +e = Expression +t = Type +o = Other +*/ +/* .d { background-color: #FFDDDD; } */ +/* .e { background-color: #DDDDFF;} */ +.d.Module .i, .d.Import .i { color: blue; } +.t .i { color: #119; } \ No newline at end of file diff -r 17f43b0d6106 -r 44fc02d1eae6 trunk/src/dil_xml.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/trunk/src/dil_xml.css Tue Aug 21 20:15:02 2007 +0000 @@ -0,0 +1,60 @@ +@charset "utf-8"; +compilerinfo, sourcecode { + display: block; + white-space: pre; + font-family: Monospace; + font-size: 0.8em; +} +compilerinfo { + white-space: normal; + border: 1px solid #A22; + padding: 0.5em; + margin: 1em; +} +compilerinfo error { display: block; } +/* Number */ +n { color: teal; } +/* Keyword */ +k { color: darkblue; font-weight: bold; } +/* Line and block comments */ +c[t=l], c[t=b] { color: green; } +/* Nested comments */ +c[t=n] { color: darkgreen; } +/* Identifier */ +i { color: black; } +/* String literal */ +sl { color: red; } +/* Character literal */ +cl { color: purple; } +/* All bracket types */ +br { color: orange; } +/* Special tokens */ +st { color: green; font-weight: bold; } +/* #line, hash line */ +hl { color: green; } +/* filespec (e.g. #line number [filespec]) */ +fs { color: purple;} +/* When the first line starts with #! it's a "shebang" */ +shebang { color: gray; } +/* Operator */ +op { color: royalblue; } +/* Particular operators */ +op[t=aa] { content: "and"; } /*&& ∧*/ +op[t=oo] { content: "or"; } /*|| ∨*/ +op[t=n] { content: "¬"; } /*!*/ +op[t=ne] { content: "≠"; } /*!=*/ +op[t=le] { content: "≤"; } /*<=*/ +op[t=ge] { content: "≥"; } /*>=*/ +op[t=lg] { content: "≶"; } /*<>*/ + +/* +d = Declaration +s = Statement +e = Expression +t = Type +o = Other +*/ +/* d { background-color: #FFDDDD; } */ +/* e { background-color: #DDDDFF;} */ +d[t=Module] i, d[t=Import] i { color: blue; } +t i { color: #119; } \ No newline at end of file diff -r 17f43b0d6106 -r 44fc02d1eae6 trunk/src/format.css --- a/trunk/src/format.css Tue Aug 21 19:44:03 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,60 +0,0 @@ -@charset "utf-8"; -compilerinfo, sourcecode { - display: block; - white-space: pre; - font-family: Monospace; - font-size: 0.8em; -} -compilerinfo { - white-space: normal; - border: 1px solid #A22; - padding: 0.5em; - margin: 1em; -} -compilerinfo error { display: block; } -/* Number */ -n { color: teal; } -/* Keyword */ -k { color: darkblue; font-weight: bold; } -/* Line and block comments */ -c[t=l], c[t=b] { color: green; } -/* Nested comments */ -c[t=n] { color: darkgreen; } -/* Identifier */ -i { color: black; } -/* String literal */ -sl { color: red; } -/* Character literal */ -cl { color: purple; } -/* Operator */ -op { color: royalblue; } -/* All bracket types */ -br { color: orange; } -/* Special tokens */ -st { color: green; font-weight: bold; } -/* #line, hash line */ -hl { color: green; } -/* filespec (e.g. #line number [filespec]) */ -fs { color: purple;} -/* When the first line starts with #! it's a "shebang" */ -shebang { color: gray; } -/* Particular operators */ -op[t=aa] { content: "and"; } /*&& ∧*/ -op[t=oo] { content: "or"; } /*|| ∨*/ -op[t=n] { content: "¬"; } /*!*/ -op[t=ne] { content: "≠"; } /*!=*/ -op[t=le] { content: "≤"; } /*<=*/ -op[t=ge] { content: "≥"; } /*>=*/ -op[t=lg] { content: "≶"; } /*<>*/ - -/* -d = Declaration -s = Statement -e = Expression -t = Type -o = Other -*/ -/* d { background-color: #FFDDDD; } */ -/* e { background-color: #DDDDFF;} */ -d[t=Module] i, d[t=Import] i { color: blue; } -t i { color: #119; } \ No newline at end of file diff -r 17f43b0d6106 -r 44fc02d1eae6 trunk/src/main.d --- a/trunk/src/main.d Tue Aug 21 19:44:03 2007 +0000 +++ b/trunk/src/main.d Tue Aug 21 20:15:02 2007 +0000 @@ -230,7 +230,7 @@ auto xml_tags = [ // Head ``\n - ``\n + ``\n ``[], // CompBegin ``,