summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Gryk <gryk@uchc.edu>2021-03-11 21:47:45 +0000
committerChristian Hergert <christian@hergert.me>2021-03-11 21:47:45 +0000
commit9bac286ff1cf8be72d2eb4f5d11f1b2e398e758e (patch)
tree64935d583b3ce87022504d344c945e26f36d0d8c /tests
parentc405ecfc36065dfd6dd52593b41adca9e7fad263 (diff)
downloadgtksourceview-9bac286ff1cf8be72d2eb4f5d11f1b2e398e758e.tar.gz
star.lang: add STAR file format for scientific domains
Diffstat (limited to 'tests')
-rw-r--r--tests/syntax-highlighting/file.str23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/syntax-highlighting/file.str b/tests/syntax-highlighting/file.str
new file mode 100644
index 00000000..1fcc4087
--- /dev/null
+++ b/tests/syntax-highlighting/file.str
@@ -0,0 +1,23 @@
+#File level comment
+data_blockname
+ _key1 value1 #key-value pair
+ _key2
+ value2#notacomment
+
+ save_frame
+
+ loop_ # tabular data
+
+ _col1
+ _col2
+
+ value1 "valu"e2" 'O'Connor' #string rules
+;
+multi-line strings need semi-colon delimiters
+;
+ stop_ # This is NMR-STAR syntax
+
+ save_
+
+global_
+ _key1 valueGlobal