aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexilla/test/examples/lua
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-12-14 08:17:00 +1100
committerNeil <nyamatongwe@gmail.com>2019-12-14 08:17:00 +1100
commit4f1b30ebe70a6475ffeca1ce2c0dc48c8e70a5f9 (patch)
treec2cb66991d89802a7a8b18bde9aa486da5fc9614 /lexilla/test/examples/lua
parent651e4b440ad3019a63b10d972ee36a296020e2c8 (diff)
downloadscintilla-mirror-4f1b30ebe70a6475ffeca1ce2c0dc48c8e70a5f9.tar.gz
Lexilla tests.
Diffstat (limited to 'lexilla/test/examples/lua')
-rw-r--r--lexilla/test/examples/lua/SciTE.properties2
-rw-r--r--lexilla/test/examples/lua/x.lua7
-rw-r--r--lexilla/test/examples/lua/x.lua.styled7
3 files changed, 16 insertions, 0 deletions
diff --git a/lexilla/test/examples/lua/SciTE.properties b/lexilla/test/examples/lua/SciTE.properties
new file mode 100644
index 000000000..ae8c7ab91
--- /dev/null
+++ b/lexilla/test/examples/lua/SciTE.properties
@@ -0,0 +1,2 @@
+lexer.*.lua=lua
+keywords.*.lua=function end
diff --git a/lexilla/test/examples/lua/x.lua b/lexilla/test/examples/lua/x.lua
new file mode 100644
index 000000000..cfa3537b5
--- /dev/null
+++ b/lexilla/test/examples/lua/x.lua
@@ -0,0 +1,7 @@
+--[[ coding:UTF-8
+comment ]]
+function first()
+::開::
+ -- Comment
+ func(SCI_ANNOTATIONSETTEXT, 'a', 0, "LINE1")
+end
diff --git a/lexilla/test/examples/lua/x.lua.styled b/lexilla/test/examples/lua/x.lua.styled
new file mode 100644
index 000000000..0c8f76fa4
--- /dev/null
+++ b/lexilla/test/examples/lua/x.lua.styled
@@ -0,0 +1,7 @@
+{1}--[[ coding:UTF-8
+comment ]]{0}
+{5}function{0} {11}first{10}(){0}
+{20}::開::{0}
+ {2}-- Comment
+{0} {11}func{10}({11}SCI_ANNOTATIONSETTEXT{10},{0} {7}'a'{10},{0} {4}0{10},{0} {6}"LINE1"{10}){0}
+{5}end{0}