On Mon, Oct 1, 2012 at 3:41 PM, F.S. <[email protected]> wrote: > There is a bug in the script: > > g.es_print('done: %s formats %s sec' % (n,t2-t2))
Right. The actual time for a node containing a copy of all of leoApp.py is about 0.06 sec, a huge improvement over recoloring the entire pane. > Thanks for the education for us all. You're welcome. As of the latest rev, test.leo contains two @button scripts: @button read/write color info. Select a node, then do write color info followed by read color info. If you comment out this line of read color info:: layout.setAdditionalFormats(ranges2) you will see that the text is all black, so this last line is, in fact, responsible for recoloring the entire node. Quickly! These two @button scripts will be the basis of color caching, coming soon. > However in terms of importance I would rank dabbrev much ahead of syntax > coloring. I'll look at dabbrev later today. This is the first time anyone has mentioned problems with it. 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.
