SubEthaEdit icon indicating copy to clipboard operation
SubEthaEdit copied to clipboard

[Feature Request] AppleScript as a supported language

Open georgesnow opened this issue 6 years ago • 2 comments

It would be nice to have AppleScript as an available language for syntax highlighting.

georgesnow avatar Oct 07 '19 14:10 georgesnow

AppleScript is a special beast, as the files usually are not plain text encoded so they need a convert on load and save. Also the built in apple script editor uses a lot of runtime information which currently is not available to SubEthaEdit.

Just a simple highlighting mode for text based Apple Script could be done though, if that would be helpful.

What is your specific use case here?

monkeydom avatar Oct 07 '19 14:10 monkeydom

yup, I had thought about the runtime info and realized that's kind of a pain to make request for the ability to do that.

I have noticed though if you save an AppleScript with file extension of. ".applescript" it seems to remove the encoding. And some of the plain text editors I have tried can actually manage that better. And FastScripts (which is what I use for running production scripts) intelligently understands what kind of script whether it be and ".scpt" or ".applescript" file extension.

georgesnow avatar Oct 07 '19 15:10 georgesnow