diff options
Diffstat (limited to 'tests/syntax-tests/highlighted/AppleScript/test.applescript')
-rw-r--r-- | tests/syntax-tests/highlighted/AppleScript/test.applescript | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/syntax-tests/highlighted/AppleScript/test.applescript b/tests/syntax-tests/highlighted/AppleScript/test.applescript new file mode 100644 index 00000000..f3692a84 --- /dev/null +++ b/tests/syntax-tests/highlighted/AppleScript/test.applescript @@ -0,0 +1,25 @@ +[38;2;117;113;94m--[0m[38;2;117;113;94m This is a comment[0m + +[38;2;249;38;114mproperty[0m[38;2;248;248;242m [0m[38;2;255;255;255mdefaultClientName[0m[38;2;248;248;242m [0m[38;2;248;248;242m:[0m[38;2;248;248;242m [0m[38;2;230;219;116m"[0m[38;2;230;219;116mMary Smith[0m[38;2;230;219;116m"[0m + +[38;2;249;38;114mon[0m[38;2;248;248;242m [0m[38;2;166;226;46mgreetClient[0m[38;2;248;248;242m([0m[3;38;2;253;151;31mnameOfClient[0m[38;2;248;248;242m)[0m +[38;2;248;248;242m [0m[38;2;102;217;239mdisplay dialog[0m[38;2;248;248;242m [0m[38;2;248;248;242m([0m[38;2;230;219;116m"[0m[38;2;230;219;116mHello [0m[38;2;230;219;116m"[0m[38;2;248;248;242m [0m[38;2;249;38;114m&[0m[38;2;248;248;242m nameOfClient [0m[38;2;249;38;114m&[0m[38;2;248;248;242m [0m[38;2;230;219;116m"[0m[38;2;230;219;116m![0m[38;2;230;219;116m"[0m[38;2;248;248;242m)[0m +[38;2;249;38;114mend[0m[38;2;248;248;242m greetClient[0m + + +[38;2;249;38;114mscript[0m[38;2;248;248;242m [0m[38;2;166;226;46mtestGreet[0m +[38;2;248;248;242m greetClient[0m[38;2;248;248;242m([0m[38;2;248;248;242mdefaultClientName[0m[38;2;248;248;242m)[0m +[38;2;249;38;114mend script[0m + +[38;2;102;217;239mrun[0m[38;2;248;248;242m testGreet[0m +[38;2;248;248;242mgreetClient[0m[38;2;248;248;242m([0m[38;2;230;219;116m"[0m[38;2;230;219;116mJoe Jones[0m[38;2;230;219;116m"[0m[38;2;248;248;242m)[0m + +[38;2;249;38;114mset[0m[38;2;248;248;242m [0m[38;2;255;255;255mmyList[0m[38;2;248;248;242m [0m[38;2;249;38;114mto[0m[38;2;248;248;242m [0m[38;2;248;248;242m{[0m[38;2;190;132;255m1[0m[38;2;248;248;242m,[0m[38;2;248;248;242m [0m[38;2;230;219;116m"[0m[38;2;230;219;116mwhat[0m[38;2;230;219;116m"[0m[38;2;248;248;242m,[0m[38;2;248;248;242m [0m[38;2;190;132;255m3[0m[38;2;248;248;242m}[0m +[38;2;249;38;114mset[0m[38;2;248;248;242m [0m[38;2;249;38;114mbeginning[0m[38;2;248;248;242m [0m[38;2;249;38;114mof[0m[38;2;248;248;242m myList [0m[38;2;249;38;114mto[0m[38;2;248;248;242m [0m[38;2;190;132;255m0[0m +[38;2;249;38;114mset[0m[38;2;248;248;242m [0m[38;2;249;38;114mend[0m[38;2;248;248;242m [0m[38;2;249;38;114mof[0m[38;2;248;248;242m myList [0m[38;2;249;38;114mto[0m[38;2;248;248;242m [0m[38;2;230;219;116m"[0m[38;2;230;219;116mfour[0m[38;2;230;219;116m"[0m + +[38;2;248;248;242mmyList[0m + +[38;2;249;38;114mtell[0m[38;2;248;248;242m [0m[3;38;2;166;226;46mapplication[0m[38;2;248;248;242m [0m[38;2;230;219;116m"[0m[38;2;230;219;116mTextEdit[0m[38;2;230;219;116m"[0m +[38;2;248;248;242m [0m[3;38;2;166;226;46mparagraph[0m[38;2;248;248;242m [0m[38;2;190;132;255m1[0m[38;2;248;248;242m [0m[38;2;249;38;114mof[0m[38;2;248;248;242m [0m[3;38;2;166;226;46mdocument[0m[38;2;248;248;242m [0m[38;2;190;132;255m1[0m +[38;2;249;38;114mend tell[0m |