From 4f1b30ebe70a6475ffeca1ce2c0dc48c8e70a5f9 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 14 Dec 2019 08:17:00 +1100 Subject: Lexilla tests. --- lexilla/test/examples/hypertext/SciTE.properties | 6 ++++++ lexilla/test/examples/hypertext/x.asp | 12 ++++++++++++ lexilla/test/examples/hypertext/x.asp.styled | 12 ++++++++++++ lexilla/test/examples/hypertext/x.html | 12 ++++++++++++ lexilla/test/examples/hypertext/x.html.styled | 12 ++++++++++++ lexilla/test/examples/hypertext/x.php | 6 ++++++ lexilla/test/examples/hypertext/x.php.styled | 6 ++++++ 7 files changed, 66 insertions(+) create mode 100644 lexilla/test/examples/hypertext/SciTE.properties create mode 100644 lexilla/test/examples/hypertext/x.asp create mode 100644 lexilla/test/examples/hypertext/x.asp.styled create mode 100644 lexilla/test/examples/hypertext/x.html create mode 100644 lexilla/test/examples/hypertext/x.html.styled create mode 100644 lexilla/test/examples/hypertext/x.php create mode 100644 lexilla/test/examples/hypertext/x.php.styled (limited to 'lexilla/test/examples/hypertext') 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 +%> + + 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}{0} +{1}{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 @@ + + + + + SinkWorld - Portability + SinkWorld - Portability + + 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}{0} +{1}{40} +{46}var{41} {46}b{41} {50}={41} {52}/abc/i{46}.test{50}({49}'abc'{50});{41} +{49}'x\ +'{41} +{1}{0} +{1}{0} + {1}{0} + {1}{0}SinkWorld - Portability{1}{0} + {2}{0}SinkWorld - Portability{2}{0} + {1}{0} +{1}{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 @@ + +\n"; +/* ?> */ +?> +forif 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}{0} {9}{0} +{18}\n"{127};{118} +{124}/* ?> */{118} +{18}?>{0} +{1}{0}for{1}{0}if{1}{0} -- cgit v1.2.3