aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexilla/test/examples/lua
diff options
context:
space:
mode:
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}