aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/examples/x.tcl.styled
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-01-29 21:48:14 +1100
committerNeil <nyamatongwe@gmail.com>2019-01-29 21:48:14 +1100
commit06a3fcba8e3282aa52f90cbf6f2d1aad947a600c (patch)
tree5f0de56a5400d6d5875a13515b5ea8b9133c3ad2 /test/examples/x.tcl.styled
parent16c6d58b93c8afa3391b63234ead3fc5318b2f48 (diff)
downloadscintilla-mirror-06a3fcba8e3282aa52f90cbf6f2d1aad947a600c.tar.gz
Add unit test for Tcl lexer.
Diffstat (limited to 'test/examples/x.tcl.styled')
-rw-r--r--test/examples/x.tcl.styled8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/examples/x.tcl.styled b/test/examples/x.tcl.styled
new file mode 100644
index 000000000..b9d419b41
--- /dev/null
+++ b/test/examples/x.tcl.styled
@@ -0,0 +1,8 @@
+{2}# tcl tests
+{0}
+{2}#simple example
+{0}
+{12}proc{0} {7}Echo_Server{0} {6}{{7}port{6}}{0} {6}{
+{0} {12}set{0} {7}s{0} {6}[{12}socket{0} {10}-server{0} {7}EchoAccept{0} {8}$port{6}]
+{0} {12}vwait{0} {7}forever{0}
+{6}}