On Sun, Mar 11, 2012 at 4:00 PM, Ville M. Vainio <[email protected]> wrote:
> On Sun, Mar 11, 2012 at 12:49 AM, Edward K. Ream <[email protected]> wrote:

> Also overall, Leo seems slower than it used to be, in syntax highlighting.

There was a recent change in this area.  It should affect only nodes
having two @language directives, although perhaps the scan for
@language directives might also be a tad slower.

I mentioned in passing that when using multiple @language directives
(so that @language directive doesn't affect descendants) it's slightly
faster to do:

@language python
@language rest

..rest text..

than:

@language rest

..rest text..

@language python

because the latter will cause recoloring on *every* keystroke while
editing the "..rest text..".

Other than this issue, I know of no changes to syntax coloring recently.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to