Faster Checkboxes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Faster Checkboxes

Noel Henson
Everyone,

Thanks to some input and testing from Matthew Pressly, I have modified
vo_checkbox.vim to be much, much faster. There is a downside and that is
that it won't properly compute values for headings that don't have the
checkbox AND percent. The new method is bottom-up computation that only
computes from the modified leaf towards the trunk. The old method is still
there and can be used at any time with ,,cz. It computes from the top down
to the leaves with recursion.

Have fun!

Noel

--

------------------------------------------------------------------
  Noel Henson
  www.noels-lab.com Chips, firmware and embedded systems
  www.vimoutliner.org Work fast. Think well.


_______________________________________________
VimOutliner mailing list
[hidden email]
http://www.lists.vimoutliner.org/mailman/listinfo

vo_checkbox.vim (14K) Download Attachment