diff options
Diffstat (limited to 'lexilla/test/examples/hypertext')
-rw-r--r-- | lexilla/test/examples/hypertext/SciTE.properties | 6 | ||||
-rw-r--r-- | lexilla/test/examples/hypertext/x.asp | 12 | ||||
-rw-r--r-- | lexilla/test/examples/hypertext/x.asp.styled | 12 | ||||
-rw-r--r-- | lexilla/test/examples/hypertext/x.html | 12 | ||||
-rw-r--r-- | lexilla/test/examples/hypertext/x.html.styled | 12 | ||||
-rw-r--r-- | lexilla/test/examples/hypertext/x.php | 6 | ||||
-rw-r--r-- | lexilla/test/examples/hypertext/x.php.styled | 6 |
7 files changed, 66 insertions, 0 deletions
diff --git a/lexilla/test/examples/hypertext/SciTE.properties b/lexilla/test/examples/hypertext/SciTE.properties new file mode 100644 index 000000000..9d34ee95a --- /dev/null +++ b/lexilla/test/examples/hypertext/SciTE.properties @@ -0,0 +1,6 @@ +lexer.*=hypertext +keywords.*=b body content head href html link meta \ +name rel script strong title type xmlns +keywords2.*=function +keywords3.*=sub + diff --git a/lexilla/test/examples/hypertext/x.asp b/lexilla/test/examples/hypertext/x.asp new file mode 100644 index 000000000..a78acdc34 --- /dev/null +++ b/lexilla/test/examples/hypertext/x.asp @@ -0,0 +1,12 @@ +<%@language=javas%> +<% +#include +function x() { +} +%> +<%@language=vbscript%> +<% +sub x 'comment +%> +<head> +<body></body> diff --git a/lexilla/test/examples/hypertext/x.asp.styled b/lexilla/test/examples/hypertext/x.asp.styled new file mode 100644 index 000000000..920c6380d --- /dev/null +++ b/lexilla/test/examples/hypertext/x.asp.styled @@ -0,0 +1,12 @@ +{15}<%@{16}language=javas{15}%>{0} +{15}<%{56} +#{61}include{56} +{62}function{56} {61}x{65}(){56} {65}{{56} +{65}}{56} +{15}%>{0} +{15}<%@{16}language=vbscript{15}%>{0} +{15}<%{81} +{84}sub{81} {86}x{81} {82}'comment {81} +{15}%>{0} +{1}<head>{0} +{1}<body></body>{0} diff --git a/lexilla/test/examples/hypertext/x.html b/lexilla/test/examples/hypertext/x.html new file mode 100644 index 000000000..caebcf41a --- /dev/null +++ b/lexilla/test/examples/hypertext/x.html @@ -0,0 +1,12 @@ +<html xmlns="http://www.w3.org/1999/xhtml"> +<script type="text/javascript"> +var b = /abc/i.test('abc'); +'x\ +</t>' +</script> +<head> + <meta name="Date.Modified" content="20010515" /> + <title>SinkWorld - Portability</title> + <unknown>SinkWorld - Portability</unknown> + <link rel="stylesheet" type="text/css" href="SW.css"> +</head> diff --git a/lexilla/test/examples/hypertext/x.html.styled b/lexilla/test/examples/hypertext/x.html.styled new file mode 100644 index 000000000..3e50a1147 --- /dev/null +++ b/lexilla/test/examples/hypertext/x.html.styled @@ -0,0 +1,12 @@ +{1}<html{8} {3}xmlns{8}={6}"http://www.w3.org/1999/xhtml"{1}>{0} +{1}<script{8} {3}type{8}={6}"text/javascript"{1}>{40} +{46}var{41} {46}b{41} {50}={41} {52}/abc/i{46}.test{50}({49}'abc'{50});{41} +{49}'x\ +</t>'{41} +{1}</script>{0} +{1}<head>{0} + {1}<meta{8} {3}name{8}={6}"Date.Modified"{8} {3}content{8}={6}"20010515"{8} {11}/>{0} + {1}<title>{0}SinkWorld - Portability{1}</title>{0} + {2}<unknown>{0}SinkWorld - Portability{2}</unknown>{0} + {1}<link{8} {3}rel{8}={6}"stylesheet"{8} {3}type{8}={6}"text/css"{8} {3}href{8}={6}"SW.css"{1}>{0} +{1}</head>{0} diff --git a/lexilla/test/examples/hypertext/x.php b/lexilla/test/examples/hypertext/x.php new file mode 100644 index 000000000..bc7302d85 --- /dev/null +++ b/lexilla/test/examples/hypertext/x.php @@ -0,0 +1,6 @@ +<head> <!-- About to script --> +<?php +echo "<!-- -->\n"; +/* ?> */ +?> +<strong>for</strong><b>if</b> diff --git a/lexilla/test/examples/hypertext/x.php.styled b/lexilla/test/examples/hypertext/x.php.styled new file mode 100644 index 000000000..fb90ba06e --- /dev/null +++ b/lexilla/test/examples/hypertext/x.php.styled @@ -0,0 +1,6 @@ +{1}<head>{0} {9}<!-- About to script -->{0} +{18}<?php{118} +echo {119}"<!-- -->\n"{127};{118} +{124}/* ?> */{118} +{18}?>{0} +{1}<strong>{0}for{1}</strong><b>{0}if{1}</b>{0} |