Re: fastopen changes in 6.1
Todd Whiteman <[email protected]> Thu, 03 Feb 2011 11:21:46 -0800
| Newsgroups | gmane.comp.ide.komodo.general |
|---|---|
| Message-ID | <[email protected]> |
On 11-02-03 10:47 AM, Trent Mick wrote: > Nice! > For matching on the directory part of a path... it would be nice if it > sorted those matching in the basename to the top. For example, in > http://cl.ly/0S3z0M0T1k2s0o3m302d the "__init__.py" and "iri2uri.py" > entries should (preferably) be lower than "tpl". Heya Trent, The problem with any sorting of the fast-open results is that this will remove the progressive nature of the hits... i.e. all of the hits would need to be collected first (and then sorted) before being made visible in the fastopen UI. It could be made to behave in a two-phase approach: 1) perform the progressive basename matching first (as was done in 6.0) 2) once basename searches have completed, make a second pass to match anywhere in the directory path - these results would then be shown lower down in the hit list This would mean all directory matches would be slow to show up - and they'd all show up in a rush at the end... This might be workable - you gonna submit me a patch ;) Cheers, Todd _______________________________________________ Komodo-discuss mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss