On Fri, Jun 19, 2020 at 5:38 AM Shakeeb <[email protected]> wrote:
> > I'm using leo in a new project with c, python and cython. Of course, c and > python and well supported in leo's with file directives, but cython is not > (except for syntax coloring, which is great!). > > Can anyone point in the right direction of the leo's code if I wanted to > add such support (which be 98% equivalent to python)? > I'm not sure what kind of support you want. As you say, Leo already supports syntax coloring for cython. Furthermore, Leo knows that cython's comments start with '#', which in turn means that @file x.pyx and @clean x.pyx will just work. As far as compiling .pyx files, you can easily write an @button script to do that. See this FAQ entry <http://leoeditor.com/FAQ.html#how-can-i-run-code-in-an-external-process>. Please feel free to ask more questions. Edward -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CAMF8tS347i1dPWXZ79WxEBqU2C0bOujq296yVsc_4oim_3JeQw%40mail.gmail.com.
