On Tuesday, February 26, 2019 at 9:27:16 AM UTC-6, Josef wrote:

latex syntax coloring colors only some common latex commands, for others 
> only the first letter is colorized.
>

Rev 5e467b6 in devel completes #1088 
<https://github.com/leo-editor/leo-editor/issues/1088>. This was 
surprisingly easy to do, though some choices are debatable.  The highlights:

- Both `@language tex` and `@language latex` use leo/modes/tex.py. This 
ignores the many special cases in latex.py. I'll retain leo/modes/latex.py 
in case this choice becomes controversial.

- Only slight changes were needed to tex.py. Similar changes could be added 
to latex.py.

Let me know how this works for you.

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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/493f4c47-f351-4f6b-af2f-f2ecf5ca0d7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to