How to access the Editor object in the SDK?

Hi,

I’m trying to migrate an old TP2 script to FoldingText. I’ve opened the SDK with the debug mode editor. Is there a way to access the Editor object from the SDK console? It would be very useful to be able to test.

If this is not possible then how can I test my AppleScript?

thanks

One way to do it is documented at Software Development Kit > Documentation > Create Scripts > Debugging Scripts (at bottom of page). The basic idea is put a debugger statement into your script, run it, and then the debugger will break on that statement.