~leo-editor-team/leo-editor/trunk3

« back to all changes in this revision

Viewing changes to leo/doc/leoNotes.txt

  • Committer: edreamleo at gmail
  • Date: 2014-02-05 13:01:59 UTC
  • Revision ID: edreamleo@gmail.com-20140205130159-7t2lfl53oexys6ld
retired vc.print_stats and fixed a spelling typo

Show diffs side-by-side

added added

removed removed

Lines of Context:
12824
12824
    '''Scan xml text.'''
12825
12825
    scanner = xmlScanner(importCommands=self,atAuto=atAuto)
12826
12826
    return scanner.run(s,parent)
 
12827
.. @+node:ekr.20140109214515.16631: *4* vc.print_stats
 
12828
def print_stats(self):
 
12829
    '''Print important stats.'''
 
12830
    trace = False and not g.unitTesting
 
12831
    vc = self
 
12832
    if trace:
 
12833
        g.trace(vc.root and vc.root.h or 'No root')
 
12834
        g.trace('scanned: %3s' % vc.n_nodes_scanned)
 
12835
        g.trace('moved:   %3s' % (
 
12836
            len( vc.global_bare_organizer_node_list) +
 
12837
            len(vc.work_list)))
12827
12838
.. @-all
12828
12839
.. @-leo