Re: Delayed loading of large nodes

2014-08-29 Thread Fidel N
Wow, this was quicker than I would have expected. Here is a question: The button will appear automatically instead of the text when the body contains 10k+ lines (or 5k maybe), right? This solution is great! Also, please consider adding also this button: b = QtGui.QPushButton('Copy body to

Re: Delayed loading of large nodes

2014-08-29 Thread Edward K. Ream
On Fri, Aug 29, 2014 at 2:44 AM, Fidel N fidelpe...@gmail.com wrote: The button will appear automatically instead of the text when the body contains 10k+ lines (or 5k maybe), right? Correct. The number of characters (not lines) in the text that will trigger this behavior will be a

Caution: rev 7151b2d refactors leoTree.select logic

2014-08-29 Thread Edward K. Ream
Rev 7151b2d completely refactors leoTree.selectHelper and its helpers, the most important code in Leo. All tests pass, and I am happily eating my own dog food. The intention was simply to reorganize the code into separate helper methods. Nevertheless, there are **no** guarantees. Please

Re: Caution: rev 7151b2d refactors leoTree.select logic

2014-08-29 Thread Edward K. Ream
On Friday, August 29, 2014 7:26:18 AM UTC-5, Edward K. Ream wrote: this refactoring should have been done 5 years ago. I am now significantly more bold in my programming now that we all use git. For example, after the committing 7151b2d, I found a way to compare the old and new code without

Incorrect text highlighted using Find commands

2014-08-29 Thread lewis
Hi Edward, Open LeoDocs.leo search for 'sphinx' Find Next: F3 it highlights sphinx correctly however when it reaches node LeoDocs.leo#Web pages--@edit html\conf.py at line 5: # sphinx-quickstart on Mon Mar 30 16:39:02 2009. find now highlights the 'inx-qu' and at line 27: # coming with

Re: Incorrect text highlighted using Find commands

2014-08-29 Thread lewis
I confirmed the highlighting problem also happens with build 7151b2dd6469 I tried a different search term. Open LeoDocs.leo search for 'matching' Find Next: F3 it highlights matching and then at node LeoDocs.leo#Leo's Documentation--Release notes--@file release_notes.txt--Previous

Re: Incorrect text highlighted using Find commands

2014-08-29 Thread lewis
The same highlighting behaviour occurs if I use the Nav tab. Maybe LeoDocs.leo is a strange document; it's @edit html\conf.py node doesn't like being interrogated :) Lewis -- You received this message because you are subscribed to the Google Groups leo-editor group. To unsubscribe from this