Merge lp://staging/~koschmieder/zim/zim into lp://staging/~jaap.karssenberg/zim/pyzim
Proposed by
Lukas M. Koschmieder
Status: | Needs review |
---|---|
Proposed branch: | lp://staging/~koschmieder/zim/zim |
Merge into: | lp://staging/~jaap.karssenberg/zim/pyzim |
Diff against target: |
379 lines (+375/-0) 1 file modified
zim/plugins/quicksearch.py (+375/-0) |
To merge this branch: | bzr merge lp://staging/~koschmieder/zim/zim |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jaap Karssenberg | Disapprove | ||
Review via email: mp+257936@code.staging.launchpad.net |
Description of the change
My Zim plugin which is inspired by Tomboy/Gnote and provides a search pane which shows results as you type.
To post a comment you must log in.
Unmerged revisions
- 758. By Lukas M. Koschmieder
-
Added plug-in
Hi Lukas,
I'm very sorry, but I'm afraid I cannot accept this functionality in it's current form. The big problem I see is that you implement your own search method, rather than re-using the search module and the logic from the dialog. Specifically you load all pages in memory and then search on that - this will break when you have a large notebook on a small computer. The search module in zim uses the cached index and greps through pages one by one (the speed of the grep is still to be improved - I'm planning for that).
My suggestion would be that you make a new version where you re-use the widgets from the search dialog and embed these in the pane. This is trivial. Then you make any improvements for the interface on those widgets, such that both the dialog and the embedded pane benefit.
Regards,
Jaap