aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/examples
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2013-06-29 20:33:54 +1000
committerNeil <nyamatongwe@gmail.com>2013-06-29 20:33:54 +1000
commitfd8c070255a7923c3aecaaed04ec8150caab4eaa (patch)
treecde9421dd5b9e011c59a8fa5d206d4785740a682 /test/examples
parentd9f1a1b042f9458f2d4a905f20b9547c4ac2be70 (diff)
downloadscintilla-mirror-fd8c070255a7923c3aecaaed04ec8150caab4eaa.tar.gz
Bug: [#1483]. Added a test for UTF-8 labels in Lua that would fail without fix.
Diffstat (limited to 'test/examples')
-rw-r--r--test/examples/x.lua3
-rw-r--r--test/examples/x.lua.styled3
2 files changed, 4 insertions, 2 deletions
diff --git a/test/examples/x.lua b/test/examples/x.lua
index b7879619f..cfa3537b5 100644
--- a/test/examples/x.lua
+++ b/test/examples/x.lua
@@ -1,6 +1,7 @@
---[[ Block
+--[[ coding:UTF-8
comment ]]
function first()
+::開::
-- Comment
func(SCI_ANNOTATIONSETTEXT, 'a', 0, "LINE1")
end
diff --git a/test/examples/x.lua.styled b/test/examples/x.lua.styled
index d693279ff..0c8f76fa4 100644
--- a/test/examples/x.lua.styled
+++ b/test/examples/x.lua.styled
@@ -1,6 +1,7 @@
-{1}--[[ Block
+{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}