Hi, I first came to Leo around 20 years ago when learning python and coming across literate programming. I found the @ and @c constructs very useful. I haven't used Leo for a few years, and coming back to it found that when I use them, the code is no longer colour coded in the way it used to be. I couldn't find anything in the documents, and when looking through the Leo settings discovered that in the Syntax coloring -> Default colors ->* @bool color-doc-parts-as-rest = True* this is now treated as a legacy approach - and this contains the folliwng:
False (legacy): color all @ and @doc parts with a uniform color. True: call all @ and @doc parts as reStructuredText (@language rest). For anyone else that has the same requirement, adding* @bool color-doc-parts-as-rest = False* to the myLeoSettings.leo file in a node gets the old behaviour back. Just dropping a note to the group so that I can find it the next time I google this myself - but also just hope that this feature will not end up being removed as I think it's a useful one for those who still do some experimentation with literate style programming in the noweb lighter style approach. Kind regards, Karthik -- 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/bf56e1f4-22c9-46a8-b393-ce0c54663070n%40googlegroups.com.
