aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/examples/x.nim.styled
diff options
context:
space:
mode:
authorJad Altahan <xviyy@aol.com>2019-03-09 08:15:45 +1100
committerJad Altahan <xviyy@aol.com>2019-03-09 08:15:45 +1100
commit922d31d6091e4de67e71b705947faab1dda32873 (patch)
tree1691ca2f9cf2f79723711a1db6b2a3725cfab176 /test/examples/x.nim.styled
parent438e082ddfc13b439c6755d4565f03a2953af2bb (diff)
downloadscintilla-mirror-922d31d6091e4de67e71b705947faab1dda32873.tar.gz
Feature [feature-requests:#1268]. Improve the styling of numbers in Nim
Improvements for SCE_NIM_NUMBER.
Diffstat (limited to 'test/examples/x.nim.styled')
-rw-r--r--test/examples/x.nim.styled8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/examples/x.nim.styled b/test/examples/x.nim.styled
index 2753d005e..3a05c04b8 100644
--- a/test/examples/x.nim.styled
+++ b/test/examples/x.nim.styled
@@ -18,3 +18,11 @@
{3}# Style of 'customIdent' is determined by lexer.nim.raw.strings.highlight.ident. 16 if false, 6 or 10 if true
{8}let{0} {16}customDoubleLitRawStr{0} {15}={0} {16}customIdent{6}"A string\"{0}
{8}let{0} {16}customTripleLitRawStr{0} {15}={0} {16}customIdent{10}"""A triple-double raw string\""""{0}
+
+{3}# Feature #1268
+{5}10_000{0}
+{5}10{16}__000{0}
+{5}10{16}_{0}
+{5}1{15}....{5}5{0}
+{5}1{15}.{16}ident{0}
+{5}1{15}.{16}_ident{0}