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/lua/SciTE.properties | 2 ++ lexilla/test/examples/lua/x.lua | 7 +++++++ lexilla/test/examples/lua/x.lua.styled | 7 +++++++ 3 files changed, 16 insertions(+) create mode 100644 lexilla/test/examples/lua/SciTE.properties create mode 100644 lexilla/test/examples/lua/x.lua create mode 100644 lexilla/test/examples/lua/x.lua.styled (limited to 'lexilla/test/examples/lua') 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} -- cgit v1.2.3