On Fri, 8 Feb 2013 16:17:37 -0600 "Edward K. Ream" <[email protected]> wrote:
> On Fri, Feb 8, 2013 at 10:11 AM, Ville M. Vainio <[email protected]> wrote: > > > Seems great. Should it be possible to import these somehow to Leo? > > > Some docs appear to be missing. leoSettings.leo gives examples of > language-specific syntax coloring. See the tree:: > > leoSettings.leo#@settings-->Colorizer & colors-->Syntax colors & > options-->Language-specific colors I think the issue here is supporting color schemes which are not language specific. This is the way other editors do it and probably not too much of a reach for Leo. The language definition defines how, for a particular language, the following are identified syntactically: comment string literal character literal regex keyword constant macro verbatim heading subheading link operator integer float function definition class definition etc. etc. and the color scheme provides colors (boldness etc) for those things. not all of the classes above apply to all languages, but most can be fitted into the list (not complete above) without too much trouble. Then colors are a user preference which can follow the user between languages. Cheers -Terry -- 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 http://groups.google.com/group/leo-editor?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
