diff options
author | Neil <nyamatongwe@gmail.com> | 2019-12-14 08:17:00 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-12-14 08:17:00 +1100 |
commit | 4f1b30ebe70a6475ffeca1ce2c0dc48c8e70a5f9 (patch) | |
tree | c2cb66991d89802a7a8b18bde9aa486da5fc9614 /lexilla/test/examples/ruby | |
parent | 651e4b440ad3019a63b10d972ee36a296020e2c8 (diff) | |
download | scintilla-mirror-4f1b30ebe70a6475ffeca1ce2c0dc48c8e70a5f9.tar.gz |
Lexilla tests.
Diffstat (limited to 'lexilla/test/examples/ruby')
-rw-r--r-- | lexilla/test/examples/ruby/SciTE.properties | 2 | ||||
-rw-r--r-- | lexilla/test/examples/ruby/x.rb | 6 | ||||
-rw-r--r-- | lexilla/test/examples/ruby/x.rb.styled | 6 |
3 files changed, 14 insertions, 0 deletions
diff --git a/lexilla/test/examples/ruby/SciTE.properties b/lexilla/test/examples/ruby/SciTE.properties new file mode 100644 index 000000000..a4be7e9c6 --- /dev/null +++ b/lexilla/test/examples/ruby/SciTE.properties @@ -0,0 +1,2 @@ +lexer.*.rb=ruby +keywords.*.rb=class def end diff --git a/lexilla/test/examples/ruby/x.rb b/lexilla/test/examples/ruby/x.rb new file mode 100644 index 000000000..d1bb0f0a8 --- /dev/null +++ b/lexilla/test/examples/ruby/x.rb @@ -0,0 +1,6 @@ +class Demo + def test # A test + i = 1 + puts "Example" + end +end
\ No newline at end of file diff --git a/lexilla/test/examples/ruby/x.rb.styled b/lexilla/test/examples/ruby/x.rb.styled new file mode 100644 index 000000000..904d07dd3 --- /dev/null +++ b/lexilla/test/examples/ruby/x.rb.styled @@ -0,0 +1,6 @@ +{5}class{0} {8}Demo{0} + {5}def{0} {9}test{0} {2}# A test{0} + {11}i{0} {10}={0} {4}1{0} + {11}puts{0} {6}"Example"{0} + {5}end{0} +{5}end
\ No newline at end of file |