On Mon, Oct 1, 2012 at 2:24 AM, Edward K. Ream <[email protected]> wrote:

> The only remaining question is whether calling QSyntaxHighlighter.format(n) 
> for n in range(len(c.p.b)) has any chance of being fast enough.

The original idea won't work: n is simply an index into the line being
colored, not a global index.

Otoh, this means that QSyntaxHighlighter (QSH) probably contains less
data than I thought.  It might actually be feasible to create an
instance of QSH for every node that is ever selected, say
v.highlighter.  Doing this will probably be user option, so that
people have some recourse if the GC chokes...I'll investigate later
today.  Time for some sleep ;-)

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