Hello, I have the same problem. When you investigate method call order, you will see:
mod_scripting: ScriptingController.createCommonButtons -> ScriptingController.getScript -> g.getScript -> g.extractExecutableString -> *language = g.scanForAtLanguage* when in @button node is not explicitly set *@language python*, this last call returns language '*rest*' for me. Hope this help you. Milan Melena Dne středa 25. ledna 2017 3:54:04 UTC+1 lewis napsal(a): > > Interestingly I created a new @button in myLeoSettings.leo file. Not a > copied/edited button, but created from scratch. > This new button executes correctly, with output to the console. > > The old button with identical text does not work. It should perform > exactly the same function but it doesn't. > So the gnx is created and readable for a new button node, but not an > existing one? Is it possible this may be related to Goto Script query > <https://groups.google.com/forum/#!topic/leo-editor/5qFkAV4Qh8U> ? > > Lewis > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
