[futurebasic] QuiXample available now!

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 2003 : Group Archive : Group : All Groups

From: Alain Pastor <apastor@...>
Date: Mon, 13 Oct 2003 20:41:34 +0200
Hello,

Thanks to Staz who has given the authorization, the QuiXample plug-in 
for the FB^3 Editor is now available for download.

QuiXample is a plain-text searching tool that allows you to scan 
overcrowded nested folders with an incredible speed. It was originally 
designed to browse the Examples folder provided on the FB^3 CD.

This plug-in is Carbon only and therefore runs natively in OS X. It is 
built upon a set of tremendous file routines, my adaptation of the 
DataBrowser Carbon API and the astounding SwiftSearch routines by Jay 
Reeve.

Features:

For convenience, you can store up to 20 favorite folders to scan.

You can drag & drop folders or text to search onto the main window (in 
direct mode, the search is performed immediately after the dropping of 
the item).

You can abort a long search (for example scanning an entire hard disk).

You can sort the resulting list by file name, access path or number of 
matching occurrences.

Due to a bug, probably in the DataBrowser API, the font used for the 
display of the list can be changed only in Mac OS 9

The search can be case sensitive. It can apply on whole or partial 
word and remarks can be skipped.

The maximum length for an individual text file to scan is 8 Mb 
(theoretically).

Almost every action has a keyboard shortcut (including checking 
checkboxes).

The plug-in can be driven remotely by AppleScript (sorry no 
documentation yet).

You can select a file in the list to open it in the Editor (the window 
will scroll at the first occurrence), reveal it in the Finder, copy it 
to the Clipboard or style it with Code Styler.

You can search in FB source code files only or in any text files.

Benchmark: stupendous!

On my G4/400 in Mac OS 9, searching for the word "window" in the 
Examples folder (2523 items), 1165 files are loaded in memory and 
swiftsearched, 766 files are found matching the criteria (case 
irrelevant, partial word, don't skip remarks, FB files only) and the 
whole operation takes 4 seconds (after an initial search). The same 
search in OS X is performed in around 40 ticks (still after an initial 
search). I'd like to hear about the same test on a dual G5/2GHz.

Some parts were fine-tuned following Robert Purves' advice.

You can download the plug-in (version 1.2.2) at: 
<http://euro.futurebasic.com/download/QuiXample.sit.hqx>

Alain