I am glad to report that numbering lines gave first result. Profiling shows that new function to mark every line in every node inside at-file tree with the corresponding number in file is pretty fast. Numbering leo/core/leoApp.py on my machine takes on average less then 18ms. Which means it can be run very often. Attached to this post is leo file containing experimental code.
I have tried to make it very portable, but perhaps I missed some hard-coded path that is valid only on my computer. If script doesn't work that should be most probable cause. In that case just find where is hard coded path and change it to your leo installation. Vitalije -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
line-numbering.leo
Description: Binary data
