Execute-script in leojs

17 views
Skip to first unread message

Félix

unread,
Jun 26, 2023, 10:26:09 PM6/26/23
to leo-editor
People have asked about live scripting in leojs in the past (cant remember who exactly, perhaps Thomas, but I'm not sure)

That person inquired about javascript live scripting execution in leojs possibility.. along with the global Leo variables that are expected to be in the global script namespace / scope, such as g, p, c.

Not only is it possible, but I can now say it works perfectly fine, and, I've added the global vscode object  (see the screenshot, and check the lower right corner of that screenshot) I might also add two or three more global objects. (for the most common/useful libraries)

As I'm polishing and removing the last small bugs before release, I've had lots of fun trying this out!

script with vscode global.png

Félix

Thomas Passin

unread,
Jun 26, 2023, 10:42:23 PM6/26/23
to leo-editor
Lovely!  Felix, I have to applaud all this hard and creative work you've been doing!
Reply all
Reply to author
Forward
0 new messages