-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script Buttons Should Not Be Added If Their Code Cannot Compile #84
Comments
Thanks for this. I'll look into it. The 'goto script' that does not lead to the nodes is weird... Does it also do that for newly created buttons? (with the '+ script-button' button?) Or just with buttons created upon loading the file? |
I don't know about buttons created by the "script-button" button. I know that the goto script capability works for buttons created by @button nodes. |
I'm not sure I understand this issue. I'm not aware of many of Leo's possible usage, so this might be one of those instance where someone uses Leo in a way that I'm totally unaware of... and so, I don't see what is happening from such a short issue description. Can you restate what the issue is in a much more verbose way, and provide more context, screenshots and sample file, or sample code? |
@tbpassin Oh! I see what you mean: buttons in myLeoSettings file can also be child of an at buttons (plural) to be seen in all opened files. and the goto-script should open it and focus on the button. Thanks again for this issue! :) |
Yes, just so. |
@tbpassin
|
I noticed that when I open an outline, I see buttons that I've defined in myLeoSettings.leo. But they don't work since they contain Python code that works with Leo. Also, the right-click goto Script does not work with them.
These buttons should not be shown.
The text was updated successfully, but these errors were encountered: