I'll admit I have not scripted Leo at all, and have only used it sparingly as an editor/organizer because of oddities in autosave..
But why in all the world is a function called 'es' [I presume g means global scope] something that prints to the log window? Why is it not named something intuitive? g.writelog ; g.print g.log something; but 'es' ? What does 'es' mean? Mike On Tue, Jan 2, 2024, 18:16 Félix <felixgra...@gmail.com> wrote: > Hi Thomas! :) > > I gather that by an 'Output window' you mean the LeoJS Log Window? (The > equivalent of Leo's Log Window) > [image: log_pane.png] > > Using *console.log (*which is indeed the equivalent of python's *print > *function, > which prints in the terminal instead of Leo's Log Window), will itself > indeed print in the developer's-tools-terminal. (not recommended) > > What I recommend in contrast, is the *g.es <http://g.es> *function (and > other 'g' methods like es_print, etc.) which does print in the Log Window. > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CAN%2B%2B4hFu3zMMLS4Q_D-zdce%3Dyxmz9tegT5CP-%3D3SpHmYc%2BTK_A%40mail.gmail.com.