Re: Quick Survey: When running script in leojs, where should the 'vscode' object be accessible?

2023-09-02 Thread Thomas Passin
Leo's g, c, and p objects all belong to Leo, not Python or PyQt.  if the 
vscode object belongs to the codebase outside of leojs, I think that 
g.app.vscode would be more appropriate and easier to use as a reminder of 
who vscode belongs to.

On Saturday, September 2, 2023 at 9:49:43 PM UTC-4 Félix wrote:

> Not sure what to decide for this so I thought of doing this quick survey! 
> :)
>
> When running scripts, (CTRL+B) Leo offers the g, c and p variables. I 
> obviously want to expose the vscode API from it's base object "vscode".
>
> Should it be top-level along with c, g and p? or, be located at:
>
> g.vscode
>
> or 
>
> g.app.vscode
>
> Thanks! 
>
> Félix
>

-- 
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/bd9d619d-2e2a-4ff8-a813-e248a4bf7083n%40googlegroups.com.


Quick Survey: When running script in leojs, where should the 'vscode' object be accessible?

2023-09-02 Thread Félix
Not sure what to decide for this so I thought of doing this quick survey! :)

When running scripts, (CTRL+B) Leo offers the g, c and p variables. I 
obviously want to expose the vscode API from it's base object "vscode".

Should it be top-level along with c, g and p? or, be located at:

g.vscode

or 

g.app.vscode

Thanks! 

Félix

-- 
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/676b6211-42bf-4f51-bd48-f9b513ee3d5cn%40googlegroups.com.


Help needed with understanding @others vs @all directives

2023-09-02 Thread Félix
Hi all! :)

I've never used the @all directive and I'd like to test it properly with 
both Leo and LeoJS.

If you happen to be familiar with those two directives, would you be kind 
enough to make a Leo file that showcases one or two @file nodes that 'demo' 
the usage (and difference in output) those two directives can produce?

*(the documentation talk about a '"leoProjects.txt" file that would show 
the usage but it's not part of Leo anymore from what I can see)*

I would need a small (smallest possible content that still shows the 
principle of the directives in question) sample Leo file that showcases 
those two directives.

Thanks to whoever reads this and decides to make such a file and upload it 
in his response! 

Félix

-- 
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/1ebad0f0-c007-4314-9012-83f2120a597dn%40googlegroups.com.