Hi Benjamin

Well, the indexing is not particularly complex.  The user selects the
documentation root directory of the local installation, and then I search
from there downwards for a variety of file types (.html,.lzx,.txt) and
indexes each word in those files.  A tally is kept of the frequency with
which each word occurs in a particular file.  

Once the indexing is finished, when the reference window is made aware of
the currently selected element, the reference window displays the list of
files where that word occurs (ordered in descending order by frequency). 
The list is a list of hyperlinks - when a link is clicked the selected file
is opened with the the default browser.  This way I do not have to
incorporate any of the actual Laszlo documentatation within the IDE (in case
Laszlo would object on grounds of copyright infringement)

Bernard



Benjamin Shine wrote:
> 
> 
> Can you share your mechanism for indexing the laszlo documentation?
> 
> 

-- 
View this message in context: 
http://www.nabble.com/new-visual-IDE-tf4821075.html#a13875162
Sent from the OpenLaszlo - User mailing list archive at Nabble.com.

Reply via email to